Chromium Code Reviews| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 48 struct CreateParams { | 48 struct CreateParams { |
| 49 enum Frame { | 49 enum Frame { |
| 50 FRAME_CHROME, // Chrome-style window frame. | 50 FRAME_CHROME, // Chrome-style window frame. |
| 51 FRAME_NONE, // Frameless window. | 51 FRAME_NONE, // Frameless window. |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 CreateParams(); | 54 CreateParams(); |
| 55 ~CreateParams(); | 55 ~CreateParams(); |
| 56 | 56 |
| 57 Frame frame; | 57 Frame frame; |
| 58 bool transparent_background; | |
|
jeremya
2012/10/04 22:12:56
Can you add a comment here about only being suppor
Bernie
2012/10/10 21:05:01
Done.
| |
| 58 // Specify the initial bounds of the window. If empty, the window will be a | 59 // Specify the initial bounds of the window. If empty, the window will be a |
| 59 // default size. | 60 // default size. |
| 60 gfx::Rect bounds; | 61 gfx::Rect bounds; |
| 61 // Specify if bounds should be restored from a previous time. | 62 // Specify if bounds should be restored from a previous time. |
| 62 bool restore_position; | 63 bool restore_position; |
| 63 bool restore_size; | 64 bool restore_size; |
| 64 | 65 |
| 65 gfx::Size minimum_size; | 66 gfx::Size minimum_size; |
| 66 gfx::Size maximum_size; | 67 gfx::Size maximum_size; |
| 67 | 68 |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 200 | 201 |
| 201 // Used for loading app_icon_. | 202 // Used for loading app_icon_. |
| 202 scoped_ptr<ImageLoadingTracker> app_icon_loader_; | 203 scoped_ptr<ImageLoadingTracker> app_icon_loader_; |
| 203 | 204 |
| 204 scoped_ptr<NativeShellWindow> native_window_; | 205 scoped_ptr<NativeShellWindow> native_window_; |
| 205 | 206 |
| 206 DISALLOW_COPY_AND_ASSIGN(ShellWindow); | 207 DISALLOW_COPY_AND_ASSIGN(ShellWindow); |
| 207 }; | 208 }; |
| 208 | 209 |
| 209 #endif // CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ | 210 #endif // CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ |
| OLD | NEW |