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

Unified Diff: components/view_manager/public/cpp/lib/view_tree_client_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
Index: components/view_manager/public/cpp/lib/view_tree_client_impl.h
diff --git a/components/view_manager/public/cpp/lib/view_tree_client_impl.h b/components/view_manager/public/cpp/lib/view_tree_client_impl.h
index 1d300b0fd9d639f54ae5edcd14a4885d37ec248c..806ed4cf887e064a06929cc2276532af5ab2f995 100644
--- a/components/view_manager/public/cpp/lib/view_tree_client_impl.h
+++ b/components/view_manager/public/cpp/lib/view_tree_client_impl.h
@@ -41,7 +41,6 @@ class ViewTreeClientImpl : public ViewTreeConnection, public ViewTreeClient {
bool OwnsView(Id id) const;
void SetBounds(Id view_id, const Rect& bounds);
- void SetSurfaceId(Id view_id, SurfaceIdPtr surface_id);
void SetFocus(Id view_id);
void SetVisible(Id view_id, bool visible);
void SetProperty(Id view_id,
@@ -57,6 +56,10 @@ class ViewTreeClientImpl : public ViewTreeConnection, public ViewTreeClient {
ServiceProviderPtr exposed_services);
void Embed(Id view_id, ViewTreeClientPtr client);
+ void RequestSurface(Id view_id,
+ InterfaceRequest<Surface> surface,
+ SurfaceClientPtr client);
+
void set_change_acked_callback(const Callback<void(void)>& callback) {
change_acked_callback_ = callback;
}

Powered by Google App Engine
This is Rietveld 408576698