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

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 + added uip::Surface 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/view_tree_impl.h
diff --git a/components/view_manager/view_tree_impl.h b/components/view_manager/view_tree_impl.h
index e2d3779fac2e6b2b236d42f1751e3919079c5083..1113fe14e90b67b118260781176d4baecf1a8a8b 100644
--- a/components/view_manager/view_tree_impl.h
+++ b/components/view_manager/view_tree_impl.h
@@ -196,9 +196,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;
@@ -209,6 +206,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,

Powered by Google App Engine
This is Rietveld 408576698