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

Unified Diff: chrome/browser/ui/browser_window_state.h

Issue 11072002: Combined window positioning and show state determiniation in the WindowSizer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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: chrome/browser/ui/browser_window_state.h
diff --git a/chrome/browser/ui/browser_window_state.h b/chrome/browser/ui/browser_window_state.h
index d7810d5f66703af997648618bba76079743aec2a..a9dd0a2660fb15c49ae844d41e6d34e31d890653 100644
--- a/chrome/browser/ui/browser_window_state.h
+++ b/chrome/browser/ui/browser_window_state.h
@@ -25,9 +25,11 @@ void SaveWindowPlacement(const Browser* browser,
const gfx::Rect& bounds,
ui::WindowShowState show_state);
-gfx::Rect GetSavedWindowBounds(const Browser* browser);
-
-ui::WindowShowState GetSavedWindowShowState(const Browser* browser);
+// Return the bounds for the browser window to be used upon creation.
+// The |show_state| variable will recieve the desired initial show state for
+// the window.
+gfx::Rect GetSavedWindowBoundsAndShowState(const Browser* browser,
sky 2012/10/05 22:54:03 Be consistant. This should either take a gfx::Rect
Mr4D (OOO till 08-26) 2012/10/06 01:10:10 Done.
+ ui::WindowShowState& show_state);
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698