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(); |