Automated Commit: Committing new LKGM version 4060.0.0 for chromeos.

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197004 0039d316-1c4b-4281-b951-d872f2087c98
Telemetry: Make the GC action more robust.

Some web pages, like vimeo.com, overwrite the window.gc property, and before the
fix, the gc action would just fail.

BUG=NONE
NOTRY=true
R=dtu@chromium.org, nduca@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197007 0039d316-1c4b-4281-b951-d872f2087c98
Invoke trace callback even when trace buffer is full

We used to invoke trace event callbacks only when we successfully
stored an event in the buffer. This does not work for clients that
maintain their own buffers, so let's invoke callbacks unconditionally.

BUG=173184
R=dsinclair@google.com, jar@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197009 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 149232:149317

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=149233:149317&mode=html
TBR=eae@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197011 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 149317:149332

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=149318:149332&mode=html
TBR=eae@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197015 0039d316-1c4b-4281-b951-d872f2087c98
DevTools: change cursor while touch events emulated

BUG=236149
TBR=apavlov@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197016 0039d316-1c4b-4281-b951-d872f2087c98
Refactor RulesRegistryStorageDelegate, (aggregate into rules registry + separate objects by threads)

We are splitting RulesRegistryStorageDelegate into two parts, one (the outer) working on the rules registry thread, the other (inner) on the UI thread. This separation has been there already into some extent, but we make it complete, and get rid of holding the inner part in a scoped_refptr.

Also, the storage delegate now becomes a part of the RulesRegistryWithCache, as it was the only implementation of
RulesRegistryWithCache::Delegate, and the aggregation trims down the code size and increases clarity.
BUG=218451
R=bauerb@chromium.org, jochen@chromium.org, jyasskin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197017 0039d316-1c4b-4281-b951-d872f2087c98
Fix uninitialized field in test following r197009.

BUG=173184
TBR=dsinclair, timurrrr@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197018 0039d316-1c4b-4281-b951-d872f2087c98
Remove extra FIXME containing identity scale matrix from
LayerTreeHostCommonTest.ContentsScale.

BUG=14365016
R=danakj@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197019 0039d316-1c4b-4281-b951-d872f2087c98
Roll Skia DEPS to r8890

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197021 0039d316-1c4b-4281-b951-d872f2087c98
Add a RE2 syntax check for kOriginAndPathMatchesKey

It looks like this was missed in
https://chromiumcodereview.appspot.com/13699007/.

There are two "url" filter attributes for Declarative Web Request which use regular expressions: kURLMatchesKey and kOriginAndPathMatchesKey. The former had a RE2 validity check in place, whereas the other did not. Fixing this.

BUG=228852
R=battre@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197022 0039d316-1c4b-4281-b951-d872f2087c98
Fix a couple of style nits:

  1. Move dtor of a ref-counted class in private to fix clang style error during build.
  2. Forward declare XEvent in x11_util.h

BUG=none
R=brettw@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197023 0039d316-1c4b-4281-b951-d872f2087c98
Add a command line flag for dumping trace events to VLOG

Only affects cc_unittests at the moment.

BUG=None
R=danakj@chromium.org, jar@chromium.org, nduca@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197024 0039d316-1c4b-4281-b951-d872f2087c98
Revert 197024 "Add a command line flag for dumping trace events ..."

> Add a command line flag for dumping trace events to VLOG
> 
> Only affects cc_unittests at the moment.
> 
> BUG=None
> R=danakj@chromium.org, jar@chromium.org, nduca@chromium.org
> 
> Review URL: https://codereview.chromium.org/14474006

TBR=vollick@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197025 0039d316-1c4b-4281-b951-d872f2087c98
'Undo Delete' is not functioning as intended under Recent folder of Bookmark Manager.

The Recent list allows the bookmark order to differ from the order
that the bookmarks appear in the bookmark bar or folder. This
is the reason the problem is occuring within the Recent list and not
elsewhere.

If multiple bookmarks are deleted it is required that bookmarks are
restored in the order that they appear. Below is an explaination on
why this is so.

In the scenario detailed in the bug the bookmarks deleted have
|index| values of 0 and 1 (first and second bookmarks in the bookmark
bar). However the bookmark with the index of 1 is restored first,
because first bookmark in the Recent list even though it is the
second bookmark in the bookmark bar. When the deletion operation is
undone the bookmark with |index| 1 is restored first, which results
to a call to create a bookmark at position 1 but the bookmark bar is
empty so that request results in an index out of bounds error.

Note, if there were more bookmark left after the deletion then undo
would have restored both bookmarks however those bookmarks would not
be in their proper position (they would be in position 0 and 2 not
0 and 1).

The solution is to delete the bookmarks in the order of the |index|
variable which will result in the undo to restore those bookmarks in
the correct order.

TEST=Follow the steps on the bug ensuring the order the bookmarks are listed is not the same as they appear on the bookmark bar.
BUG=173981
R=arv@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197026 0039d316-1c4b-4281-b951-d872f2087c98
app_mode: Allow cycle window and exit session.

BUG=224336

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

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