Index: third_party/WebKit/public/platform/WebSurfaceLayerBridge.h |
diff --git a/third_party/WebKit/public/platform/WebSurfaceLayerBridge.h b/third_party/WebKit/public/platform/WebSurfaceLayerBridge.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..10be3a667d9b0890d60ef731614d105a7458c7ea |
--- /dev/null |
+++ b/third_party/WebKit/public/platform/WebSurfaceLayerBridge.h |
@@ -0,0 +1,22 @@ |
+// 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 WebSurfaceLayerBridge_h |
+#define WebSurfaceLayerBridge_h |
+ |
+#include "WebCommon.h" |
+#include "WebLayer.h" |
+ |
+namespace blink { |
+ |
+// Maintains and exposes the SurfaceLayer. |
+class BLINK_PLATFORM_EXPORT WebSurfaceLayerBridge { |
+ public: |
+ static WebSurfaceLayerBridge* Create(); |
+ virtual WebLayer* GetWebLayer() const = 0; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // WebSurfaceLayerBridge_h |