[Android WebView] Disable fallback ticks when paused or window invisible
commitd50f75f0a210c0a3758c650a70bcf3c04cade95d
authorboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 20 Aug 2013 12:24:10 +0000 (20 12:24 +0000)
committerboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 20 Aug 2013 12:24:10 +0000 (20 12:24 +0000)
treece7be5c1ae4f92da868f106dc882ed618b00b166
parentbab4e2ee79b11413791b94376103e75d15ac953c
[Android WebView] Disable fallback ticks when paused or window invisible

Apps call onPause/onResume to explicitly request
pausing/resuming per webview processing. But apps are not
required to call them.

Also window (not view) becomes invisible when the for
example, an app is put into the background.

Should use these signals to disable fallback tick, which is
normally used to ensure offscreen webviews still make
progress.

BUG=276104
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218466 0039d316-1c4b-4281-b951-d872f2087c98
android_webview/browser/aw_devtools_delegate.cc
android_webview/browser/browser_view_renderer.h
android_webview/browser/in_process_view_renderer.cc
android_webview/browser/in_process_view_renderer.h
android_webview/java/src/org/chromium/android_webview/AwContents.java
android_webview/native/aw_contents.cc
android_webview/native/aw_contents.h