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

Unified Diff: ui/compositor/compositor.h

Issue 16871016: cc: Use BeginFrameArgs (Closed) Base URL: http://git.chromium.org/chromium/src.git@bfargs2
Patch Set: Add an --enable-deadline-scheduler commandline flag. Created 7 years, 4 months 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: ui/compositor/compositor.h
diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
index e6ce889f525520693bd9d838da61f1230e16fed2..bb31a107eb9147d27a83c979889a81aa6a6fac2b 100644
--- a/ui/compositor/compositor.h
+++ b/ui/compositor/compositor.h
@@ -34,6 +34,7 @@ class ContextProvider;
class Layer;
class LayerTreeDebugState;
class LayerTreeHost;
+class LayerTreeSettings;
class TestContextProvider;
}
@@ -303,6 +304,9 @@ class COMPOSITOR_EXPORT Compositor
static scoped_refptr<base::MessageLoopProxy> GetCompositorMessageLoop();
static void Terminate();
+ // Retreives the current LayerTreeSettings
+ const cc::LayerTreeSettings& layer_tree_settings() const;
+
// Schedules a redraw of the layer tree associated with this compositor.
void ScheduleDraw();

Powered by Google App Engine
This is Rietveld 408576698