Statically enable TCM and get rid of compositing-mode-field-trials.

This is based on top of https://codereview.chromium.org/27197009/

BUG=302738, 233830, 306557

Originally Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229806
Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=229907

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

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

It uses ash::SystemTrayDelegate but there's no reason for it.
It can just use chromeos::LoginState instead.

BUG=312493
R=dewittj@chromium.org
TEST=manually

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231950 0039d316-1c4b-4281-b951-d872f2087c98
[ash] Fading in the new last item when an item is ripped out from the shelf

Problem:
  When ripping out an item from the shelf, the sliding animation of last item is overlapped
  with overflow button.

R=skuhne@chromium.org, jamescook@chromium.org
BUG=312062
TEST=visual test

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231951 0039d316-1c4b-4281-b951-d872f2087c98
Make the GestureEventFilter robust to synchronous ACKs

The GEF should be able to handle synchronous acks, e.g., from WebView's
in-process compositor.  Remove assumptions about when the ack will be
delivered, particularly for coalesced Pinch+Scroll gesture sequences, and
debounced gesture dispatch.

BUG=312828

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231952 0039d316-1c4b-4281-b951-d872f2087c98
mojo: break struct headers into headers and source

BUG=None
TEST=None
R=darin@chromium.org, darin

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231954 0039d316-1c4b-4281-b951-d872f2087c98
Merge WebMediaPlayerProxy and RendererMediaPlayerManager.

BUG=312358
TEST=MSE/EME player still works on Chrome for Android. No functionality change.
R=jochen@chromium.org, qinmin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231957 0039d316-1c4b-4281-b951-d872f2087c98
IndexedDB: refactor corruption-message parsing into its own function.

BUG=311874
R=jsbell@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231958 0039d316-1c4b-4281-b951-d872f2087c98
Fixed SyncStatusHelper not updating observers on changes.

* SyncStatusHelper now updates observers whenever cached contents
  changes, previously only updated on content resolver notifications.

BUG=299123

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231960 0039d316-1c4b-4281-b951-d872f2087c98
Disable ActivityLogApiTest.TriggerEvent while waiting for Blink roll

Blink will move innerHTML from HTMLElement from Element. Because this
test relies on the exact placement of the function, disable it during
the transition.

BUG=311080
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231961 0039d316-1c4b-4281-b951-d872f2087c98
Docserver: Add an APIModels class which tracks both the list of available APIs
and can return compiled APIs. Not used yet, coming soon.

R=yoz@chromium.org
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231963 0039d316-1c4b-4281-b951-d872f2087c98
Histogram for the exectuion phase the browser is in when browser didn't
exit cleanly.

R=jar@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231964 0039d316-1c4b-4281-b951-d872f2087c98
cc: Add --cc-rebaseline-pixeltests command line flag.

When present, pixel tests write their output instead of reading it.
This allows rebaselining tests without requiring a recompile of the
code.

R=enne
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231965 0039d316-1c4b-4281-b951-d872f2087c98
Cast: fix issue in Eureka when audio frames are pulled out.

If the applocation added multiple audio callbacks a bad DCHECK
was trigger.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231966 0039d316-1c4b-4281-b951-d872f2087c98
Enables chording with the control and alt keys.

Note that there is an edge case where we start chording with control (or alt) before continuing chording with shift. This will not work. Added a TODO to fix that; but it isn't an immediate priority.

BUG=312336

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231967 0039d316-1c4b-4281-b951-d872f2087c98
Add a manual end-to-end test page for the extension, and several fixes.

Fix a problem with bundling (missing entries in component_extension_resources.grd).

Make the extension determine origin by itself rather than read it as a parameter from the web page.

Use results_.reset(), not SetResult() in the API implementation; the two are not equivalent. Lesson learned: Extension browser tests do not cause validation of results against schema. Update browser test to match.

Modify GetAndSetWithMediaStream browser test to try setting to all available devices in turn, rather than just switching from one device to one other.

The string "default" is used as the sinkId of the default device in the API. We were already replacing the empty string with "default" on the way out, now also doing the reverse on the way in.

BUG=291271

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231968 0039d316-1c4b-4281-b951-d872f2087c98
Show subs box on clicking breakable categories in dmprof visualizer.

- For clicks on the graph, the box shows up on the cursor.
- For clicks on the menu view, the box shows up below the menu box.
- Clicks on non-breakable categories erase the box.
- Clicks out of graph and menu-box do nothing.


BUG=259206
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231969 0039d316-1c4b-4281-b951-d872f2087c98
android: Don't SetClient on the resource collection if it doesn't exist

NULL check this call like we do in aura.

R=piman, sievers
BUG=313359

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

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

Some subprocesses handle --trace-startup by themselves to start
tracing as early as possible if the switch presents. However, previously
TraceController would enable tracing of the subprocess again by sending
TracingMsg_BeginTracing when it knew a new subprocess has been started.
This caused tracing of the subprocess not to be properly stopped and
flushed when startup tracing is ended.

Changes:
- Pass tracing_startup parameter through TracingMsg_BeginTracing;
  subprocess won't start tracing again if tracing_startup is true
  and tracing has already been started;
- Don't pass --trace-startup to renderer if startup tracing has
  already finished.

BUG=310395

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231971 0039d316-1c4b-4281-b951-d872f2087c98
Telemetry: Make browser finder use default browser if only one available.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231972 0039d316-1c4b-4281-b951-d872f2087c98
Revert 231472 "Remove views::InputMethod::On[Focus|Blur] calling..."

> Remove views::InputMethod::On[Focus|Blur] calling from not top level widgets.
> 
> This patch is a step of refactoring for the IME related focus handling.
> 
> Background issue:
> No top level widget can call views::InputMethod::On[Focus|Blur] as documented.
> That hack was needed because to create a new widget with a new window handle by a mouse leaving event invoked Aura focus to the widget first and win32 focus next.
> InputMethodTSF focusing works on widgets with win32 focus so the first focusing missed TSF focusing.
> 2nd focusing by win32 also didn't work because InputMethodBridge
> permitted the TextInputClient setting only once.
> 
> Solution:
> This patch changes to call OnWillChangeFocusedClientand OnDidChangeFocusedClient whenever a TextInputClinet is set or not.
> Then secondary win32 focusing sets InputMethodTSF focus.
> 
> BUG=302229, 306368
> TEST=manually done in Windows 8 Aura with or without --enable-text-services-framework flag.
> 
> Review URL: https://codereview.chromium.org/34573003

TBR=yoichio@chromium.org

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

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