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

Unified Diff: components/view_manager/public/cpp/lib/view.cc

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.cc
diff --git a/components/view_manager/public/cpp/lib/view.cc b/components/view_manager/public/cpp/lib/view.cc
index 47c0f5ceb0f53a84df572f3eb489f097978d6f9b..677bdc963463ae742a0e366fa57398df90e21b40 100644
--- a/components/view_manager/public/cpp/lib/view.cc
+++ b/components/view_manager/public/cpp/lib/view.cc
@@ -223,6 +223,12 @@ void View::SetVisible(bool value) {
LocalSetVisible(value);
}
+void View::RequestCompositorFrameReceiver(
+ InterfaceRequest<CompositorFrameReceiver> receiver) {
+ static_cast<ViewManagerClientImpl*>(manager_)->RequestCompositorFrameReceiver(
+ id_, receiver.Pass());
+}
+
void View::SetSharedProperty(const std::string& name,
const std::vector<uint8_t>* value) {
std::vector<uint8_t> old_value;

Powered by Google App Engine
This is Rietveld 408576698