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

Unified Diff: public/web/WebWidget.h

Issue 516103003: scheduler: Tell the scheduler about frame timing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Still need to keep animate() around. Created 6 years, 3 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 | « public/web/WebBeginFrameArgs.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebWidget.h
diff --git a/public/web/WebWidget.h b/public/web/WebWidget.h
index d0e12437890840de7d3f096cb11941719c0c1f65..7d41f7bba823033a714a6c3825ba533e29968608 100644
--- a/public/web/WebWidget.h
+++ b/public/web/WebWidget.h
@@ -96,6 +96,11 @@ public:
}
virtual void beginFrame(const WebBeginFrameArgs& frameTime) { }
+ // Called to notify that a previously begun frame was finished and
+ // committed to the compositor. This is used to schedule lower priority
+ // work after tasks such as input processing and painting.
+ virtual void didCommitFrameToCompositor() { }
+
// Called to layout the WebWidget. This MUST be called before Paint,
// and it may result in calls to WebWidgetClient::didInvalidateRect.
virtual void layout() { }
« no previous file with comments | « public/web/WebBeginFrameArgs.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698