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

Unified Diff: cc/trees/layer_tree_host_client.h

Issue 2753843003: Create a new action triggered when a BeginMainFrame is not expected before vsync (Closed)
Patch Set: missed one Created 3 years, 9 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
Index: cc/trees/layer_tree_host_client.h
diff --git a/cc/trees/layer_tree_host_client.h b/cc/trees/layer_tree_host_client.h
index c0fcb4bef14dc0360864554c93a903668534cd07..06fff260c9edecf6d65444dfed0dafc1e539fb21 100644
--- a/cc/trees/layer_tree_host_client.h
+++ b/cc/trees/layer_tree_host_client.h
@@ -24,6 +24,7 @@ class LayerTreeHostClient {
// mode, this corresponds to DidCommit().
virtual void BeginMainFrame(const BeginFrameArgs& args) = 0;
virtual void BeginMainFrameNotExpectedSoon() = 0;
+ virtual void DoShortIdleWork(const BeginFrameArgs& args) = 0;
virtual void DidBeginMainFrame() = 0;
// A LayerTreeHost is bound to a LayerTreeHostClient. Visual frame-based
// updates to the state of the LayerTreeHost are expected to happen only in

Powered by Google App Engine
This is Rietveld 408576698