OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_STATE_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_STATE_H_ |
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_STATE_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_STATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/prefs/scoped_user_pref_update.h" | 11 #include "components/prefs/scoped_user_pref_update.h" |
12 #include "ui/base/ui_base_types.h" | 12 #include "ui/base/ui_base_types.h" |
13 | 13 |
14 class Browser; | 14 class Browser; |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 class DictionaryValue; | 17 class DictionaryValue; |
18 } | 18 } |
19 | 19 |
20 namespace gfx { | 20 namespace gfx { |
21 class Rect; | 21 class Rect; |
(...skipping 30 matching lines...) Expand all Loading... |
52 // Return the |bounds| for the browser window to be used upon creation. | 52 // Return the |bounds| for the browser window to be used upon creation. |
53 // The |show_state| variable will receive the desired initial show state for | 53 // The |show_state| variable will receive the desired initial show state for |
54 // the window. | 54 // the window. |
55 void GetSavedWindowBoundsAndShowState(const Browser* browser, | 55 void GetSavedWindowBoundsAndShowState(const Browser* browser, |
56 gfx::Rect* bounds, | 56 gfx::Rect* bounds, |
57 ui::WindowShowState* show_state); | 57 ui::WindowShowState* show_state); |
58 | 58 |
59 } // namespace chrome | 59 } // namespace chrome |
60 | 60 |
61 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_STATE_H_ | 61 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_STATE_H_ |
OLD | NEW |