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

Unified Diff: cc/trees/single_thread_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/proxy_main.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/single_thread_proxy.h
diff --git a/cc/trees/single_thread_proxy.h b/cc/trees/single_thread_proxy.h
index a60f7139a9d50771e29e6b062654571fed47b770..2275106cc424aaaa883bcd5bff0406f88abe6536 100644
--- a/cc/trees/single_thread_proxy.h
+++ b/cc/trees/single_thread_proxy.h
@@ -28,11 +28,9 @@ class CC_EXPORT SingleThreadProxy : public Proxy,
NON_EXPORTED_BASE(LayerTreeHostImplClient),
SchedulerClient {
public:
- static scoped_ptr<Proxy> Create(
- LayerTreeHost* layer_tree_host,
- LayerTreeHostSingleThreadClient* client,
- TaskRunnerProvider* task_runner_provider_,
- scoped_ptr<BeginFrameSource> external_begin_frame_source);
+ static scoped_ptr<Proxy> Create(LayerTreeHost* layer_tree_host,
+ LayerTreeHostSingleThreadClient* client,
+ TaskRunnerProvider* task_runner_provider_);
~SingleThreadProxy() override;
// Proxy implementation
@@ -54,7 +52,7 @@ class CC_EXPORT SingleThreadProxy : public Proxy,
bool CommitRequested() const override;
bool BeginMainFrameRequested() const override;
void MainThreadHasStoppedFlinging() override {}
- void Start() override;
+ void Start(scoped_ptr<BeginFrameSource> external_begin_frame_source) override;
void Stop() override;
bool SupportsImplScrolling() const override;
bool MainFrameWillHappenForTesting() override;
@@ -120,8 +118,7 @@ class CC_EXPORT SingleThreadProxy : public Proxy,
protected:
SingleThreadProxy(LayerTreeHost* layer_tree_host,
LayerTreeHostSingleThreadClient* client,
- TaskRunnerProvider* task_runner_provider,
- scoped_ptr<BeginFrameSource> external_begin_frame_source);
+ TaskRunnerProvider* task_runner_provider);
private:
void BeginMainFrame(const BeginFrameArgs& begin_frame_args);
« no previous file with comments | « cc/trees/proxy_main.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698