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

Unified Diff: cc/trees/proxy.h

Issue 1520623003: cc:: Change plumbing for external_begin_frame_source to the Scheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/proxy.h
diff --git a/cc/trees/proxy.h b/cc/trees/proxy.h
index 132a4ff62d5fda0d0a0660ee769b13b4e26f235a..cec45e743b960906ee449de386c19e3f2695e79f 100644
--- a/cc/trees/proxy.h
+++ b/cc/trees/proxy.h
@@ -24,6 +24,7 @@ class Vector2d;
}
namespace cc {
+class BeginFrameSource;
class LayerTreeDebugState;
class OutputSurface;
struct RendererCapabilities;
@@ -69,7 +70,8 @@ class CC_EXPORT Proxy {
virtual bool BeginMainFrameRequested() const = 0;
// Must be called before using the proxy.
- virtual void Start() = 0;
+ virtual void Start(
+ scoped_ptr<BeginFrameSource> external_begin_frame_source) = 0;
virtual void Stop() = 0; // Must be called before deleting the proxy.
virtual bool SupportsImplScrolling() const = 0;
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/proxy_main.h » ('j') | cc/trees/proxy_main.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698