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

Unified Diff: components/view_manager/view_tree_impl.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
« no previous file with comments | « components/view_manager/view_manager_app.cc ('k') | components/view_manager/view_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/view_tree_impl.h
diff --git a/components/view_manager/view_tree_impl.h b/components/view_manager/view_tree_impl.h
index a8bc14b760098caaf4fa79bf10da964ea68909f8..3db118c190e58b47fcd04ef734aa00235c82e21d 100644
--- a/components/view_manager/view_tree_impl.h
+++ b/components/view_manager/view_tree_impl.h
@@ -180,9 +180,6 @@ class ViewTreeImpl : public mojo::ViewTree, public AccessPolicyDelegate {
void GetViewTree(mojo::Id view_id,
const mojo::Callback<void(mojo::Array<mojo::ViewDataPtr>)>&
callback) override;
- void SetViewSurfaceId(mojo::Id view_id,
- mojo::SurfaceIdPtr surface_id,
- const mojo::Callback<void(bool)>& callback) override;
void SetViewBounds(mojo::Id view_id,
mojo::RectPtr bounds,
const mojo::Callback<void(bool)>& callback) override;
@@ -193,6 +190,10 @@ class ViewTreeImpl : public mojo::ViewTree, public AccessPolicyDelegate {
const mojo::String& name,
mojo::Array<uint8_t> value,
const mojo::Callback<void(bool)>& callback) override;
+ void RequestSurface(
+ mojo::Id view_id,
+ mojo::InterfaceRequest<mojo::Surface> surface,
+ mojo::SurfaceClientPtr client) override;
void SetEmbedRoot() override;
void Embed(mojo::Id transport_view_id,
mojo::ViewTreeClientPtr client,
« no previous file with comments | « components/view_manager/view_manager_app.cc ('k') | components/view_manager/view_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698