| 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 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1147 region.bounds.x(), | 1149 region.bounds.x(), |
| 1148 region.bounds.y(), | 1150 region.bounds.y(), |
| 1149 region.bounds.right(), | 1151 region.bounds.right(), |
| 1150 region.bounds.bottom(), | 1152 region.bounds.bottom(), |
| 1151 region.draggable ? SkRegion::kUnion_Op : SkRegion::kDifference_Op); | 1153 region.draggable ? SkRegion::kUnion_Op : SkRegion::kDifference_Op); |
| 1152 } | 1154 } |
| 1153 return sk_region; | 1155 return sk_region; |
| 1154 } | 1156 } |
| 1155 | 1157 |
| 1156 } // namespace apps | 1158 } // namespace apps |
| OLD | NEW |