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

Unified Diff: examples/surfaces_app/child_impl.h

Issue 871373015: De-Client Surface interface (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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: examples/surfaces_app/child_impl.h
diff --git a/examples/surfaces_app/child_impl.h b/examples/surfaces_app/child_impl.h
index 46f2d7dfe01b7aabb33f6817abdf2e372e0d9333..1214014fc309a1db04f36f19eb381cdad578c30d 100644
--- a/examples/surfaces_app/child_impl.h
+++ b/examples/surfaces_app/child_impl.h
@@ -28,7 +28,7 @@ class ApplicationConnection;
namespace examples {
// Simple example of a child app using surfaces.
-class ChildImpl : public InterfaceImpl<Child>, public SurfaceClient {
+class ChildImpl : public InterfaceImpl<Child> {
public:
class Context {
public:
@@ -41,9 +41,7 @@ class ChildImpl : public InterfaceImpl<Child>, public SurfaceClient {
private:
using ProduceCallback = mojo::Callback<void(SurfaceIdPtr id)>;
- // SurfaceClient implementation
- void SetIdNamespace(uint32_t id_namespace) override;
- void ReturnResources(Array<ReturnedResourcePtr> resources) override;
+ void SetIdNamespace(uint32_t id_namespace);
// Child implementation.
void ProduceFrame(ColorPtr color,

Powered by Google App Engine
This is Rietveld 408576698