Drop PPAPI check in WidevineCdmComponentInstaller.

Remove ppapi related check since we will not update the WidevineCdmAdapter through the installer. It'll be bundled together with Chrome.

BUG=180260
R=cpu@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198023 0039d316-1c4b-4281-b951-d872f2087c98
Fix memory leak in ExistingUserControllerAutoLoginTest.

BUG=chromium:216359
TEST=Chromium OS (valgrind)(5) doesn't show leaks in ExistingUserControllerAutoLoginTest.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198024 0039d316-1c4b-4281-b951-d872f2087c98
Provide clipping hooks for Android tab contents.

Texture layers cannot perform self-clipping under transformations with
non-positive scaling or non-translational components.  This patch provides a
workaround for this issue, allowing users of ContentViewCore to explicitly
request content clipping prior to compositing.

BUG=233415,189639
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198025 0039d316-1c4b-4281-b951-d872f2087c98
gfx::BlendDecomposedTransforms should interpolate 180-degree rotations

The definition of helper function Slerp in ui/gfx/transform_util.cc
earlies-out (and fails) for 180-degree rotations. This is inconsistent
with the specification for Slerp (from
http://www.w3.org/TR/css3-transforms/#matrix-values-interpolation).

This removes the early-out.

BUG=235628

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198026 0039d316-1c4b-4281-b951-d872f2087c98
Formatting cleanup.  Should be no code change.

* Don't define complex functions inline
* Use DISALLOW_COPY_AND_ASSIGN where appropriate
* Make consistent the headers on sections of a class declaration or .cc file
* Use two newlines between major sections of a .cc file

BUG=none
TEST=none
R=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198027 0039d316-1c4b-4281-b951-d872f2087c98
Instant Extended: Use 15pt font in search decorations on Mac

This CL changes omnibox decorations from 13pt Lucida Grande to 15pt Helvetica.

Screenshots with my change:
- Instant Extended disabled:
-- http://i.imgur.com/G4tC91c.png
-- http://i.imgur.com/3udAmUp.png
-- http://i.imgur.com/3fxt3S4.png

- Instant Extended enabled:
-- http://i.imgur.com/OdiQSKa.png
-- http://i.imgur.com/OKkso4Z.png
-- http://i.imgur.com/CbQSM77.png

BUG=231005
TEST=Enable instant extended. Type bing.com and press enter.
Verify that the search decoraiton font size is correct.

R=shess@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198028 0039d316-1c4b-4281-b951-d872f2087c98
Handle decoding of vorbis files better on Android

BUG=227144

Send the data size to MediaCodec so we can get the duration length for ogg/vorbis files correctly instead of returning a huge number.  With this information, we no longer need the is_vorbis flag since the duration is now correct, so we remove that code as well.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198029 0039d316-1c4b-4281-b951-d872f2087c98
[telemetry] Rename PageBenchmark to PageMeasurement

Benchmark is an ambiguous word. This is clearer.

R=dtu@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198030 0039d316-1c4b-4281-b951-d872f2087c98
Disable FirefoxProfileImporterBrowserTest and IEImporterBrowserTest.

BUG=237707
TBR=gab@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198032 0039d316-1c4b-4281-b951-d872f2087c98
chrome.downloads javascript smoke test

This should offer some protection against extension-system-level changes breaking chrome.downloads.
All tests for the logic of the API are kept in C++ to keep this javascript test from being flaky.
See also https://chromiumcodereview.appspot.com/10542038

This test would have prevented http://crbug.com/221952 which was fallout from https://chromiumcodereview.appspot.com/11571014/

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198033 0039d316-1c4b-4281-b951-d872f2087c98
Disable flaky test SyncFileSystemServiceTest.SimpleLocalSyncFlow.

BUG=237710
TBR=kinuko@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198034 0039d316-1c4b-4281-b951-d872f2087c98
Converting test to interactive test, since it relies on focus, which can't be guaranteed in a browser test.

BUG=234302
TBR=sky

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198035 0039d316-1c4b-4281-b951-d872f2087c98
Layout toasts at bottom-left for ChromeOS/RTL UI

ChromeOS will layout the whole desktop in mirrored manner if the
UI language is RTL, so it's more consistent to place toasts at
bottom-left instead of bottom-right.

Windows will keep the bottom-right position, since it doesn't change
the desktop layout itself. See the screenshot of the bug for the
details.

BUG=236988

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198036 0039d316-1c4b-4281-b951-d872f2087c98
Disable flaky ExtensionServiceTest.LoadExtension.

BUG=231806
TBR=jyasskin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198037 0039d316-1c4b-4281-b951-d872f2087c98
Some fix for gpu driver bug list.

I am sure this is not the cause why the list has ni effects in Android, but they need to be fixed anyway.

BUG=227162
TEST=
R=gman

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198038 0039d316-1c4b-4281-b951-d872f2087c98
Revert "Initial version of Test Accounts service client. This client will" which failed compile on Mac bot.

This reverts commit r198019.

TBR=pvalenzuela@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198039 0039d316-1c4b-4281-b951-d872f2087c98
Add mic key to webui keyboard


BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198040 0039d316-1c4b-4281-b951-d872f2087c98
[Spellcheck] Cleanup test, factor out common code.

R=avi@chromium.org, rlp@chromium.org
BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198041 0039d316-1c4b-4281-b951-d872f2087c98
Sanity check to make sure ChannelEstablished handling is valid

If gpu process is compomised, we might receive a ChannelEstablished message but no requests can be found in queue.

Currently we assume there must be a request in queue, leading to potential corrupted function pointer.

The fix in this CL is to check the queue and log a warning and return early if the queue is empty.

I am wondering if a more robust solution is to have request ID and then the ChannelEstablished message should contain the request ID so we could double check. But that's not in the scope of this CL.

BUG=236631
TEST=attached repro.patch in crbug
R=kbr

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198042 0039d316-1c4b-4281-b951-d872f2087c98
Fix Drive cache file permissions while mounting.

The issue 236994 was fixed in ToT, but the cache files already affected
by the buggy versions remain in a bad state.
This patch is to rescue them and bring back to normal state.

BUG=236994

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

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