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 "apps/app_window.h" | 5 #include "apps/app_window.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> |
| 9 #include <vector> |
8 | 10 |
9 #include "apps/app_window_geometry_cache.h" | 11 #include "apps/app_window_geometry_cache.h" |
10 #include "apps/app_window_registry.h" | 12 #include "apps/app_window_registry.h" |
11 #include "apps/apps_client.h" | 13 #include "apps/apps_client.h" |
12 #include "apps/size_constraints.h" | 14 #include "apps/size_constraints.h" |
13 #include "apps/ui/native_app_window.h" | 15 #include "apps/ui/native_app_window.h" |
14 #include "apps/ui/web_contents_sizer.h" | 16 #include "apps/ui/web_contents_sizer.h" |
15 #include "base/command_line.h" | 17 #include "base/command_line.h" |
16 #include "base/strings/string_util.h" | 18 #include "base/strings/string_util.h" |
17 #include "base/strings/utf_string_conversions.h" | 19 #include "base/strings/utf_string_conversions.h" |
(...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1153 region.bounds.x(), | 1155 region.bounds.x(), |
1154 region.bounds.y(), | 1156 region.bounds.y(), |
1155 region.bounds.right(), | 1157 region.bounds.right(), |
1156 region.bounds.bottom(), | 1158 region.bounds.bottom(), |
1157 region.draggable ? SkRegion::kUnion_Op : SkRegion::kDifference_Op); | 1159 region.draggable ? SkRegion::kUnion_Op : SkRegion::kDifference_Op); |
1158 } | 1160 } |
1159 return sk_region; | 1161 return sk_region; |
1160 } | 1162 } |
1161 | 1163 |
1162 } // namespace apps | 1164 } // namespace apps |
OLD | NEW |