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

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: Missing include. 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
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/proxy_main.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/proxy.h
diff --git a/cc/trees/proxy.h b/cc/trees/proxy.h
index 132a4ff62d5fda0d0a0660ee769b13b4e26f235a..5798fa8efb51f7ac9c4e45f768008c70a6314a74 100644
--- a/cc/trees/proxy.h
+++ b/cc/trees/proxy.h
@@ -16,6 +16,7 @@
#include "base/values.h"
#include "cc/base/cc_export.h"
#include "cc/input/top_controls_state.h"
+#include "cc/scheduler/begin_frame_source.h"
#include "cc/trees/task_runner_provider.h"
namespace gfx {
@@ -24,6 +25,7 @@ class Vector2d;
}
namespace cc {
+class BeginFrameSource;
class LayerTreeDebugState;
class OutputSurface;
struct RendererCapabilities;
@@ -69,7 +71,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698