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() { } |