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

Unified Diff: cc/scheduler/scheduler.h

Issue 60353002: cc: add DevTools instrumentation for impl-side frames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 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/debug/devtools_instrumentation.h ('k') | cc/scheduler/scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/scheduler.h
diff --git a/cc/scheduler/scheduler.h b/cc/scheduler/scheduler.h
index da7cc9dbde80b1e744b05e1450870d6af05a1e42..9209782939068382f106614818d31027b888a26a 100644
--- a/cc/scheduler/scheduler.h
+++ b/cc/scheduler/scheduler.h
@@ -60,8 +60,10 @@ class CC_EXPORT Scheduler {
public:
static scoped_ptr<Scheduler> Create(
SchedulerClient* client,
- const SchedulerSettings& scheduler_settings) {
- return make_scoped_ptr(new Scheduler(client, scheduler_settings));
+ const SchedulerSettings& scheduler_settings,
+ int layer_tree_host_id) {
+ return make_scoped_ptr(
+ new Scheduler(client, scheduler_settings, layer_tree_host_id));
}
virtual ~Scheduler();
@@ -127,7 +129,8 @@ class CC_EXPORT Scheduler {
private:
Scheduler(SchedulerClient* client,
- const SchedulerSettings& scheduler_settings);
+ const SchedulerSettings& scheduler_settings,
+ int layer_tree_host_id);
void PostBeginImplFrameDeadline(base::TimeTicks deadline);
void SetupNextBeginImplFrameIfNeeded();
@@ -142,6 +145,7 @@ class CC_EXPORT Scheduler {
const SchedulerSettings settings_;
SchedulerClient* client_;
+ int layer_tree_host_id_;
bool last_set_needs_begin_impl_frame_;
BeginFrameArgs last_begin_impl_frame_args_;
« no previous file with comments | « cc/debug/devtools_instrumentation.h ('k') | cc/scheduler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698