Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
|
Matt Giuca
2014/02/18 06:03:18
CL description:
This works on Linux pretty well ("
benwells
2014/02/18 07:47:25
Done.
| |
| 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 APPS_APP_WINDOW_H_ | 5 #ifndef APPS_APP_WINDOW_H_ |
| 6 #define APPS_APP_WINDOW_H_ | 6 #define APPS_APP_WINDOW_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "chrome/browser/extensions/extension_icon_image.h" | 10 #include "chrome/browser/extensions/extension_icon_image.h" |
| 11 #include "chrome/browser/extensions/extension_keybinding_registry.h" | 11 #include "chrome/browser/extensions/extension_keybinding_registry.h" |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 150 gfx::Size minimum_size_; | 150 gfx::Size minimum_size_; |
| 151 gfx::Size maximum_size_; | 151 gfx::Size maximum_size_; |
| 152 }; | 152 }; |
| 153 | 153 |
| 154 struct CreateParams { | 154 struct CreateParams { |
| 155 CreateParams(); | 155 CreateParams(); |
| 156 ~CreateParams(); | 156 ~CreateParams(); |
| 157 | 157 |
| 158 WindowType window_type; | 158 WindowType window_type; |
| 159 Frame frame; | 159 Frame frame; |
| 160 | |
| 161 bool has_frame_color; | |
| 162 SkColor frame_color; | |
| 160 bool transparent_background; // Only supported on ash. | 163 bool transparent_background; // Only supported on ash. |
| 161 | 164 |
| 162 // Specify the initial content bounds of the window (excluding any window | 165 // Specify the initial content bounds of the window (excluding any window |
| 163 // decorations). INT_MIN designates 'unspecified' for the position | 166 // decorations). INT_MIN designates 'unspecified' for the position |
| 164 // components, and 0 for the size components. When unspecified, they should | 167 // components, and 0 for the size components. When unspecified, they should |
| 165 // be replaced with a default value. | 168 // be replaced with a default value. |
| 166 gfx::Rect bounds; | 169 gfx::Rect bounds; |
| 167 | 170 |
| 168 gfx::Size minimum_size; | 171 gfx::Size minimum_size; |
| 169 gfx::Size maximum_size; | 172 gfx::Size maximum_size; |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 545 // reinstated when the window exits fullscreen and moves away from the | 548 // reinstated when the window exits fullscreen and moves away from the |
| 546 // taskbar. | 549 // taskbar. |
| 547 bool cached_always_on_top_; | 550 bool cached_always_on_top_; |
| 548 | 551 |
| 549 DISALLOW_COPY_AND_ASSIGN(AppWindow); | 552 DISALLOW_COPY_AND_ASSIGN(AppWindow); |
| 550 }; | 553 }; |
| 551 | 554 |
| 552 } // namespace apps | 555 } // namespace apps |
| 553 | 556 |
| 554 #endif // APPS_APP_WINDOW_H_ | 557 #endif // APPS_APP_WINDOW_H_ |
| OLD | NEW |