summaryrefslogtreecommitdiffstats
path: root/cc/blink/web_layer_impl.h
diff options
context:
space:
mode:
authorloyso <loyso@chromium.org>2015-05-24 20:26:44 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-25 03:27:26 +0000
commita6edaaff54e9b948c64a896edff992c04e63205d (patch)
treeaf7fe7c050ec5d675d33d3d92acb69170b0a29ed /cc/blink/web_layer_impl.h
parent6f6374ee312ec0f8e07e208056a8f9135d97087f (diff)
downloadchromium_src-a6edaaff54e9b948c64a896edff992c04e63205d.zip
chromium_src-a6edaaff54e9b948c64a896edff992c04e63205d.tar.gz
chromium_src-a6edaaff54e9b948c64a896edff992c04e63205d.tar.bz2
CC: Plumb LayerSettings parameter for cc::Layer construction.
Next episode: https://codereview.chromium.org/1101823002/ This is a prerequisite to implement compositor animation timelines. https://codereview.chromium.org/947033002/ BUG=394777 R=ajuma@chromium.org R=vollick@chromium.org R=piman@chromium.org R=danakj@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1122393003 Cr-Commit-Position: refs/heads/master@{#331256}
Diffstat (limited to 'cc/blink/web_layer_impl.h')
-rw-r--r--cc/blink/web_layer_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cc/blink/web_layer_impl.h b/cc/blink/web_layer_impl.h
index beaf3b5..cf4eaae 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.