Revert 214176 "Revert 213677 "Revert 213603 "Avoid handling comm..."

> Revert 213677 "Revert 213603 "Avoid handling commands in Files.a..."
> 
> > Revert 213603 "Avoid handling commands in Files.app when a dialo..."
> > 
> > > Avoid handling commands in Files.app when a dialog is displayed.
> > > 
> > > Before, we were handling commands, such as Ctrl-F for searching, even if the dialog such as share dialog or delete confirmation was displayed. This patch resolves this issue by registering the commands on the dialog container, which instead of on entire document. As a result, these commands are not invoked by shortcuts while a popup dialog is displayed.
> > > 
> > > TEST=Follow the bug's repro steps.
> > > BUG=263703
> > > R=hirono@chromium.org
> > > 
> > > Review URL: https://codereview.chromium.org/19734015
> > 
> > TBR=mtomasz@chromium.org
> > 
> > Review URL: https://codereview.chromium.org/20454002
> 
> TBR=chrisgao@chromium.org
> 
> Review URL: https://codereview.chromium.org/21018004

TBR=mtomasz@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214285 0039d316-1c4b-4281-b951-d872f2087c98
file_manager: Rename FileBrowserFunction to LoggedAsyncExtensionFunction

To give the class a more descriptive name.
Along the way, let all async functions in the same file inherit this class.
Remove "FileBrowser" from some class names as well.

BUG=257918
TEST=none
R=hashimoto@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214288 0039d316-1c4b-4281-b951-d872f2087c98
[SPDY] Add strings and constants for HTTP/2 draft 04

There are still differences between SPDY/4 and HTTP/2 draft 04; those
will be ironed out in upcoming CLs.

Add kProtoHTTP2Draft04 to SPDY NextProto-parametrized tests.

Move NextProto -> SpdyMajorVersion conversion to buffered_spdy_framer.h.

Remove unused SpdyMajorVersion -> NextProto conversion.

Clean up HttpResponseInfo::ConnectionInfo a bit and add a TODO to
remove it.

Parametrize SSLClientSocketPoolTest on NextProto.

BUG=265615
R=darin@chromium.org, rch@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214289 0039d316-1c4b-4281-b951-d872f2087c98
rAc: drop in proper tooltip icon resources.

looks like a question mark (?)

BUG=258556
R=oshima@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214290 0039d316-1c4b-4281-b951-d872f2087c98
remoting: Fix path to WebKit.

This file were moved from Source/WebKit/chromium/src to Source/web/.

R=sergeyu@chromium.org
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214291 0039d316-1c4b-4281-b951-d872f2087c98
Suppress leak in v8. new stack after v8 roll.

TBR=yangguo@chromium.org
BUG=169678
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214292 0039d316-1c4b-4281-b951-d872f2087c98
Drive: Do not treat type-unknown deleted entries as an error.

When entries shared to the current user by other user is unshared,
such a change is reported as a 'deleted' entry with all other
metadata (including is_file() or is_folder()) unknown. To reflect
such deletion locally, we must not filter them out as an error.

Note that this fixes the BUG only for --enable-drive-v2-api case.

BUG=260020
R=hashimoto@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214293 0039d316-1c4b-4281-b951-d872f2087c98
Reland "Include entries to blink_resources."

This was reverted in r214248 because it increased the size of chrome.pak.

R=abarth@chromium.org, joth@chromium.org, thestig@chromium.org,taysom@chromium.org
TBR=darin

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214294 0039d316-1c4b-4281-b951-d872f2087c98
Remove more methods from PluginDelegate. Some I moved the implementation to the callers. For others, I have them call to PepperPluginDelegateImpl directly. This is in anticipation of removing PluginDelegate completely, and probably having PepperPluginDelegateImpl remain as a Pepper helper per RenderView, which it also serves as today.

BUG=263054
R=scottmg@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214295 0039d316-1c4b-4281-b951-d872f2087c98
Revert 214289 "[SPDY] Add strings and constants for HTTP/2 draft 04"

> [SPDY] Add strings and constants for HTTP/2 draft 04
> 
> There are still differences between SPDY/4 and HTTP/2 draft 04; those
> will be ironed out in upcoming CLs.
> 
> Add kProtoHTTP2Draft04 to SPDY NextProto-parametrized tests.
> 
> Move NextProto -> SpdyMajorVersion conversion to buffered_spdy_framer.h.
> 
> Remove unused SpdyMajorVersion -> NextProto conversion.
> 
> Clean up HttpResponseInfo::ConnectionInfo a bit and add a TODO to
> remove it.
> 
> Parametrize SSLClientSocketPoolTest on NextProto.
> 
> BUG=265615
> R=darin@chromium.org, rch@chromium.org
> 
> Review URL: https://codereview.chromium.org/21131002

