Index: third_party/WebKit/public/platform/WebSurfaceLayerBridgeObserver.h |
diff --git a/third_party/WebKit/public/platform/WebSurfaceLayerBridgeObserver.h b/third_party/WebKit/public/platform/WebSurfaceLayerBridgeObserver.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8cae55f089063978892782f8d6b817c38a8f5439 |
--- /dev/null |
+++ b/third_party/WebKit/public/platform/WebSurfaceLayerBridgeObserver.h |
@@ -0,0 +1,20 @@ |
+// 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 WebSurfaceLayerBridgeObserver_h |
+#define WebSurfaceLayerBridgeObserver_h |
+ |
+namespace blink { |
+ |
+class WebSurfaceLayerBridgeObserver { |
mlamouri (slow - plz ping)
2017/06/27 18:26:37
You might want to add some class level documentati
CJ
2017/06/29 19:51:33
Done. Please check my wording.
|
+ public: |
+ WebSurfaceLayerBridgeObserver() {} |
mlamouri (slow - plz ping)
2017/06/27 18:26:37
Do you need the ctor here?
CJ
2017/06/29 19:51:34
Done.
|
+ virtual ~WebSurfaceLayerBridgeObserver() {} |
+ |
+ virtual void OnWebLayerReplaced() = 0; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif |