Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Unified Diff: components/view_manager/public/cpp/view_surface_client.h

Issue 1281663002: Mandoline: Allow submitting CompositorFrames directly to mojo::Views (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/view_manager/public/cpp/view_surface_client.h
diff --git a/components/view_manager/public/cpp/view_surface_client.h b/components/view_manager/public/cpp/view_surface_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..1a8d2e765bc65f4b5691fa6c4d63e765c9bc6766
--- /dev/null
+++ b/components/view_manager/public/cpp/view_surface_client.h
@@ -0,0 +1,24 @@
+// 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_VIEW_SURFACE_CLIENT_H_
+#define COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_SURFACE_CLIENT_H_
+
+namespace mojo {
+
+class ViewSurface;
+
+class ViewSurfaceClient {
+ public:
+ virtual void OnResourcesReturned(
+ ViewSurface* surface,
+ mojo::Array<mojo::ReturnedResourcePtr> resources) = 0;
+
+ protected:
+ ~ViewSurfaceClient() {}
+};
+
+} // namespace mojo
+
+#endif // COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_SURFACE_CLIENT_H_
« no previous file with comments | « components/view_manager/public/cpp/view_surface.h ('k') | components/view_manager/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698