cc: Remove RenderingStats passed to Layer::Update()

depends on: https://codereview.chromium.org/13245007/
and: https://codereview.chromium.org/13132005/

BUG=181319

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209251 0039d316-1c4b-4281-b951-d872f2087c98
cc: Add debug rects for touch and wheel event handler regions and slow scrolling areas

This change adds new debug rect types to show regions with touch or
wheel event handlers as well as areas that scroll slowly. Each rect type
also displays a label in the top left corner to make them easier to
identify.

BUG=253552

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209252 0039d316-1c4b-4281-b951-d872f2087c98
Don't close window when adding users.

The enter keyevent was double-handled in the 'Manage other users'
options dialog, making the dialog close when a user was added. This
CL fixes the problem by changing the event handled from keypress to
keydown so it matches the other event, then calling stopPropagation
on it when it is handled. 

BUG=254163

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209253 0039d316-1c4b-4281-b951-d872f2087c98
Support ozone=1 compositor_unittestsr OSMesa

The compositor_unittests has some tests that expect a real
framebuffer. ozone does not yet have a real framebuffer
implementation that can run in the test infrastructure.

This CL adds a simulated framebuffer sufficient to build and
run the compositor_unittests.

BUG=25242

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209254 0039d316-1c4b-4281-b951-d872f2087c98
Add UMA/Telemetry stats for touch event latency
    
This CL adds following UMA stats for touch event latency
1. Event.Latency.Browser.TouchUI:
   touch event received by Chrome -> touch event sent to renderer
    
2. Event.Latency.Browser.TouchAcked
   touch event sent to renderer -> touch event acked from renderer
    
Corresponding telemetry stats are also added.
    
BUG=chromium:246034
TEST=1. Check UMA stats exist in chrome://histograms/Event.Latency.Browser
     2. Check the relevant stats are in telemetry smoothness test.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209255 0039d316-1c4b-4281-b951-d872f2087c98
Identity API: Update Identify User article with latest API

Most of this change is adding token cache information, but there are some other changes meant to improve clarity.

BUG=181641

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209256 0039d316-1c4b-4281-b951-d872f2087c98
Handle the case that DRM was initialized after Start() is called

BUG=163552

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209257 0039d316-1c4b-4281-b951-d872f2087c98
Enable accelerated overflow scrolling for high dpi.

BUG=248917

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209258 0039d316-1c4b-4281-b951-d872f2087c98
Implement the functionality to read device info for all devices signed into this account.
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209259 0039d316-1c4b-4281-b951-d872f2087c98
Valgrind: Suppress an occasional leak inside fileapi::FileSystemQuotaClient::DeleteOriginData().

BUG=255718
TBR=groby@chromium.org
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209260 0039d316-1c4b-4281-b951-d872f2087c98
checklicenses: remove libwebp from path whitelist

after libwebp-0.3.1 it's correctly detected as BSD-like.


R=thestig@chromium.org
BUG=98448
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209261 0039d316-1c4b-4281-b951-d872f2087c98
[rAC, OSX] Hide/Unhide sections.

Depending on the data source (wallet, autofill), the
AutofillDialogController wants to show different section. Show/hide
accordingly and accomodate in layout computations.

R=rsesek@chromium.org
BUG=157274

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209262 0039d316-1c4b-4281-b951-d872f2087c98
Add UMA metrics to measure the effectiveness of views fuzzing

Add new buckets to the Ash.GestureTarget histogram which
will be useful in measuring the effectiveness of views 
fuzzing when it is implemented. The idea is to count taps 
made on the different element types located on/near the 
tab strip. A description of the new types added to
GestureActionType in touch_uma.cc:

GESTURE_TABSWITCH_TAP: A tap on a currently unselected
tab (i.e., the tap was responsible for selecting the tab).

GESTURE_TABNOSWITCH_TAP: A tap on a currently selected
tab (i.e, the tap had no visible effect).

GESTURE_TABCLOSE_TAP: A tap on a tab's close button.

GESTURE_NEWTAB_TAP: A tap on the new tab button.

GESTURE_FRAMEMAXIMIZE_TAP: A tap on the frame maximize
button.

