Index: third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h |
diff --git a/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h b/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h |
index 8cb8694edefc1c60f981ae968225846c1c3c3c93..25ec4089902e81e8762ee3326163fc08ae9682e9 100644 |
--- a/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h |
+++ b/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h |
@@ -28,11 +28,14 @@ class WebLayerTreeViewImplForTesting : public blink::WebLayerTreeView, |
WTF_MAKE_NONCOPYABLE(WebLayerTreeViewImplForTesting); |
public: |
WebLayerTreeViewImplForTesting(); |
+ enum LayerListPolicy { DontUseLayerLists, UseLayerLists }; |
+ explicit WebLayerTreeViewImplForTesting(LayerListPolicy); |
explicit WebLayerTreeViewImplForTesting(const cc::LayerTreeSettings&); |
~WebLayerTreeViewImplForTesting() override; |
static cc::LayerTreeSettings defaultLayerTreeSettings(); |
cc::LayerTreeHost* layerTreeHost() { return m_layerTreeHost.get(); } |
+ bool hasLayer(const WebLayer&); |
// blink::WebLayerTreeView implementation. |
void setRootLayer(const blink::WebLayer&) override; |