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

Unified Diff: chrome/browser/android/compositor/layer/content_layer.h

Issue 1101823002: CC Animations: Make LayerAnimationController creation optional (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Plumb LayerSettings parameter for cc::Layer construction. 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: chrome/browser/android/compositor/layer/content_layer.h
diff --git a/chrome/browser/android/compositor/layer/content_layer.h b/chrome/browser/android/compositor/layer/content_layer.h
index 54f0eec303a0c70d0ff8e805394efb4eb3e902d6..580e93351822deac1e353aba8606f6f141055ae0 100644
--- a/chrome/browser/android/compositor/layer/content_layer.h
+++ b/chrome/browser/android/compositor/layer/content_layer.h
@@ -45,6 +45,9 @@ class ContentLayer : public Layer {
scoped_refptr<cc::Layer> layer() override;
+ static const cc::LayerSettings& ContentLayerSettings();
+ static void SetContentLayerSettings(const cc::LayerSettings& settings);
+
protected:
explicit ContentLayer(TabContentManager* tab_content_manager);
~ContentLayer() override;

Powered by Google App Engine
This is Rietveld 408576698