OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ | 5 #ifndef EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ |
6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ | 6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 CreateParams(); | 143 CreateParams(); |
144 ~CreateParams(); | 144 ~CreateParams(); |
145 | 145 |
146 WindowType window_type; | 146 WindowType window_type; |
147 Frame frame; | 147 Frame frame; |
148 | 148 |
149 bool has_frame_color; | 149 bool has_frame_color; |
150 SkColor active_frame_color; | 150 SkColor active_frame_color; |
151 SkColor inactive_frame_color; | 151 SkColor inactive_frame_color; |
152 bool alpha_enabled; | 152 bool alpha_enabled; |
| 153 bool is_ime_window; |
153 | 154 |
154 // The initial content/inner bounds specification (excluding any window | 155 // The initial content/inner bounds specification (excluding any window |
155 // decorations). | 156 // decorations). |
156 BoundsSpecification content_spec; | 157 BoundsSpecification content_spec; |
157 | 158 |
158 // The initial window/outer bounds specification (including window | 159 // The initial window/outer bounds specification (including window |
159 // decorations). | 160 // decorations). |
160 BoundsSpecification window_spec; | 161 BoundsSpecification window_spec; |
161 | 162 |
162 std::string window_key; | 163 std::string window_key; |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
559 | 560 |
560 // Whether |alpha_enabled| was set in the CreateParams. | 561 // Whether |alpha_enabled| was set in the CreateParams. |
561 bool requested_alpha_enabled_; | 562 bool requested_alpha_enabled_; |
562 | 563 |
563 DISALLOW_COPY_AND_ASSIGN(AppWindow); | 564 DISALLOW_COPY_AND_ASSIGN(AppWindow); |
564 }; | 565 }; |
565 | 566 |
566 } // namespace extensions | 567 } // namespace extensions |
567 | 568 |
568 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ | 569 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ |
OLD | NEW |