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..3e0e2f7ef8b096f3ed3157f866e8a66e0db89b31 |
--- /dev/null |
+++ b/third_party/WebKit/public/platform/WebVideoSurfaceLayerBridge.h |
@@ -0,0 +1,23 @@ |
+// 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 "cc/layers/layer.h" |
mlamouri (slow - plz ping)
2017/06/27 18:26:37
Instead of the #include, you should be able to for
CJ
2017/06/29 19:51:34
Done.
|
+#include "public/platform/WebSurfaceLayerBridgeObserver.h" |
mlamouri (slow - plz ping)
2017/06/27 18:26:38
ditto
CJ
2017/06/29 19:51:34
Done.
|
+ |
+namespace blink { |
+ |
+class BLINK_PLATFORM_EXPORT WebVideoSurfaceLayerBridge { |
mlamouri (slow - plz ping)
2017/06/27 18:26:37
same here for the class level documentation
CJ
2017/06/29 19:51:34
Done.
|
+ public: |
+ static WebVideoSurfaceLayerBridge* Create( |
+ WebSurfaceLayerBridgeObserver* observer); |
+ virtual cc::Layer* GetLayer() = 0; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // WebVideoSurfaceLayerBridge_h |