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

Unified Diff: components/exo/shell_surface.h

Issue 1645043003: exo: Improve window placement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « components/exo/pointer_unittest.cc ('k') | components/exo/shell_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « components/exo/pointer_unittest.cc ('k') | components/exo/shell_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698