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

Unified Diff: third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h

Issue 2124893002: [SPv2] Use foreign layer support to enable composited video. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge with master, integration test Created 4 years, 5 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: 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;

Powered by Google App Engine
This is Rietveld 408576698