Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(493)

Unified Diff: android_webview/browser/browser_view_renderer.h

Issue 944053004: OffscreenPreRaster and its plumbings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | android_webview/browser/browser_view_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/browser_view_renderer.h
diff --git a/android_webview/browser/browser_view_renderer.h b/android_webview/browser/browser_view_renderer.h
index e47104936c96b0c63e915e74c37364275227d8c0..9027564c72a6670b7c336faf381a0e75e148844f 100644
--- a/android_webview/browser/browser_view_renderer.h
+++ b/android_webview/browser/browser_view_renderer.h
@@ -55,6 +55,8 @@ class BrowserViewRenderer : public content::SynchronousCompositorClient {
void ClearView();
+ void SetOffscreenPreRaster(bool enabled);
+
// View update notifications.
void SetIsPaused(bool paused);
void SetViewVisibility(bool visible);
@@ -158,6 +160,8 @@ class BrowserViewRenderer : public content::SynchronousCompositorClient {
bool on_new_picture_enable_;
bool clear_view_;
+ bool offscreen_pre_raster_;
+
gfx::Vector2d last_on_draw_scroll_offset_;
gfx::Rect last_on_draw_global_visible_rect_;
« no previous file with comments | « no previous file | android_webview/browser/browser_view_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698