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

Unified Diff: components/view_manager/public/cpp/lib/view_manager_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: Added a TODO 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_manager_client_impl.h
diff --git a/components/view_manager/public/cpp/lib/view_manager_client_impl.h b/components/view_manager/public/cpp/lib/view_manager_client_impl.h
index e87f5e8af07bc4e3621ba288925facdad639c745..778ba8d0007ba0d52f36bf31aad0eae9202cfe7b 100644
--- a/components/view_manager/public/cpp/lib/view_manager_client_impl.h
+++ b/components/view_manager/public/cpp/lib/view_manager_client_impl.h
@@ -62,6 +62,10 @@ class ViewManagerClientImpl : public ViewManager,
void Embed(Id view_id, ViewManagerClientPtr client);
void EmbedAllowingReembed(mojo::URLRequestPtr request, Id view_id);
+ void RequestCompositorFrameReceiver(
+ Id view_id,
+ InterfaceRequest<CompositorFrameReceiver> receiver);
+
void set_change_acked_callback(const Callback<void(void)>& callback) {
change_acked_callback_ = callback;
}
@@ -102,6 +106,8 @@ class ViewManagerClientImpl : public ViewManager,
const OnEmbedForDescendantCallback& callback) override;
void OnEmbeddedAppDisconnected(Id view_id) override;
void OnUnembed() override;
+ void OnResourcesReturned(
+ mojo::Array<mojo::ReturnedResourcePtr> resources) override;
void OnViewBoundsChanged(Id view_id,
RectPtr old_bounds,
RectPtr new_bounds) override;

Powered by Google App Engine
This is Rietveld 408576698