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