| 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/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/ash_switches.h" | 13 #include "ash/ash_switches.h" |
| 14 #include "ash/public/cpp/shelf_types.h" | 14 #include "ash/public/cpp/shelf_types.h" |
| 15 #include "ash/public/cpp/shell_window_ids.h" | 15 #include "ash/public/cpp/shell_window_ids.h" |
| 16 #include "ash/root_window_controller.h" | 16 #include "ash/root_window_controller.h" |
| 17 #include "ash/screen_util.h" | 17 #include "ash/screen_util.h" |
| 18 #include "ash/shelf/shelf.h" | 18 #include "ash/shelf/shelf.h" |
| 19 #include "ash/wm/overview/cleanup_animation_observer.h" | 19 #include "ash/wm/overview/cleanup_animation_observer.h" |
| 20 #include "ash/wm/overview/scoped_overview_animation_settings.h" | 20 #include "ash/wm/overview/scoped_overview_animation_settings.h" |
| 21 #include "ash/wm/overview/window_selector.h" | 21 #include "ash/wm/overview/window_selector.h" |
| 22 #include "ash/wm/overview/window_selector_delegate.h" | 22 #include "ash/wm/overview/window_selector_delegate.h" |
| 23 #include "ash/wm/overview/window_selector_item.h" | 23 #include "ash/wm/overview/window_selector_item.h" |
| 24 #include "ash/wm/window_state.h" | 24 #include "ash/wm/window_state.h" |
| 25 #include "ash/wm_window.h" | |
| 26 #include "base/command_line.h" | 25 #include "base/command_line.h" |
| 27 #include "base/i18n/string_search.h" | 26 #include "base/i18n/string_search.h" |
| 28 #include "base/memory/ptr_util.h" | 27 #include "base/memory/ptr_util.h" |
| 29 #include "base/strings/string_number_conversions.h" | 28 #include "base/strings/string_number_conversions.h" |
| 30 #include "third_party/skia/include/core/SkColor.h" | 29 #include "third_party/skia/include/core/SkColor.h" |
| 31 #include "third_party/skia/include/pathops/SkPathOps.h" | 30 #include "third_party/skia/include/pathops/SkPathOps.h" |
| 32 #include "ui/compositor/layer_animation_observer.h" | 31 #include "ui/compositor/layer_animation_observer.h" |
| 33 #include "ui/compositor/scoped_layer_animation_settings.h" | 32 #include "ui/compositor/scoped_layer_animation_settings.h" |
| 34 #include "ui/gfx/animation/tween.h" | 33 #include "ui/gfx/animation/tween.h" |
| 35 #include "ui/gfx/canvas.h" | 34 #include "ui/gfx/canvas.h" |
| (...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 819 *min_right = left; | 818 *min_right = left; |
| 820 if (*max_right < left) | 819 if (*max_right < left) |
| 821 *max_right = left; | 820 *max_right = left; |
| 822 } | 821 } |
| 823 *max_bottom = top + height; | 822 *max_bottom = top + height; |
| 824 } | 823 } |
| 825 return windows_fit; | 824 return windows_fit; |
| 826 } | 825 } |
| 827 | 826 |
| 828 } // namespace ash | 827 } // namespace ash |
| OLD | NEW |