Fix <webview> crash when drag-and-drop is initiated on GTK

BUG=305274
Test=Load Browser sample app on Linux GTK build, drag some text outside of the webview, perhaps outside of the window. The webview will crash.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227676 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 227676
When native app window visibility changes due to either show/hide or minimize/un-minimize, the RWH will now be notified so that page visibility events fire in the renderer.

BUG=157300
TEST=Install window-state-sample (https://chrome.google.com/webstore/detail/window-state-sample/gjijpbgljcllmmhmbcdcaegdandpgpml). Hiding or minimizing the window will cause document.webkitHidden to be true. This can be observed by looking at its checkbox under the "last 10 seconds" readout area after restoring visibility.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227677 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 227677
Fix two bugs for dmprof visualizer.

1. Put category-remaining node into this category node rather than parallel with it.
2. Fix a bug in menu-view.js.

BUG=259206,305097
NOTRY=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227678 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 227678
Add a simple script for building a ctags DB in a Chromium checkout.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227679 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 227679
When running in immersive mode, the system print dialog opens 
modally on the desktop, causing the browser to appear hung 
with no indication to the user that it is waiting on input 
from a modal dialog on the desktop.

This patch hides the "Print with system dialog..." link in 
Print Preview iff metro.

BUG=291345

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227680 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 227680
Add TabCaptureApiTest to ensure tabCapture works in split incognito mode.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227681 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 227681
Remove unnecessary sandbox_file_system_backend.h dependency

BUG=265769
TEST=build

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227682 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 227682
Re-enable ServiceProcessControlBrowserTest.LaunchAndIPC

BUG=70076,304715

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227683 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 227683
Adds code to unload digital persona

Digital persona hooks us in bad ways, leading to obscure crashes. In
particular their hook procedures trigger sending messages, leading to
states we are not set up to handle, nor should we have to handle.

BUG=291265
TEST=none
R=cpu@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227684 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 227684
Added the Prerender.ModPagespeedHeader.* histograms to histograms.xml. 
Extended the data extraction to also handle X-Page-Speed headers.

(dup of 20832003 which I can't commit with my personal email account)

BUG=267695

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

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