Index: components/exo/shell_surface.h |
diff --git a/components/exo/shell_surface.h b/components/exo/shell_surface.h |
index f9f29d8e4aeddd8f3ef888b850378352c84208d4..8bf979a3cd0b087fdf970bbde4055af7a1872d9d 100644 |
--- a/components/exo/shell_surface.h |
+++ b/components/exo/shell_surface.h |
@@ -55,9 +55,6 @@ class ShellSurface : public SurfaceDelegate, |
configure_callback_ = configure_callback; |
} |
- // Initialize shell surface as a toplevel window. |
- void Init(); |
- |
// Maximizes the shell surface. |
void Maximize(); |
@@ -109,6 +106,9 @@ class ShellSurface : public SurfaceDelegate, |
gfx::Size GetPreferredSize() const override; |
private: |
+ // Creates the |widget_| for |surface_|. |
+ void CreateShellSurfaceWidget(); |
+ |
scoped_ptr<views::Widget> widget_; |
Surface* surface_; |
base::string16 title_; |