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 "ash/common/wm/overview/window_grid.h" | 5 #include "ash/wm/overview/window_grid.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <functional> | 8 #include <functional> |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "ash/common/ash_switches.h" | 13 #include "ash/ash_switches.h" |
14 #include "ash/common/shelf/wm_shelf.h" | |
15 #include "ash/common/wm/overview/cleanup_animation_observer.h" | |
16 #include "ash/common/wm/overview/scoped_overview_animation_settings.h" | |
17 #include "ash/common/wm/overview/scoped_overview_animation_settings_factory.h" | |
18 #include "ash/common/wm/overview/window_selector.h" | |
19 #include "ash/common/wm/overview/window_selector_delegate.h" | |
20 #include "ash/common/wm/overview/window_selector_item.h" | |
21 #include "ash/common/wm/window_state.h" | |
22 #include "ash/common/wm/wm_screen_util.h" | |
23 #include "ash/common/wm_window.h" | |
24 #include "ash/public/cpp/shelf_types.h" | 14 #include "ash/public/cpp/shelf_types.h" |
25 #include "ash/public/cpp/shell_window_ids.h" | 15 #include "ash/public/cpp/shell_window_ids.h" |
26 #include "ash/root_window_controller.h" | 16 #include "ash/root_window_controller.h" |
| 17 #include "ash/shelf/wm_shelf.h" |
| 18 #include "ash/wm/overview/cleanup_animation_observer.h" |
| 19 #include "ash/wm/overview/scoped_overview_animation_settings.h" |
| 20 #include "ash/wm/overview/scoped_overview_animation_settings_factory.h" |
| 21 #include "ash/wm/overview/window_selector.h" |
| 22 #include "ash/wm/overview/window_selector_delegate.h" |
| 23 #include "ash/wm/overview/window_selector_item.h" |
| 24 #include "ash/wm/window_state.h" |
27 #include "ash/wm/window_state_aura.h" | 25 #include "ash/wm/window_state_aura.h" |
| 26 #include "ash/wm/wm_screen_util.h" |
| 27 #include "ash/wm_window.h" |
28 #include "base/command_line.h" | 28 #include "base/command_line.h" |
29 #include "base/i18n/string_search.h" | 29 #include "base/i18n/string_search.h" |
30 #include "base/memory/ptr_util.h" | 30 #include "base/memory/ptr_util.h" |
31 #include "base/strings/string_number_conversions.h" | 31 #include "base/strings/string_number_conversions.h" |
32 #include "third_party/skia/include/core/SkColor.h" | 32 #include "third_party/skia/include/core/SkColor.h" |
33 #include "third_party/skia/include/pathops/SkPathOps.h" | 33 #include "third_party/skia/include/pathops/SkPathOps.h" |
34 #include "ui/compositor/layer_animation_observer.h" | 34 #include "ui/compositor/layer_animation_observer.h" |
35 #include "ui/compositor/scoped_layer_animation_settings.h" | 35 #include "ui/compositor/scoped_layer_animation_settings.h" |
36 #include "ui/gfx/animation/tween.h" | 36 #include "ui/gfx/animation/tween.h" |
37 #include "ui/gfx/canvas.h" | 37 #include "ui/gfx/canvas.h" |
(...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
835 *min_right = left; | 835 *min_right = left; |
836 if (*max_right < left) | 836 if (*max_right < left) |
837 *max_right = left; | 837 *max_right = left; |
838 } | 838 } |
839 *max_bottom = top + height; | 839 *max_bottom = top + height; |
840 } | 840 } |
841 return windows_fit; | 841 return windows_fit; |
842 } | 842 } |
843 | 843 |
844 } // namespace ash | 844 } // namespace ash |
OLD | NEW |