Allow asynchronous GPU context creation for browser clients

This moves the call to establish a GPU channel out of WGC3D.
It adds an asynchronous method to BrowserGpuChannelHostFactory
that registers callbacks that are run on the main thread once
the channel is established.

This is prerequisite work for asynchronous OutputSurface creation.

BUG=270179,125248,235300
R=piman@chromium.org

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=228777

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230261 0039d316-1c4b-4281-b951-d872f2087c98
Fix tests that depend on single-process being removed from the wrong test target for official builds.

R=anantha@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230262 0039d316-1c4b-4281-b951-d872f2087c98
Remove NOTIFICATION_WEB_CONTENTS_VISIBILITY_CHANGED from download started animations.

BUG=170921,308177
TEST=everything still works

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=228039

Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=228955

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230264 0039d316-1c4b-4281-b951-d872f2087c98
Prevent normal shortcuts from enabling sticky keys.

BUG=268818
TEST=new unit test

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230265 0039d316-1c4b-4281-b951-d872f2087c98
sync: Refactor update verification and processing

Define a new function for partitioning an update response into per-type
chunks and use it to refactor ProcessUpdateCommand's functions.

This is part of the preparation to move towards maintaining a set of
per-type objects that we can use to process updates in different ways
for different types.

This commit also updates the GetModelTypeFromSpecifics() so it no longer
reports the type of deleted items as "UNSPECIFIED".  The old behavior
was implemented in a time when the server would not set the type of
tombstone items.  The current server will always populate that
information.

BUG=278484

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230266 0039d316-1c4b-4281-b951-d872f2087c98
Gets hiding animations to work again (3)

This broke when bounds changes was consolidated into
DesktopNativeWidgetAura::OnRootWindowHostResized. We can't resize the
child layers when this happens as otherwise we're going to force a
paint of the layers and thus the views. But at this point nothing is
valid and we don't want to paint anyway.

Also removing a call to Show() early on as it may trigger animations
that we don't want. A Show() at this time is before the creator has
had a chance to turn them off.

Lastly, Widget::ShowInactive() would end up invoking SetFocus() for
DesktopNativeWidgetAura on windows. I'm changing it to not do
that. This broke a chrome_frame test.

BUG=309054
TEST=none
R=ananta@chromium.org, ben@chromium.org, grt@chromium.org
TBR=ananta@chromium.org, grt@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230267 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 230267
Consolidate serialization code in base::HistogramDeltasSerializer
Before patch code lived partially in base/ and content/

BUG=305019

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230268 0039d316-1c4b-4281-b951-d872f2087c98
Do not register pepper plugin (from command line) if it doesn't exist.

Add file path check before we register the pepper plugin. This is consistent to internally registered plugins (See ComputeBuiltInPlugins at http://goo.gl/chkhMY).

BUG=309820,307713
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230269 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 230269
Pass user gesture state along with chrome.runtime.sendMessage.

BUG=308631

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230270 0039d316-1c4b-4281-b951-d872f2087c98
Fix service discovery resolver not being cleaned up on DNS resolving failures.
Fix mDNS discovery on mac not detecting when devices are shutdown ungracefully (unplugged).
Add more logging and checks to chrome.mdns discovery.

BUG=308354
TEST=Plug, unplug, plug, unplug device and use test extension to check that discovery picks up changes on mac.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230271 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 230271