[Geolocation] Add permission bubble client.

R=timvolodine@chromium.org
BUG=332115

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250380 0039d316-1c4b-4281-b951-d872f2087c98
Revert r151669 and r155589 as non-Aura Metro mode is gone

Now TSF-related code is completely consolidated into the metro_driver process. We can safely revert the following CLs:
- r155589 : Call TSF-based UI message pump APIs by introducing an injection mechanism into MessageLoopForUI.
- r151669 : Introduce base::win::IsTSFAwareRequired() which indicates if TSF-awareness is required or not.

BUG=319122, 330735
TEST=manually done on Windows 8.1

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250381 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250381
android: Fix restoring compositor render surface

https://codereview.chromium.org/157053005 made it possible to switch the
compositor's render surface format, but introduced a bug when the render
surface is destroyed and recreated using the same format as before. The
result is that when Chrome loses focus, it is unable to restore the
render surface when the app is focused again.

The fix is to reset the current render surface format when the surface
gets destroyed.

BUG=321610,342411

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250382 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250382
Add missing OS_WIN check in ChromeShellDelegate.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250383 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250383
Split up SyncEngineEventListener callbacks

Splits up the SyncEngineEventListener calls into one callback per event
type.  This allow us to trim the 'event' objects so they only contain
elements relevant to their event.

Also removes some dead code related to STOP_SYNCING_PERMANENTLY, which
is no longer in use.  It may have been used for birthday errors in the
past, but those are now handled with ActionableError.  It was used for
CLEAR_USER_DATA, but that feature is no longer supported.

BUG=339984

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250384 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250384
Move silk and fast_path benchmarks into their proper places

We are try name benchmarks be named by the measurement name. This changes silk
and fast path to keep that convention. But, in deference to folks knowing the
old names and buildbot pointing at the old names, this patch includes the old
names for backcompat.

R=ernstm
NOTRY=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250385 0039d316-1c4b-4281-b951-d872f2087c98
<webview>: Minor cleanup, remove unused function BPE::StopDrag().

I don't think we were ever using it, so removing.

BUG=None
Test=None, No functional change.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250386 0039d316-1c4b-4281-b951-d872f2087c98
Add @epenner to tools/perf/OWNERS

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250387 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250387
Add --no-logo to reorder-imports.py.

Note, depends on https://codereview.appspot.com/57170049/ landing and Syzygy DEPS rolling to take effect.

BUG=335802
TEST=Silent builds again!

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250388 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250388
[Android] Show infobars on prerendered pages.

This fixes a bug that prevented the InfobarContainer from being attached
to the view hierarchy on prerendered pages.

NOTRY=true
BUG=324259

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250389 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250389
Remove obsolete comment referring to Receive() in scoped_handle.h.

BUG=318531
TBR=rvargas,cpu

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250390 0039d316-1c4b-4281-b951-d872f2087c98
Widget::ShouldUseNativeFrame is now meaningful on Linux.

This change is a big refactor to make this work without breaking
Windows. Previously, a lot of views code assumed that
ShouldUseNativeFrame meant an Aero Glass window (having the tab strip
transparently overlap a native frame), which is not true on Linux. Now,
another property, ShouldWindowContentsBeTransparent, is used to in the
Aero Glass case. On Windows, these two properties are the same, but on
Linux, the former can be true without the latter.

Now, in Linux Aura, browser windows run with --use-system-title-bar will
have ShouldUseNativeFrame return true, without any visual anomalies.
This has two purposes (both of which I will need soon):
1. It allows DesktopWindowTreeHostX11 to behave differently depending on
   whether the window has a native frame.
2. It will allow the window frame to be added or removed dynamically
   through Widget::set_frame_type.

BUG=317859

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250391 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250390