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

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 + 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/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 f4e05c4e36e0fc73e6103cf2ef36165d2920f04c..5fcc0cf58a607241c48712e3e7867615fecd40be 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,
@@ -58,6 +57,10 @@ class ViewTreeClientImpl : public ViewTreeConnection, public ViewTreeClient {
void Embed(Id view_id, ViewTreeClientPtr client);
void EmbedAllowingReembed(mojo::URLRequestPtr request, Id view_id);
+ 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