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..6c09706c34890d0cc3ff971c1e5056a06e339a3d |
--- /dev/null |
+++ b/third_party/WebKit/public/platform/WebVideoSurfaceLayerBridge.h |
@@ -0,0 +1,25 @@ |
+// 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" |
+ |
+namespace cc { |
+class Layer; |
+} |
+ |
+namespace blink { |
+ |
+// Maintains and exposes the SurfaceLayer. |
+class BLINK_PLATFORM_EXPORT WebVideoSurfaceLayerBridge { |
+ public: |
+ static WebVideoSurfaceLayerBridge* Create(); |
+ virtual cc::Layer* GetLayer() = 0; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // WebVideoSurfaceLayerBridge_h |