Reland "gpu: Fix Vivante's "hisilicon" GPUs"

This fixes "Hisilicon" GPUs, which is an instance of a
Vivante's GPU design. This involves enabling virtual
contexts, since they don't support share-groups, and further
adds a work-around for switching surfaces. Without the work-
around the view surface "inherits" the size of the last
bound surface (which for Chrome tends to be a 1x1 pbuffer)
resulting in a black screen. The following steps "repair"
the view surface every time it is made current:

- Make it current.
- Bind the default frame-buffer.
- Make it not current.
- Destroy/recreate it from the native handle.
- Make it current again.

NOTE: The "Recreate" function is added to surface because
the Destroy/Initialize may be intercepted or modified by
wrapper surface classes. Recreate is similar to resize,
which after being forwarded by a wrapper can call
Destroy/Initialize on the 'real' surface.

BUG=179250
NOTRY=true

No-try, as all the relevant bots are already green.

Review URL: https://chromiumcodereview.appspot.com/13852023

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195349 0039d316-1c4b-4281-b951-d872f2087c98
Bluetooth: D-Bus client interface for org.bluez.Input1

Implements the D-Bus client for the new Input1 interface currently
exporting only one property.

BUG=220553
TEST=device_unittests pass.

Review URL: https://chromiumcodereview.appspot.com/14048007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195350 0039d316-1c4b-4281-b951-d872f2087c98
Fix archiving and running Chromium.app on OSX with target chrome_run.

All the necessary files, like resources.pak and ffmpegsumo.so, are already
mapping deep inside Chromium.app/. Mapping the ones in PRODUCT_DIR is useless.

Technically, Chromium.dmg could be used but it's harder to start from the
command line, and mapping each individual files permits caching modules that
haven't changed, like the resource files.

TBR=csharp@chromium.org
BUG=

Review URL: https://chromiumcodereview.appspot.com/14109022

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195351 0039d316-1c4b-4281-b951-d872f2087c98
Add descriptions for dromaeo jslib tests from dromaeo.com and also description/code for sizes test

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195352 0039d316-1c4b-4281-b951-d872f2087c98
Do not use the mandatory label in when generating security descriptors on Windows XP.

BUG=233381

Review URL: https://chromiumcodereview.appspot.com/14188045

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195353 0039d316-1c4b-4281-b951-d872f2087c98
[SPDY] Address comments from review of r195309

BUG=176592

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195354 0039d316-1c4b-4281-b951-d872f2087c98
SPDY - Use NetErrorCodes enum for Net.SpdySession.ClosedOnError histogram.

R=jar@chromium.org
Review URL: https://codereview.chromium.org/13895010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195355 0039d316-1c4b-4281-b951-d872f2087c98
Small improvement of diagnostics.

BUG=164227
TEST=No

Review URL: https://chromiumcodereview.appspot.com/14057020

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195356 0039d316-1c4b-4281-b951-d872f2087c98
Add OWNERS file for chrome/app/android

NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/14205008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195357 0039d316-1c4b-4281-b951-d872f2087c98
cros: Turn immersive fullscreen on by default

Use enabled/disabled flags as this will allow us to turn it off by default
after a branch point without changing the strings for about:flags.

BUG=233329
TEST=manual, toggle the option in about:flags, by default F4 should enter fullscreen
TBR=sky@chromium.org for trivial test expectation change in c/b/ui/browser_browsertest.cc

Review URL: https://chromiumcodereview.appspot.com/14366004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195358 0039d316-1c4b-4281-b951-d872f2087c98
[chromedriver] disable more failing tests.

BUG=None
TEST=None
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/14373003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195359 0039d316-1c4b-4281-b951-d872f2087c98
Fix sys tray baloon shown when extensions use getMediaStream().

This feature was broken in crrev.com/189540.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195360 0039d316-1c4b-4281-b951-d872f2087c98
cc: Add base64 encoding to picture

This adds ability to serialize cc::Picture to base64 string
and to initialize the picture back from that serialization.

Review URL: https://chromiumcodereview.appspot.com/13884018

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195361 0039d316-1c4b-4281-b951-d872f2087c98
This CL is adding a minimize function for clicks on launcher items if only a single item (already active) is associated with it. This is done to avoid that the user clicks and nothing happens (and people expect it to do that). The feature is guarded by a flag.

If the minimize action is not wanted, we use a bouncing animation which gives the user at least some feedback that he has done something.

BUG=231663
TEST=unittest & visual

Review URL: https://chromiumcodereview.appspot.com/14328031

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195362 0039d316-1c4b-4281-b951-d872f2087c98
Fix bugs wrt focus and anchored widgets and immersive mode being disabled. See bugs below for more details.

BUG=188567, 233483
Test=ImmersiveModeControllerAshTest.*

Review URL: https://chromiumcodereview.appspot.com/13942011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195364 0039d316-1c4b-4281-b951-d872f2087c98
Fix unit test leak in DeviceOAuth2TokenServiceTest.

BUG=233149

Review URL: https://chromiumcodereview.appspot.com/14367006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195365 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 148733:148757

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=%2Ftrunk&range=148734%3A148757&mode=html

TBR=caseq@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195368 0039d316-1c4b-4281-b951-d872f2087c98
cc: Early-out UpdateTilePriorities if the layer has no tilings

R=enne
BUG=176312
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/14378007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195369 0039d316-1c4b-4281-b951-d872f2087c98
Crash when taking screenshot onto Chrome OS Google Drive.
And, Don't stack screenshot notifications.

Changed profile handling. The profile is now retrieved everytime a screenshot is taken and
not only once in Ash init. The reason is that the profile can change, which caused this crash.

Changed behavior for a subsequent screenshot notification. It will replace the previous
notification (rather than add a new one).

When saving to Google Drive we have two path: screenshot path (used in notification) and
local path (for internal cash/work; used in writing). Add proper handling of both paths.


BUG=231707, 232876, 233574
R=jamescook@chromium.org
TEST=manual

Review URL: https://chromiumcodereview.appspot.com/14027009

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