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

Unified Diff: cc/blink/web_layer_impl.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: cc/blink/web_layer_impl.h
diff --git a/cc/blink/web_layer_impl.h b/cc/blink/web_layer_impl.h
index beaf3b51679ab34a60520a79c3fac724c0e18a53..c60df91cedda933260fe27d1122e44646863fd7d 100644
--- a/cc/blink/web_layer_impl.h
+++ b/cc/blink/web_layer_impl.h
@@ -39,6 +39,7 @@ class ConvertableToTraceFormat;
namespace cc {
class Layer;
+class LayerSettings;
}
namespace cc_blink {
@@ -54,6 +55,10 @@ class WebLayerImpl : public blink::WebLayer, public cc::LayerClient {
static bool UsingPictureLayer();
CC_BLINK_EXPORT static void SetImplSidePaintingEnabled(bool enabled);
+ CC_BLINK_EXPORT static void SetLayerSettings(
+ const cc::LayerSettings& settings);
+ CC_BLINK_EXPORT static cc::LayerSettings& LayerSettings();
+
CC_BLINK_EXPORT cc::Layer* layer() const;
// WebLayer implementation.

Powered by Google App Engine
This is Rietveld 408576698