Split out the save password infobar delegate to a separate file.

BUG=341492

Review URL: https://codereview.chromium.org/157403003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249964 0039d316-1c4b-4281-b951-d872f2087c98
Make sure we only redirect in browser processes

BUG=334379

Review URL: https://codereview.chromium.org/137103009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249965 0039d316-1c4b-4281-b951-d872f2087c98
Refactor ui cocoa test support into a helper target isolated from ui/base/

That way events can reuse it. This will be necessary to move the
remaining events files from ui/base to ui/events.

BUG=299841
TEST=None
R=sadrul@chromium.org,thakis@chromium.org,ben@chromium.org

Review URL: https://codereview.chromium.org/156053005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249966 0039d316-1c4b-4281-b951-d872f2087c98
Printer registration using CDD.
The code is not enabled yet.

BUG=317027

Review URL: https://codereview.chromium.org/148203011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249967 0039d316-1c4b-4281-b951-d872f2087c98
Change 0 to False in several grit if-expressions.

Grit r150 (https://codereview.chromium.org/156443002) starts enforcing
that if-expressions must evaluate to a boolean value. To comply, we need
to make this change in a few places:

Before: <if expr="0">
After:  <if expr="False">

Review URL: https://codereview.chromium.org/133813009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249970 0039d316-1c4b-4281-b951-d872f2087c98
External component extensions should not have a context menu.

Like for normal component extensions, the context menu items make
little sense for an invisible extension the user has no control
over.

BUG=

Review URL: https://codereview.chromium.org/137823015

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249971 0039d316-1c4b-4281-b951-d872f2087c98
NaCl docs: fix a few more issues with the ARM sandbox documentation.

Fix some comments I had missed in:
  https://codereview.chromium.org/147803003/

R= binji@chromium.org, sbc@chromium.org, awatson@chromium.org, mackinlay@chromium.org
BUG= none
TEST= none
NOTRY=true
(documentation only change)

Review URL: https://codereview.chromium.org/144253005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249972 0039d316-1c4b-4281-b951-d872f2087c98
Changed LoggingRaw from pull-based to subscriber-based:
- LoggingRaw no longer keeps its own maps internally.
- LoggingRaw now keeps a list of RawEventSubscriber; these subscribers will be notified when there are new raw events.
-- Added functions AddSubscriber() / RemoveSubscriber()
- Added RawEventSubscriber, which is an interface with 3 functions, each handles a type of raw event (Frame, Packet, Generic)
- Added 3 RawEventSubscriber implementations:
-- ReceiverRtcpEventSubscriber, which keeps track of events that we want to send over via RTCP from receiver to sender, sorted by rtp timestamp, using a fixed size buffer. There is some data transformation involved.
--- This is used in VideoReceiver / AudioReceiver
-- SenderRtcpEventSubscriber, which keeps track of events that we want to send over via RTCP from sender to receiver, sorted by rtp timestamp, using a fixed size buffer. There is some data transformation involved and is slightly different from the receiver version.
--- This is used in VideoSender
-- SimpleEventSubscriber, which keeps track of all events as-is and periodically calls the given callback with the data at a fixed interval.
--- I plan to use this in JS app / uploading use case.

Other changes:
- Remove SupportsWeakPtr from LoggingRaw, as it is not needed, as LoggingRaw is used as an object in LoggingImpl only.

Proposal doc:
https://docs.google.com/a/google.com/document/d/1GUIN4ZcScnAz_QuqDhxbvp5F6BOvLBjamdW0edMC5p4/edit?disco=AAAAAHx2Ng0

Note: I talked to Herve about his logging requirements, I can draft up a subscriber implementation for that too, if you would like to see how it roughly looks like.

Review URL: https://codereview.chromium.org/139783013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249973 0039d316-1c4b-4281-b951-d872f2087c98
Split preserve3d into: "should-flatten" and "is-3d-sorted"

Preserve3d has implications for both sorting and flattening of
transforms. This is a bummer. Sometimes we want to allow a transform to
remain unflattened, but we don't want that to affect 3d sorting. With
this CL, we will have the ability to do that.

Note: this is essentially this cl
https://codereview.chromium.org/100393005/

..minus the generalizations to sorting that were being attempted in that
patch.

Note, this CL is gated on https://codereview.chromium.org/98373011/ 

R=enne@chromium.org
BUG=338980

Review URL: https://codereview.chromium.org/147833003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249974 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 166751:166755

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=166752:166755&mode=html
TBR=
BUG=

Review URL: https://codereview.chromium.org/158293002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249975 0039d316-1c4b-4281-b951-d872f2087c98
Makes FontList light-weighted introducing FontListImpl.

Like Font class has scoped_refptr<PlatformFont>, makes FontList have scoped_refptr<FontListImpl>.  FontListImpl is almost the same as the old FontList and implements all functionalities.

There are two major benefits with this CL.
1. Copying a FontList to another FontList is very quick.  It just copies a scoped_refptr.
2. Calculated font metrics are shared among all FontList instances which refer to the same FontListImpl.

In addition, this CL may fix Issue 340396.  I don't fully understand the cause yet, but it seems that copying the object in a ctor is causing the issue (It's a little tricky, but I thought it should be okay).  This CL doesn't copy the object.  So I think this CL may fix the issue.

