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/common/shell_window_ids.h" |
14 #include "ash/common/wm/window_state.h" | 15 #include "ash/common/wm/window_state.h" |
15 #include "ash/common/wm/wm_lookup.h" | 16 #include "ash/common/wm/wm_lookup.h" |
16 #include "ash/common/wm/wm_root_window_controller.h" | 17 #include "ash/common/wm/wm_root_window_controller.h" |
17 #include "ash/common/wm/wm_screen_util.h" | 18 #include "ash/common/wm/wm_screen_util.h" |
18 #include "ash/common/wm/wm_shell_window_ids.h" | |
19 #include "ash/common/wm/wm_window.h" | 19 #include "ash/common/wm/wm_window.h" |
20 #include "ash/wm/overview/scoped_transform_overview_window.h" | 20 #include "ash/wm/overview/scoped_transform_overview_window.h" |
21 #include "ash/wm/overview/window_selector.h" | 21 #include "ash/wm/overview/window_selector.h" |
22 #include "ash/wm/overview/window_selector_item.h" | 22 #include "ash/wm/overview/window_selector_item.h" |
23 #include "base/command_line.h" | 23 #include "base/command_line.h" |
24 #include "base/i18n/string_search.h" | 24 #include "base/i18n/string_search.h" |
25 #include "base/memory/scoped_vector.h" | 25 #include "base/memory/scoped_vector.h" |
26 #include "third_party/skia/include/core/SkColor.h" | 26 #include "third_party/skia/include/core/SkColor.h" |
27 #include "ui/compositor/layer_animation_observer.h" | 27 #include "ui/compositor/layer_animation_observer.h" |
28 #include "ui/compositor/scoped_layer_animation_settings.h" | 28 #include "ui/compositor/scoped_layer_animation_settings.h" |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 ui::LayerAnimator::IMMEDIATELY_ANIMATE_TO_NEW_TARGET); | 503 ui::LayerAnimator::IMMEDIATELY_ANIMATE_TO_NEW_TARGET); |
504 selection_widget_->SetBounds(SelectedWindow()->target_bounds()); | 504 selection_widget_->SetBounds(SelectedWindow()->target_bounds()); |
505 selection_widget_->SetOpacity(1.f); | 505 selection_widget_->SetOpacity(1.f); |
506 return; | 506 return; |
507 } | 507 } |
508 selection_widget_->SetBounds(SelectedWindow()->target_bounds()); | 508 selection_widget_->SetBounds(SelectedWindow()->target_bounds()); |
509 selection_widget_->SetOpacity(1.f); | 509 selection_widget_->SetOpacity(1.f); |
510 } | 510 } |
511 | 511 |
512 } // namespace ash | 512 } // namespace ash |
OLD | NEW |