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

Unified Diff: android_webview/browser/browser_view_renderer.h

Issue 646303004: aw: Ensure invalidation when pipeline is stalled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2171
Patch Set: Created 6 years, 2 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 c38c3476abd862a2f4483f260b10d3772309b09a..5231294462453f189a9705caa3043f4551c71baa 100644
--- a/android_webview/browser/browser_view_renderer.h
+++ b/android_webview/browser/browser_view_renderer.h
@@ -144,6 +144,7 @@ class BrowserViewRenderer : public content::SynchronousCompositorClient,
bool effective_immediately) OVERRIDE;
void UpdateParentDrawConstraints();
+ void DidSkipCommitFrame();
private:
void SetTotalRootLayerScrollOffset(gfx::Vector2dF new_value_dip);
@@ -157,7 +158,7 @@ class BrowserViewRenderer : public content::SynchronousCompositorClient,
bool OnDrawSoftware(jobject java_canvas);
bool CompositeSW(SkCanvas* canvas);
void DidComposite();
- void SkippedCompositeInDraw();
+ void DidSkipCompositeInDraw();
scoped_ptr<base::Value> RootLayerStateAsValue(
const gfx::Vector2dF& total_scroll_offset_dip,
const gfx::SizeF& scrollable_size_dip);
@@ -219,6 +220,8 @@ class BrowserViewRenderer : public content::SynchronousCompositorClient,
// states.
bool compositor_needs_continuous_invalidate_;
+ bool invalidate_after_composite_;
+
// Used to block additional invalidates while one is already pending.
bool block_invalidates_;
« 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