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); |