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

Unified Diff: third_party/WebKit/public/platform/WebVideoSurfaceLayerBridge.h

Issue 2956713003: Replaces VideoLayer with a SurfaceLayer in WebMediaPlayerImpl (Closed)
Patch Set: Fixes error in deconstructor. Created 3 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/public/platform/WebVideoSurfaceLayerBridge.h
diff --git a/third_party/WebKit/public/platform/WebVideoSurfaceLayerBridge.h b/third_party/WebKit/public/platform/WebVideoSurfaceLayerBridge.h
new file mode 100644
index 0000000000000000000000000000000000000000..a6e2780a5cb6877364a4a96cd592c6828af7c477
--- /dev/null
+++ b/third_party/WebKit/public/platform/WebVideoSurfaceLayerBridge.h
@@ -0,0 +1,27 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebVideoSurfaceLayerBridge_h
+#define WebVideoSurfaceLayerBridge_h
+
+#include "WebCommon.h"
+#include "WebLayer.h"
+
+namespace cc {
+class Layer;
+}
+
+namespace blink {
+
+// Maintains and exposes the SurfaceLayer.
+class BLINK_PLATFORM_EXPORT WebVideoSurfaceLayerBridge {
+ public:
+ static WebVideoSurfaceLayerBridge* Create();
+ virtual WebLayer* GetWebLayer() const = 0;
+ virtual cc::Layer* GetCCLayer() const = 0;
+};
+
+} // namespace blink
+
+#endif // WebVideoSurfaceLayerBridge_h

Powered by Google App Engine
This is Rietveld 408576698