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

Unified Diff: cc/trees/layer_tree_host_client.h

Issue 423773002: Unified BeginFrame scheduling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Working on aura with --enable-begin-frame-scheduling Created 6 years, 4 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 74dcbc0cff24631873737c4cdc42341e1051f4ed..e0ae97ea4383d2e211d32aa4551421bfe08b6ab8 100644
--- a/cc/trees/layer_tree_host_client.h
+++ b/cc/trees/layer_tree_host_client.h
@@ -17,6 +17,7 @@ namespace cc {
class ContextProvider;
class InputHandlerClient;
class OutputSurface;
+struct BeginFrameArgs;
class LayerTreeHostClient {
public:
@@ -43,6 +44,10 @@ class LayerTreeHostClient {
// a TextureLayer that calls SetRateLimitContext(true).
virtual void RateLimitSharedMainThreadContext() {}
+ // Change this to abstract method when all platforms are ready for unified
+ // BeginFrame.
+ virtual void SendBeginFrame(const BeginFrameArgs& args) {}
brianderson 2014/08/21 00:13:59 Can you make the default implementation call NOT_R
simonhong 2014/08/26 08:24:48 Removed. Scheduler will call BeginFrameManager::Se
+
// This hook is for testing.
virtual void DidFailToInitializeOutputSurface() {}

Powered by Google App Engine
This is Rietveld 408576698