BUG=340396
TEST=Run ui_unittests, views_unittests and unit_tests.

Review URL: https://codereview.chromium.org/148773007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249976 0039d316-1c4b-4281-b951-d872f2087c98
Update .DEPS.git

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249977 0039d316-1c4b-4281-b951-d872f2087c98
Fixed GetSupportedMimeTypes.

TBR=noamsml

Review URL: https://codereview.chromium.org/152493004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249978 0039d316-1c4b-4281-b951-d872f2087c98
Enable DefaultPopupSetting policy on Android.

BUG=340704

Review URL: https://codereview.chromium.org/131643006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249979 0039d316-1c4b-4281-b951-d872f2087c98
Default to ENFORCE_ALL when no FieldTrial is found for the SettingsEnforcement experiment.

Windows-only for now.

TBR=erikwright

Review URL: https://codereview.chromium.org/156963002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249980 0039d316-1c4b-4281-b951-d872f2087c98
Revert "Disable PluginTest.SelfDeletePluginGetUrl, PluginTest.SelfDeletePluginInvoke, PluginTest.SelfDeletePluginInvokeAlert"

This reverts commit f285290b69931ea4800c077e843348dbdedff184.

This should enable these tests again now that r249637 landed and stuck.

BUG=340806
TEST=None
TBR=glider@chromium.org,jochen@chromium.org

Review URL: https://codereview.chromium.org/158063004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249981 0039d316-1c4b-4281-b951-d872f2087c98
Omnibox: Pass Input Box Type to AutocompleteClassifier

(where possible and reasonable)

This is a resubmission of https://codereview.chromium.org/138173007/
that should have fixed the gtk compile error.


Previously, the input box type (a.k.a. current page classification)
(search results page doing search term replacement, arbitrary URL,
new tab page omnibox, new tab page fakebox, etc.) was not passed to
AutocompleteClassifier. This adds plumbing to pass the variable to
the classifier in some cases. (Some other cases I decided were too
much of a hassle to fix, and not important.)

TBR=brettw,pkasting
brettw:
for changes to chrome/browser/tab_contents/render_view_context_menu.cc
pkasting:
because he already reviewed it

BUG=265678

Review URL: https://codereview.chromium.org/157033005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249982 0039d316-1c4b-4281-b951-d872f2087c98
base: Increase emulated discardable memory limit.

Google Play Music use an image that is 34MB decoded. This image is
somehow used to raster every single tile produced by impl-side
painting and it not fitting into the cache causes raster performance
to plummet.

This increases the limit to 64MB but also makes us discard more memory
under moderate pressure so the total amount of memory used by chrome
is not significantly increased.

BUG=341323

Review URL: https://codereview.chromium.org/151483011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249983 0039d316-1c4b-4281-b951-d872f2087c98
Revert 249982 "Omnibox: Pass Input Box Type to AutocompleteClass..."

> Omnibox: Pass Input Box Type to AutocompleteClassifier
> 
> (where possible and reasonable)
> 
> This is a resubmission of https://codereview.chromium.org/138173007/
> that should have fixed the gtk compile error.
> 
> 
> Previously, the input box type (a.k.a. current page classification)
> (search results page doing search term replacement, arbitrary URL,
> new tab page omnibox, new tab page fakebox, etc.) was not passed to
> AutocompleteClassifier. This adds plumbing to pass the variable to
> the classifier in some cases. (Some other cases I decided were too
> much of a hassle to fix, and not important.)
> 
> TBR=brettw,pkasting
> brettw:
> for changes to chrome/browser/tab_contents/render_view_context_menu.cc
> pkasting:
> because he already reviewed it
> 
> BUG=265678
> 
> Review URL: https://codereview.chromium.org/157033005

TBR=mpearson@chromium.org

Review URL: https://codereview.chromium.org/158433003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249984 0039d316-1c4b-4281-b951-d872f2087c98
Revert 249967 "Printer registration using CDD."

> Printer registration using CDD.
> The code is not enabled yet.
> 
> BUG=317027
> 
> Review URL: https://codereview.chromium.org/148203011

TBR=vitalybuka@chromium.org

Review URL: https://codereview.chromium.org/150243004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249985 0039d316-1c4b-4281-b951-d872f2087c98