Blink roll 164871:164882

Roll passed all of the trybots (see
https://codereview.chromium.org/134273002). Dcommitting due
to CQ slowness.

BUG=none
TBR=tdanderson@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244272 0039d316-1c4b-4281-b951-d872f2087c98
Revert 244240 "IndexedDBFactory now ForceCloses databases."

> IndexedDBFactory now ForceCloses databases.
> 
> Also, IndexedDBContextImpl used to maintain a map of open
> connections. This change also deletes this map, and instead
> relies on one which already exists in IndexedDBFactory.
> 
> BUG=259564
> 
> Review URL: https://codereview.chromium.org/93873017

TBR=cmumford@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244273 0039d316-1c4b-4281-b951-d872f2087c98
Add robliao to the Google Now Component Extension OWNERS File

R=vadimt@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244275 0039d316-1c4b-4281-b951-d872f2087c98
ash: Fix use of uninitialized member in initializer list

A recent version of Clang warned about this:

  ../../ash/system/user/tray_user.cc:1055:20: error: field 'listener_' is uninitialized when used here [-Werror,-Wuninitialized]
      : CustomButton(listener_),
                     ^
BUG=323668
R=jennyz@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244277 0039d316-1c4b-4281-b951-d872f2087c98
Revert 244229 "base: Fix registering of memory pressure listener..."

Causing webkit_unit_tests to fail.

> base: Fix registering of memory pressure listeners used when emulating discardable memory.
> 
> Memory pressure listeners need to be created on a thread with a message
> loop current. Discardable memory is often used on worker threads that
> don't have a message loop and with the current system where listeners
> are registered on first use, the result is that we're most likely never
> notified of memory pressure.
> 
> This adds a function to the discardable memory interface that allows us
> to register memory pressure listeners on a thread, and at a time, when
> we know a message loop is current.
> 
> BUG=332570
> TBR=jamesr@chromium.org
> 
> Review URL: https://codereview.chromium.org/129963002

TBR=reveman@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244278 0039d316-1c4b-4281-b951-d872f2087c98
Whitelist internal bookmarks manager for chrome_settings_overrides manifest key

Allow the Chrome-internal bookmarks manager extensions to specify
the chrome_settings_overrides manifest key in all channels, so that
they can use the bookmarks_ui subkey. Specifying subkey channels in
manifest_features.json would be better, but this is not fully supported
yet.

BUG=333362
R=kalman@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244279 0039d316-1c4b-4281-b951-d872f2087c98
Add nacl sdk builders to default try list.

These are the new "build-only" builders for that
NaCl SDK which should be fast and reliable and
catch basic build breaks.

BUG=302579

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244280 0039d316-1c4b-4281-b951-d872f2087c98
Add getUserMedia info to the dump and add browser tests.

BUG= 304023

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244281 0039d316-1c4b-4281-b951-d872f2087c98
Makes View::focusable() return last value supplied to SetFocusable()

As focusable() may effect the preferred size it is important that it
returns the last value passed to SetFocusable() rather than if the
view is focusable right now. Otherwise focusable() could change value
based on enabled or visible state, resulting in the preferred size
bouncing around.

I'm also making focusable() protected as it's really only subclasses
that should care about it. Especially since we also have
IsFocusable().

BUG=330696
TEST=covered by test
R=ben@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244282 0039d316-1c4b-4281-b951-d872f2087c98
Mark EventToTypeString with ALLOW_UNUSED to fix the Official gtk build.

It's only used inside an UNSHIPPED_TRACE_EVENT1(), which causes:

../../base/message_loop/message_pump_gtk.cc:17:13: error: unused function 'EventToTypeString' [-Werror,-Wunused-function]

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244283 0039d316-1c4b-4281-b951-d872f2087c98
Mojo: Add the beginnings of a proper embedder API.

Actually, just move mojo::system::CoreImpl::Init() to
mojo::embedder::Init(), in its own header file.

R=darin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244284 0039d316-1c4b-4281-b951-d872f2087c98
Remove vestigal traces of the TLS Cached Info Extension support

Chrome no longer carries the patch to NSS to enable this support; remove the
traces that exist in Chrome to support it.

BUG=none
R=wtc
TBR=brettw

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244285 0039d316-1c4b-4281-b951-d872f2087c98
Password manager: Gnome support for Public Suffix List matching

This CL:

* Enables Public Suffix List (PSL) general utilities on Linux.
* Enables PSL flag for Linux.
* Adds Gnome Keyring support for searching and filtering multiple origins, including UMA metrics and a unit test.

BUG=324291

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244286 0039d316-1c4b-4281-b951-d872f2087c98
skia: Stop overriding drawPosTextOnPath() on AnalysisCanvas.

drawPosTextOnPath() was deprecated on skia and is going to be deleted
after no one is using it on Chrome.

BUG=skia:1834
TEST=None, no functional changes
R=thakis@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244287 0039d316-1c4b-4281-b951-d872f2087c98
Fix for AudioEncoder crash when using cast.streaming API.

A subtle race condition was occurring between the destruction of the AudioBus
and a while-loop's final dereferencing of the audio_bus pointer before
breaking.

BUG=332623

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244288 0039d316-1c4b-4281-b951-d872f2087c98
Revert 244286 "Password manager: Gnome support for Public Suffix..."

> Password manager: Gnome support for Public Suffix List matching
> 
> This CL:
> 
> * Enables Public Suffix List (PSL) general utilities on Linux.
> * Enables PSL flag for Linux.
> * Adds Gnome Keyring support for searching and filtering multiple origins, including UMA metrics and a unit test.
> 
> BUG=324291
> 
> Review URL: https://codereview.chromium.org/123223003

TBR=vabr@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244292 0039d316-1c4b-4281-b951-d872f2087c98
Ensure that trackpad and trackpoint scrolling works on Windows desktop Aura with legacy trackpad drivers.

Legacy trackpad drivers like the older synaptics drivers have bugs where in they don't generate the WM_MOUSEWHEEL
messages for applications unless there is an entry for the application with the class name of the window in their
config file. If an entry does not exist here, these drivers expect the window to have the WS_VSCROLL/WS_HSCROLL style
to generate the legacy WM_VSCROLL/WM_HSCROLL messages.

This patch adds these styles to top level windows for Windows Aura. To ensure that Windows does not draw these
scrollbars, we hide them when the window size changes and readd them in a posted task which works correctly in our
testing.

Changes in this patch are as below:-
1. Add handlers to the HWNDMessageHandler class for the WM_VSCROLL/WM_HSCROLL messages.
2. Forward the scroll events to the HWNDMessageHandlerDelegate which then forwards it off to its delegate.
3. Miscellaneous fixes in the events code to allow the WM_VSCROLL/WM_HSCROLL messages to go through.

BUG=320849
R=cpu@chromium.org, sky@chromium.org, cpu, sky

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244295 0039d316-1c4b-4281-b951-d872f2087c98
Remove RenderProcessHost notifications from the signin manager.

BUG=170921
TEST=everything still works

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244300 0039d316-1c4b-4281-b951-d872f2087c98
Remove notifications from MediaFileSystemRegistry.

BUG=170921
TEST=everything still works

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

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