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

Unified Diff: cc/scheduler/scheduler_settings.h

Issue 595973002: Moving background animation ticking from LayerTreeHostImpl into the Scheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scheduler-timesource-refactor
Patch Set: ALL TESTS PASS LOCALLY!!!! Created 6 years, 1 month 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/scheduler/scheduler_settings.h
diff --git a/cc/scheduler/scheduler_settings.h b/cc/scheduler/scheduler_settings.h
index 8607991914e80979b049e00693a4ad55325722c1..561d265ec4a4413cda3d34ce77c5341c13a8fad9 100644
--- a/cc/scheduler/scheduler_settings.h
+++ b/cc/scheduler/scheduler_settings.h
@@ -6,6 +6,7 @@
#define CC_SCHEDULER_SCHEDULER_SETTINGS_H_
#include "base/memory/ref_counted.h"
+#include "base/time/time.h"
#include "base/values.h"
#include "cc/base/cc_export.h"
@@ -33,6 +34,8 @@ class CC_EXPORT SchedulerSettings {
bool throttle_frame_production;
bool disable_hi_res_timer_tasks_on_battery;
+ base::TimeDelta background_frame_interval;
+
scoped_refptr<base::debug::ConvertableToTraceFormat> AsValue() const;
};

Powered by Google App Engine
This is Rietveld 408576698