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 #include "extensions/browser/app_window/app_window.h" | 5 #include "extensions/browser/app_window/app_window.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
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 | 143 |
144 // AppWindow::CreateParams | 144 // AppWindow::CreateParams |
145 | 145 |
146 AppWindow::CreateParams::CreateParams() | 146 AppWindow::CreateParams::CreateParams() |
147 : window_type(AppWindow::WINDOW_TYPE_DEFAULT), | 147 : window_type(AppWindow::WINDOW_TYPE_DEFAULT), |
148 frame(AppWindow::FRAME_CHROME), | 148 frame(AppWindow::FRAME_CHROME), |
149 has_frame_color(false), | 149 has_frame_color(false), |
150 active_frame_color(SK_ColorBLACK), | 150 active_frame_color(SK_ColorBLACK), |
151 inactive_frame_color(SK_ColorBLACK), | 151 inactive_frame_color(SK_ColorBLACK), |
152 alpha_enabled(false), | 152 alpha_enabled(false), |
| 153 is_ime_window(false), |
153 creator_process_id(0), | 154 creator_process_id(0), |
154 state(ui::SHOW_STATE_DEFAULT), | 155 state(ui::SHOW_STATE_DEFAULT), |
155 hidden(false), | 156 hidden(false), |
156 resizable(true), | 157 resizable(true), |
157 focused(true), | 158 focused(true), |
158 always_on_top(false), | 159 always_on_top(false), |
159 visible_on_all_workspaces(false) { | 160 visible_on_all_workspaces(false) { |
160 } | 161 } |
161 | 162 |
162 AppWindow::CreateParams::~CreateParams() {} | 163 AppWindow::CreateParams::~CreateParams() {} |
(...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1066 region.bounds.x(), | 1067 region.bounds.x(), |
1067 region.bounds.y(), | 1068 region.bounds.y(), |
1068 region.bounds.right(), | 1069 region.bounds.right(), |
1069 region.bounds.bottom(), | 1070 region.bounds.bottom(), |
1070 region.draggable ? SkRegion::kUnion_Op : SkRegion::kDifference_Op); | 1071 region.draggable ? SkRegion::kUnion_Op : SkRegion::kDifference_Op); |
1071 } | 1072 } |
1072 return sk_region; | 1073 return sk_region; |
1073 } | 1074 } |
1074 | 1075 |
1075 } // namespace extensions | 1076 } // namespace extensions |
OLD | NEW |