Window ownership -> WindowTreeHost

Replaces Window::GetDispatcher with Window::GetHost().

Had to clear ScreenPositionClient property prior to window teardown as tests on desktop delete it prior to destroying the window hierarchy. Unhooking the property appears to have no ill-effect.

R=sky@chromium.org
http://crbug.com/308843

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254642 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 254642
android buildbot: Remove now-unnecessary arch translation.

Bots now pass the correct archs ("ia32", "mipsel"), so this is no longer needed.
Follow-up to r252034.

BUG=330631,344767
NOTRY=true
R=yfriedman@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254644 0039d316-1c4b-4281-b951-d872f2087c98
Updating trunk VERSION from 1870.0 to 1871.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254647 0039d316-1c4b-4281-b951-d872f2087c98
Reduce code duplication in ChromeBrowserProvider.

Also, stop catching Exception, which is bad manners.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254652 0039d316-1c4b-4281-b951-d872f2087c98
sync: Merge GU retry logic into normal GU

Moves the implementation of the GU retry get updates into the normal GU
cycle.  This should have no impact on behvaior.  The point of this
refactoring is to eliminate an instance of the GetUpdateDelegate.  I
hope to build on that interface in the future, and removing one of its
four implementations should make that work 25% easier.

This CL should retain all the same quirks as the old retry
implemenation.  The timer management is the same.  It also sends up a
special RETRY value for GetUpdatesOrigin when the only reason for
performing an update is a scheduled retry, which was the behavior of the
old code.

This CL also refactors the NudgeTracker's mangement of the
updates_source_.  The old, stateful, implementation was getting out of
hand.  The new implementation should be easier to maintain, especially
as we start to support 'partially successful' sync cycles.

BUG=339984

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254653 0039d316-1c4b-4281-b951-d872f2087c98
Fix flaky app window size constraints tests

chrome.test.waitForRoundTrip() sends a message one round trip from the
renderer to browser process and back. Many app window tests need to wait
for an API call to be executed in the browser before the new state can
be verified.

This patch also enables the app window size constraints tests.
Tests for always-on-top windows now use chrome.test.waitForRoundTrip().

BUG=None
TEST=browser_tests (AppWindowAPITest.TestSizeConstraints)

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254654 0039d316-1c4b-4281-b951-d872f2087c98
SkBitmap::Config is deprecated, switch to using SkColorType

BUG=https://code.google.com/p/skia/issues/detail?id=2239

TBR=jam@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254655 0039d316-1c4b-4281-b951-d872f2087c98
Allow user to opt out from enhanced bookmarks experiment

BUG=321393

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254658 0039d316-1c4b-4281-b951-d872f2087c98
only do linux pvalloc OutOfMemoryDeathTest on non-tcmalloc glibc builds

We only override libc's pvalloc if when using glibc and not tcmalloc
(in base/process/memory_linux.cc), and pvalloc is not always available
on uclibc, so let's use the same ifdef in the unit test.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254659 0039d316-1c4b-4281-b951-d872f2087c98
Add uma labels for appcache.UpdateJobResult.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254660 0039d316-1c4b-4281-b951-d872f2087c98
kiosk: Retry initial download/install for 5 times.

BUG=347266

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254661 0039d316-1c4b-4281-b951-d872f2087c98
Adding Overview mode started / ended observable events to the shell

Splitting my CL for the backdrop creation into smaller fragments.
This portion is adding an observable event to the shell which allows to monitor overview mode de-/activations.

BUG=337567
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254664 0039d316-1c4b-4281-b951-d872f2087c98
cc: Fix problem with missing "required for activation" signals.

We need to schedule a raster-required-for-activation-finished task
whenever no tasks required for activation were throttled. Comparing
scheduled tasks to |raster_tasks_required_for_activation_| is not
enough as that includes tasks with pending uploads.

BUG=346876

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254665 0039d316-1c4b-4281-b951-d872f2087c98
Handle NULL RenderWidget in RenderViewImpl::createPopupMenu

The Blink side is being updated to properly handle this case in
https://codereview.chromium.org/183833014/

BUG=347901

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254666 0039d316-1c4b-4281-b951-d872f2087c98
Add policy to change the default behaviour of media keys to f-keys.

For some applications of ChromeOS it is desirable that the top row of
special function keys behaves as regular F-keys per default and requires
the search key modifier to behave like they usually do. This change
wires the existing pref to a policy.

BUG=347715
TEST=browser_tests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254667 0039d316-1c4b-4281-b951-d872f2087c98
Add video capture UMA histograms: width, height, frame rate, pixel format.

This collection pertains to the real video capture
device provided width, height, framerate and pixel
format, as is given to VideoCaptureController::...
::OnIncomingCaptureBuffer(). This collection is made
on the first captured frame; after conversion and 
delivery of the converted frame, hence with less 
impact to performance.

BUG=309554

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254668 0039d316-1c4b-4281-b951-d872f2087c98
Show Android device name in paired clients list

This replaces the hard-coded "Android" string with a more descriptive
identifier such as "Nexus 7".

BUG=330899

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254669 0039d316-1c4b-4281-b951-d872f2087c98
rAc: remove handling of "supported_currencies" from wallet items response and related code.

We never used this and are not likely to in the near future.

We should not send this data across the wire as well.

R=estade@chromium.org
BUG=348268
TEST=unit_tests, compilation

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254670 0039d316-1c4b-4281-b951-d872f2087c98
Evaluate NetLog::Entry callbacks relative to each observers' log level.

Adjust a test to check this case. This doesn't handle cases where log events
only appear at a given log level because of external checks, but it will avoid
the bytes showing up everywhere.

BUG=348156

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

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