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 b15007adff3e7b31ebd9392dc06fbdf957e61eed..3b2af01c310dfe95bd7f4359a3adca85e6b9b5f4 100644 |
--- a/components/view_manager/public/cpp/view.h |
+++ b/components/view_manager/public/cpp/view.h |
@@ -18,6 +18,10 @@ |
#include "third_party/mojo/src/mojo/public/cpp/system/macros.h" |
#include "ui/mojo/geometry/geometry.mojom.h" |
+namespace uip { |
+class Surface; |
+} |
+ |
namespace mojo { |
class ServiceProviderImpl; |
@@ -61,6 +65,8 @@ class View { |
const ViewportMetrics& viewport_metrics() { return *viewport_metrics_; } |
+ scoped_ptr<uip::Surface> 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 +129,6 @@ class View { |
View* GetChildById(Id id); |
- void SetSurfaceId(SurfaceIdPtr id); |
- |
void SetTextInputState(TextInputStatePtr state); |
void SetImeVisibility(bool visible, TextInputStatePtr state); |