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

Unified Diff: public/platform/WebLayerTreeView.h

Issue 1177363002: Add a new hook to WebLayerTreeView for requesting frames. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebLayerTreeView.h
diff --git a/public/platform/WebLayerTreeView.h b/public/platform/WebLayerTreeView.h
index 4f3c2d7ba3c06e4e864d5fb396809960e07be2ac..2eee1588bea7ddedbddeb67b5f09f72b1db6bf5e 100644
--- a/public/platform/WebLayerTreeView.h
+++ b/public/platform/WebLayerTreeView.h
@@ -105,6 +105,12 @@ public:
// Indicates that an animation needs to be updated.
virtual void setNeedsAnimate() = 0;
+ // Indicates that blink needs a BeginFrame, but that nothing might actually be dirty.
+ virtual void setNeedsBeginFrame() { }
+
+ // Indicates that blink needs a BeginFrame and to update compositor state.
+ virtual void setNeedsCompositorUpdate() { }
+
// Indicates whether a commit is pending.
virtual bool commitRequested() const = 0;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698