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

Unified Diff: cc/blink/web_layer_impl.h

Issue 1122393003: CC: Plumb LayerSettings parameter for cc::Layer construction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
« no previous file with comments | « cc/blink/web_image_layer_impl.cc ('k') | cc/blink/web_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..cf4eaae752732568b84bec56712042aa7e8b9ca4 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 const cc::LayerSettings& LayerSettings();
+
CC_BLINK_EXPORT cc::Layer* layer() const;
// WebLayer implementation.
« no previous file with comments | « cc/blink/web_image_layer_impl.cc ('k') | cc/blink/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698