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 cb224db296789bd9ed22ae010d878663ce384a7d..49b4534b9c3278798abd5537682d1cc164cf8e29 100644 |
--- a/chrome/browser/ui/browser_window_state.h |
+++ b/chrome/browser/ui/browser_window_state.h |
@@ -14,6 +14,7 @@ |
class Browser; |
namespace base { |
+class CommandLine; |
class DictionaryValue; |
} |
@@ -58,6 +59,17 @@ void GetSavedWindowBoundsAndShowState(const Browser* browser, |
gfx::Rect* bounds, |
ui::WindowShowState* show_state); |
+namespace internal { |
+ |
+// Updates window bounds and show state from the provided command-line. Part of |
+// implementation of GetSavedWindowBoundsAndShowState, but exposed for testing. |
+void UpdateWindowBoundsAndShowStateFromCommandLine( |
+ const base::CommandLine& command_line, |
+ gfx::Rect* bounds, |
+ ui::WindowShowState* show_state); |
+ |
+} // namespace internal |
+ |
} // namespace chrome |
#endif // CHROME_BROWSER_UI_BROWSER_WINDOW_STATE_H_ |