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_EXTENSIONS_SHELL_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ |
6 #define CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "chrome/browser/extensions/extension_function_dispatcher.h" | 9 #include "chrome/browser/extensions/extension_function_dispatcher.h" |
10 #include "chrome/browser/extensions/extension_keybinding_registry.h" | 10 #include "chrome/browser/extensions/extension_keybinding_registry.h" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 }; | 51 }; |
52 | 52 |
53 CreateParams(); | 53 CreateParams(); |
54 ~CreateParams(); | 54 ~CreateParams(); |
55 | 55 |
56 Frame frame; | 56 Frame frame; |
57 // Specify the initial bounds of the window. INT_MIN designates | 57 // Specify the initial bounds of the window. INT_MIN designates |
58 // 'unspecified' for any coordinate, and should be replaced with a default | 58 // 'unspecified' for any coordinate, and should be replaced with a default |
59 // value. | 59 // value. |
60 gfx::Rect bounds; | 60 gfx::Rect bounds; |
61 // Specify if bounds should be restored from a previous time. | |
62 bool restore_position; | |
63 bool restore_size; | |
64 | 61 |
65 gfx::Size minimum_size; | 62 gfx::Size minimum_size; |
66 gfx::Size maximum_size; | 63 gfx::Size maximum_size; |
67 | 64 |
68 std::string window_key; | 65 std::string window_key; |
69 | 66 |
70 // The process ID of the process that requested the create. | 67 // The process ID of the process that requested the create. |
71 int32 creator_process_id; | 68 int32 creator_process_id; |
72 | 69 |
73 // If true, don't show the window after creation. | 70 // If true, don't show the window after creation. |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 | 210 |
214 // Used for loading app_icon_. | 211 // Used for loading app_icon_. |
215 scoped_ptr<ImageLoadingTracker> app_icon_loader_; | 212 scoped_ptr<ImageLoadingTracker> app_icon_loader_; |
216 | 213 |
217 scoped_ptr<NativeShellWindow> native_window_; | 214 scoped_ptr<NativeShellWindow> native_window_; |
218 | 215 |
219 DISALLOW_COPY_AND_ASSIGN(ShellWindow); | 216 DISALLOW_COPY_AND_ASSIGN(ShellWindow); |
220 }; | 217 }; |
221 | 218 |
222 #endif // CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ | 219 #endif // CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ |
OLD | NEW |