Index: components/view_manager/public/cpp/surface_client.h |
diff --git a/components/view_manager/public/cpp/surface_client.h b/components/view_manager/public/cpp/surface_client.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6f424882f1f58d0d520fe898357323db1e3bd5cf |
--- /dev/null |
+++ b/components/view_manager/public/cpp/surface_client.h |
@@ -0,0 +1,23 @@ |
+// Copyright 2015 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 COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_SURFACE_CLIENT_H_ |
+#define COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_SURFACE_CLIENT_H_ |
+ |
+namespace uip { |
sky
2015/08/26 22:58:03
uip->mojo.
Fady Samuel
2015/08/26 23:51:00
Done.
|
+ |
+class Surface; |
+ |
+class SurfaceClient { |
+ public: |
+ virtual void OnResourcesReturned( |
+ Surface* surface, |
+ mojo::Array<mojo::ReturnedResourcePtr> resources) = 0; |
+ protected: |
sky
2015/08/26 22:58:03
nit: newline between 16 and 17.
Fady Samuel
2015/08/26 23:51:00
Done.
|
+ ~SurfaceClient() {} |
+}; |
+ |
+} // namespace uip |
+ |
+#endif // COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_SURFACE_CLIENT_H_ |