Don't rotate WebCursor based on display rotation in X11 Aura.

Since we now correctly report display rotations (ie. non 0 values), this
caused a regression. The Ozone backend might not require this too.

BUG=399571

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288059 0039d316-1c4b-4281-b951-d872f2087c98
Update RendererWebPlatformSupportImpl to use {start,stop}Listening().

It doesn't do anything fancy but allows Blink to stop supporting the
previous API.

BUG=400158

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288060 0039d316-1c4b-4281-b951-d872f2087c98
[SyncFS] Drop active tracker IDs in DB

It was confusing to figure a TrackerIDSets did not have active trackers
- DB had an entry with kInvalidTrackerID in value.
- DB did not have entries to figure out an active tracker.

This CL drops the first situation.


BUG=None
TEST=./unit_tests --gtest_filter="Metadata*"

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288061 0039d316-1c4b-4281-b951-d872f2087c98
Add permission check to FakeDriveService

Add a new method SetUserPermission() to set the user's permission for a file.
Check the permission in DeleteResource(), TrashResource(), UpdateResource() and InitiateUploadExistingFile().

This change doesn't cover:
- Permission check for the parent when adding/removing entries to a directory.
- Cases where the permission is changed while upload is in progress. (even not sure what happens in the production)

BUG=340933
TEST=unit_tests --gtest_filter="FakeDriveServiceTest.*"

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288062 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 179692:179699

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=179693:179699&mode=html
TBR=jbroman@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288064 0039d316-1c4b-4281-b951-d872f2087c98
Remove redundant mapping of net errors to strings.

The new list does not have the leading "net::ERR_", to slightly reduce
the size of net when compiled.  This reduces the size of libcronet.so
by about 8k, with symbols stripped.

Also add a function to get network error strings without the leading,
"net::" as a number of consumers were removing it with duplicated code.

This CL slight breaks NetLog loading functionality - loading old logs
in new versions  will result in error codes missing the leading "ERR_",
and the other direction results in error codes having an extra leading
"ERR_".

BUG=399025

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288066 0039d316-1c4b-4281-b951-d872f2087c98
[Telemetry] Fix cpu metric on non-rooted devices.

BUG=400734

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288067 0039d316-1c4b-4281-b951-d872f2087c98
Use GAIA headers to distinguish between GAIA and SAML IdP cookies

During login, GAIA sends the "Google-Accounts-SAML=Start" and
"Google-Accounts-SAML=End" headers to indicate when a redirect to a SAML
IdP starts and ends. This CL uses these headers to distinguish between
cookies set by GAIA and the IdP:
* Any cookies set between the start and the end of the redirect were
  created by the IdP.
* Any cookies set before the start or after the end of the redirect
  were created by GAIA.

This allows cookies set by the IdP to be copied to the user's session
while ensuring that GAIA cookies are not copied (these need to be
transferred to the session via GAIA's /MergeSession API).

BUG=381123
TEST=Extended browser test; also manual

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288068 0039d316-1c4b-4281-b951-d872f2087c98
Update V8 to version 3.28.62 (based on bleeding_edge revision r22958).

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288070 0039d316-1c4b-4281-b951-d872f2087c98
Android: allow to kill a child process in instrumentation testing.

This patch exposes a method to kill a child process service of a given
pid, allowing regression integration test for http://crbug.com/399521 on
the embedder side.

BUG=399521

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288071 0039d316-1c4b-4281-b951-d872f2087c98
[Android]: Fix tombstones.py architecture detection.

This CL fixes tombstones.py architecture detection in two ways:
 - If the tombstone contains an ABI line, use this in preference to the devices
   default ABI, since some devices support multiple ABIs (e.g., 'arm' and 'arm64').
 - Map the abi to an arch which the stack tool accepts, e.g., armeabi-v7a -> arm, arm64-v8a -> arm64.

NOTRY=true

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

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

This code is no longer needed as process priority is no longer being changed in-process as this was causing tab switching latency.

BUG=398103,381820

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288073 0039d316-1c4b-4281-b951-d872f2087c98
Add a @TargetApi annotation to SelectFileDialog.onIntentCompleted.

The Intent.getClipData() method is only available in JellyBean MR2 and
higher. The code does a correct version check, but the lint checker is
not satisfied with this check.

BUG=401333,348912

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288074 0039d316-1c4b-4281-b951-d872f2087c98
Make ContextualSearchPromoSource Android-only.

BUG=333201

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288075 0039d316-1c4b-4281-b951-d872f2087c98
Make UserSelectionScreen::users_ private

ChromeUserSelectionScreen::Init() used to access the |users_| member of
its parent class even though it already knows the user list. This CL
removes the unnecessary access and marks |users_| as private.

BUG=398511
TEST=No compilation errors

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288076 0039d316-1c4b-4281-b951-d872f2087c98
Use a qualified path to blink resources, content part.

This should prevent problems such as described in

  [chromium-dev] PSA: clobber build needed for IDR_INSPECTOR_*
                 compile errors in blink_platform_impl.cc

Depends on https://codereview.chromium.org/431883002

BUG=400860
TBR=brettw

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288077 0039d316-1c4b-4281-b951-d872f2087c98
Adding myself to chrome/browser/devtools/OWNERS.

BUG=none
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288078 0039d316-1c4b-4281-b951-d872f2087c98
BT adapter is switched to initial state after HID screen if no BT devices connected.

BUG=401501

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

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