summaryrefslogtreecommitdiffstats
path: root/android_webview/browser/browser_view_renderer_client.h
diff options
context:
space:
mode:
authorboliu <boliu@chromium.org>2014-10-21 16:23:57 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-21 23:25:31 +0000
commit6b96a049428fceb4af34a5ea92b106ae208ea75b (patch)
tree4728e16cf9bf5f5b65cae147f920f61c6b2fe2ac /android_webview/browser/browser_view_renderer_client.h
parent05bc9c84e44660e9ba56f5566092228d3674679a (diff)
downloadchromium_src-6b96a049428fceb4af34a5ea92b106ae208ea75b.zip
chromium_src-6b96a049428fceb4af34a5ea92b106ae208ea75b.tar.gz
chromium_src-6b96a049428fceb4af34a5ea92b106ae208ea75b.tar.bz2
aw: Ensure invalidation when pipeline is stalled
* If CommitFrame is skipped to to stall, ensure we invalidate. * Make sure force_invalidate does not get cancelled by a pending fallback tick. * Allow hardware initialization even when visible rect is empty, so fallback tick is always in the right mode. * Fix visible rect empty checks. BUG=425372 Review URL: https://codereview.chromium.org/654403006 Cr-Commit-Position: refs/heads/master@{#300566}
Diffstat (limited to 'android_webview/browser/browser_view_renderer_client.h')
-rw-r--r--android_webview/browser/browser_view_renderer_client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/android_webview/browser/browser_view_renderer_client.h b/android_webview/browser/browser_view_renderer_client.h
index 2fba4d2..ebf5b7b 100644
--- a/android_webview/browser/browser_view_renderer_client.h
+++ b/android_webview/browser/browser_view_renderer_client.h
@@ -31,6 +31,9 @@ class BrowserViewRendererClient {
// Called to update the parent draw constraints in browser view renderer.
virtual void UpdateParentDrawConstraints() = 0;
+ // Called if commit is skipped due to pipeline stall.
+ virtual void DidSkipCommitFrame() = 0;
+
// Called to get view's absolute location on the screen.
virtual gfx::Point GetLocationOnScreen() = 0;