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

Unified Diff: services/surfaces/surfaces_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: services/surfaces/surfaces_impl.h
diff --git a/services/surfaces/surfaces_impl.h b/services/surfaces/surfaces_impl.h
index 2c7d1a4c7ace297fb8934aabc6e2510e1a9f189f..49c7eeaad9212607f6080f38b309df9c5de8f4f6 100644
--- a/services/surfaces/surfaces_impl.h
+++ b/services/surfaces/surfaces_impl.h
@@ -52,6 +52,8 @@ class SurfacesImpl : public mojo::Surface,
~SurfacesImpl() override;
// Surface implementation.
+ void GetIdNamespace(const Surface::GetIdNamespaceCallback& callback) override;
+ void SetResourceReturner(mojo::ResourceReturnerPtr returner) override;
void CreateSurface(uint32_t local_id) override;
void SubmitFrame(uint32_t local_id,
mojo::FramePtr frame,
@@ -95,6 +97,7 @@ class SurfacesImpl : public mojo::Surface,
scoped_ptr<cc::Display> display_;
mojo::ScopedMessagePipeHandle command_buffer_handle_;
mojo::WeakBindingSet<ViewportParameterListener> parameter_listeners_;
+ mojo::ResourceReturnerPtr returner_;
mojo::StrongBinding<Surface> binding_;
DISALLOW_COPY_AND_ASSIGN(SurfacesImpl);

Powered by Google App Engine
This is Rietveld 408576698