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

Unified Diff: components/view_manager/public/cpp/view.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/view.h
diff --git a/components/view_manager/public/cpp/view.h b/components/view_manager/public/cpp/view.h
index 6f9c7e60ace6af04e3076c4cfe9574ea58d38fd3..c67ef3bb2f966011c80f11a6b7016f6fe5335914 100644
--- a/components/view_manager/public/cpp/view.h
+++ b/components/view_manager/public/cpp/view.h
@@ -23,6 +23,7 @@ namespace mojo {
class ServiceProviderImpl;
class View;
class ViewObserver;
+class ViewSurface;
class ViewTreeConnection;
// Defined in view_property.h (which we do not include)
@@ -61,6 +62,8 @@ class View {
const ViewportMetrics& viewport_metrics() { return *viewport_metrics_; }
+ scoped_ptr<ViewSurface> RequestSurface();
+
// Returns the set of string to bag of byte properties. These properties are
// shared with the view manager.
const SharedProperties& shared_properties() const { return properties_; }
@@ -123,8 +126,6 @@ class View {
View* GetChildById(Id id);
- void SetSurfaceId(SurfaceIdPtr id);
-
void SetTextInputState(TextInputStatePtr state);
void SetImeVisibility(bool visible, TextInputStatePtr state);
« no previous file with comments | « components/view_manager/public/cpp/lib/view_tree_client_impl.cc ('k') | components/view_manager/public/cpp/view_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698