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

Unified Diff: ui/compositor/layer.h

Issue 1122393003: CC: Plumb LayerSettings parameter for cc::Layer construction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-work Android LayerSettings. Created 5 years, 7 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/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index 571bdbfb123ff7b655657c6c834efda82766b437..4e957cfd83e3142effd5fb323900b36d71902dfc 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -78,6 +78,9 @@ class COMPOSITOR_EXPORT Layer
static bool UsingPictureLayer();
+ static const cc::LayerSettings& UILayerSettings();
+ static void SetUILayerSettings(const cc::LayerSettings& settings);
+
// Retrieves the Layer's compositor. The Layer will walk up its parent chain
// to locate it. Returns NULL if the Layer is not attached to a compositor.
Compositor* GetCompositor() {

Powered by Google App Engine
This is Rietveld 408576698