TBR=akalin@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214298 0039d316-1c4b-4281-b951-d872f2087c98
Update Linux chrome.pak size expectations following r214294.

This is a temporary bump until webkit_chromium_resources.pak gets removed.

BUG=265748
TBR=simonjam

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214302 0039d316-1c4b-4281-b951-d872f2087c98
Disable flaky tests for Files.app.

This patch disables flaky tests: KeyboardOperations/FileManagerBrowserTest/*.

TEST=browser_test
BUG=252561
R=kinaba@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214307 0039d316-1c4b-4281-b951-d872f2087c98
Translate: run translate scripts in an isolated world

This change make Chrome translate run in an isolated world with own
content-security-policy and security origin settings.
After this change, Chrome translate works fine under server providing
content-security-policy setting.

BUG=164547, 164584
TEST=https://codereview.chromium.org/14180010/
R=mad@chromium.org, mkwst@chromium.org, mpcomplete@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214308 0039d316-1c4b-4281-b951-d872f2087c98
[SPDY] Add strings and constants for HTTP/2 draft 04

There are still differences between SPDY/4 and HTTP/2 draft 04; those
will be ironed out in upcoming CLs.

Add kProtoHTTP2Draft04 to SPDY NextProto-parametrized tests.

Move NextProto -> SpdyMajorVersion conversion to buffered_spdy_framer.h.

Remove unused SpdyMajorVersion -> NextProto conversion.

Clean up HttpResponseInfo::ConnectionInfo a bit and add a TODO to
remove it.

Parametrize SSLClientSocketPoolTest on NextProto.

BUG=265615
R=darin@chromium.org, rch@chromium.org

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=214289

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214309 0039d316-1c4b-4281-b951-d872f2087c98
FileAPI: Fix missing SpecialStoragePolicy initialization in SandboxContext

BUG=none
TEST=none
R=tzik@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214310 0039d316-1c4b-4281-b951-d872f2087c98
Add unittests for ImmediateInputRouter.

This patch also migrates most of input-event routing unittests from RenderWidgetHost to ImmediateInputRouter.

BUG=245499
TBR=darin (content/content_tests.gypi)

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214311 0039d316-1c4b-4281-b951-d872f2087c98
Add a CertVerifier flag to enable hard fail for local (non-public) trust anchors.

If revocation checking fails when chaining to a locally trusted root,
this will treat the certificate as revoked ('hard fail'). This does not
affect revocation checking when chained to public CAs.

BUG=258642
R=wtc
TBR=robertshield

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214312 0039d316-1c4b-4281-b951-d872f2087c98
Add the UMA PLT.BeginToFinish{,Doc}_AfterPreconnectRequest to measure PLT just after mouseevent preconnect triggers.

[Note to sheriff] This patch requires blink patch http://crrev.com/18598003 to be landed first.

This UMA aims to measure PLT on link navigations with {mouse,gesture}-event preconnects. The PLT is to be compared between experiment/control groups using Finch.

BUG=235361

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214313 0039d316-1c4b-4281-b951-d872f2087c98
cc: Allow the main thread to cancel commits

Add a new SetNeedsUpdateLayers that triggers the commit flow, but is
abortable if update layers doesn't actually make any changes.  This
allows the main thread to abort a begin frame.  This happens in the case
of scroll updates from the compositor thread or invalidations.

There was previously an abort begin frame call for when a visibility
message and a begin frame message were posted simultaneously, but it
incorrectly applied the scrolls and scales without informing the
compositor thread that these had already been consumed.  To fix this,
the abort message passes back a boolean about whether or not the
commit was aborted (and needed to be sent again) or was handled
(and the scrolls and scales processed).

To avoid a deluge of begin frames (in the commit sense) from the
scheduler, the scheduler has been adjusted to wait until the next begin
frame (in the vsync signal sense) so that these calls can be throttled.
Otherwise, the scheduler will just keep trying to begin frame.

R=brianderson@chromium.org, danakj@chromium.org
BUG=256381

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213338

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

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