[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
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
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
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
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
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
[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
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
[Mac] Custom skin for the new avatar button

- add the new resources to the grd file
- while we're at it, fix the win resources which were included in everything :(
- apply a nine-patch to the button
- increase the width of the fullscreen icon by 2 pixels so that the avatar button
perfectly aligns with the omnibox. (see screenshot)

Screenshots:
https://drive.google.com/folderview?id=0B1B1Up4p2NRMX2haRFo5cm9HbTg&usp=sharing

BUG=305041

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250392 0039d316-1c4b-4281-b951-d872f2087c98
Re-enable StartPageWebUITest with a fix.

By r248702, start_page webUI always call setSpeechRecognitionState
on loading. The test has to handle this message.

BUG=339340
R=xiyuan@chromium.org
TEST=20x browser_tests and no failures

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250393 0039d316-1c4b-4281-b951-d872f2087c98
Remove calls to EmitLoginPromptReady

The upstart event emitted by this call is no longer used
for anything and hasn't been for some time. Remove it.

BUG=chromium:324514
TEST=browser_tests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250394 0039d316-1c4b-4281-b951-d872f2087c98
If SDCH is disabled, don't add an SDCH filter

This avoids a crash when SDCH is disabled, but the "Content-Encoding" response header contains "sdch".

BUG=167218

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250395 0039d316-1c4b-4281-b951-d872f2087c98
Update V8 to version 3.24.36 (based on bleeding_edge revision r19254).

TBR=bmeurer@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250397 0039d316-1c4b-4281-b951-d872f2087c98
Create tool that will asynchronously poll file content.

When run with 2 or more arguments the file_poller tool will open a port on
the device, print it on its standard output and then start collect files content. The first argument is the polling rate in Hz, and the following
arguments are file to poll.
When run with the port of an already running file_poller, the tool will
contact the first instance, retrieve the sample and print those on its
standard output. This will also terminate the first instance.

NOTRY=true
R=tonyg@chromium.org,pliard@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250398 0039d316-1c4b-4281-b951-d872f2087c98
Use base::ScopedTypeRef for CGL types.

Use gfx::ScopedCGLSetCurrentContext for setting the current
context in the browser process. When calling CGLSetCurrentContext,
the pre-existing code inconsitently did either of restoring the
context, setting the context to NULL, or leaving the context set.
This makes the behavior consistent. It also makes error checking
pervasive.

BUG=245900

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

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