GESTURE_FRAMEVIEW_TAP: A tap on the space to the right of
the tabstrip, left of the tabstrip, or in between tabs.
Such a tap has no visible effect.

GESTURE_ROOTVIEWTOP_TAP: A tap on the top edge of a browser
window. Such a tap has no visible effect.

GESTURE_MAXIMIZE_DOUBLETAP: A double-tap on the browser
window resulting in a maximize or restore action.

BUG=248230

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209263 0039d316-1c4b-4281-b951-d872f2087c98
Use InvalidationService (retry of r208315)

The InvalidationService was introduced r199520. That commit added the
InvalidationService interface and several implementations of it, but
made no use of the new code. This commit builds on that work.

Up until now, TICL invalidations were handled on the sync thread. The
related objects were instantiated and owned by the SyncBackendHost and
SyncManager. All requests to update the set of object registrations had
to be passed to the sync thread. Components that wanted to receive
invalidations but were not part of sync had to route their communication
with the invalidations server through ProfileSyncService to get to the
sync thread. Things were a bit different on Android, but the system
still tried to pretend that invalidations were owned by the sync thread.

The new InvalidationService implementation is a ProfileKeyedService that
is mostly independent from sync. It still relies on sync to manage sign
in and fetch the appropriate auth tokens. However, it's now much easier
for components outside of sync to communication with the invalidations
server.

The new system allows us to remove a lot of invalidations-related code
from the ProfileSyncService, SyncBackendHost and SyncManager. Sync is
now just one of many clients of the InvalidationService. The
SyncBackendHost is responsible for forwarding messages back and forth
between the InvalidationService and the sync thread.

TBR=dcheng,satorux1,battre,rsimha,bauerb,sky,erg
BUG=124137

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209264 0039d316-1c4b-4281-b951-d872f2087c98
Add separate PowerIdleAction prefs for AC and battery power

This CL replaces the PowerIdleAction pref with a PowerAcIdleAction pref
and a PowerBatteryIdleAction pref, allowing different idle actions to be
specified when running on AC and battery power. This is a prerequisite
for allowing Chrome to control power management on the login screen where
different actions are needed.

Enterprise user policies are update accordingly, replacing IdleAction with
IdleActionAC and IdleActionBattery.

BUG=254404
TEST=Updated browser and unit tests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209265 0039d316-1c4b-4281-b951-d872f2087c98
Add a missing status DCHECK and convert another to DCHECK_EQ.

Found while trying to debug what's going wrong with Android layout
tests on my N4.

BUG=none
TEST=content_shell_apk

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209266 0039d316-1c4b-4281-b951-d872f2087c98
[sync] Hide "Sync nothing" UI; Go back to signing out on dashboard clears and abandoned initial setup

A new "Sync nothing" option was recently added to the advanced sync
settings dialog. It allowed the user to stop syncing, but stay signed
in. In addition, sign in and sync were separated, with the result that
on a dashboard clear, the user would remain signed in, but would no
longer have sync enabled.

For M29, we've decided to hide this UI and revert to old sign-in/out
behavior because there are other services that depend on the sync
engine being up and running.

This patch undoes a small number of these changes as listed below:

1) Hides the "Sync nothing" item in the advanced sync settings drop-down
2) Signs out the user if the user clicks "Choose what to sync" during
   initial setup, and then clicks cancel on the advanced dialog
3) Signs out the user when a dashboard clear is done
4) Signs out the user if the user clicks cancel while re-setting up sync
   after the dashboard clear
5) Reverts the status string shown when sync is cleared via the dashboard

BUG=235633, 252049, 248877
TEST=No "Sync nothing" UI in advanced settings; user is signed out when sync is disabled on Desktop; Chrome OS strings back to M28

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209267 0039d316-1c4b-4281-b951-d872f2087c98
[Autofill] Correct the abbreviation for Minnesota to 'MN'.

BUG=254734
TEST=none
R=estade@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209269 0039d316-1c4b-4281-b951-d872f2087c98
Password manager shouldn't have a default button.

Closing this overlay on enter doesn't make sense, so removed
the default-button class on the 'Done' button.

BUG=254322

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

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

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