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

Unified Diff: cc/scheduler.h

Issue 11361223: cc: Remove cc::settings, move them to LayerTreeSettings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using WebLayerTreeSettings for things WebKit can set Created 8 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.h
diff --git a/cc/scheduler.h b/cc/scheduler.h
index 5617a01addb0a48432bcd2b50c29da9af97e54b9..590302c650fda739c7034abd87e0705ab8dd68d1 100644
--- a/cc/scheduler.h
+++ b/cc/scheduler.h
@@ -10,6 +10,7 @@
#include "base/time.h"
#include "cc/cc_export.h"
#include "cc/frame_rate_controller.h"
+#include "cc/layer_tree_host.h"
#include "cc/scheduler_state_machine.h"
namespace cc {
@@ -41,6 +42,8 @@ public:
virtual void scheduledActionAcquireLayerTexturesForMainThread() = 0;
virtual void didAnticipatedDrawTimeChange(base::TimeTicks) = 0;
+ virtual const LayerTreeSettings& settings() const = 0;
+
protected:
virtual ~SchedulerClient() { }
};
« cc/layer_tree_host.cc ('K') | « cc/layer_unittest.cc ('k') | cc/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698