OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_selector_item.h" | 5 #include "ash/wm/overview/window_selector_item.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
| 10 #include "ash/common/wm/window_state.h" |
| 11 #include "ash/common/wm/wm_lookup.h" |
| 12 #include "ash/common/wm/wm_root_window_controller.h" |
| 13 #include "ash/common/wm/wm_shell_window_ids.h" |
| 14 #include "ash/common/wm/wm_shell_window_ids.h" |
| 15 #include "ash/common/wm/wm_window.h" |
| 16 #include "ash/common/wm/wm_window_property.h" |
10 #include "ash/material_design/material_design_controller.h" | 17 #include "ash/material_design/material_design_controller.h" |
11 #include "ash/wm/common/window_state.h" | |
12 #include "ash/wm/common/wm_lookup.h" | |
13 #include "ash/wm/common/wm_root_window_controller.h" | |
14 #include "ash/wm/common/wm_shell_window_ids.h" | |
15 #include "ash/wm/common/wm_shell_window_ids.h" | |
16 #include "ash/wm/common/wm_window.h" | |
17 #include "ash/wm/common/wm_window_property.h" | |
18 #include "ash/wm/overview/overview_animation_type.h" | 18 #include "ash/wm/overview/overview_animation_type.h" |
19 #include "ash/wm/overview/scoped_overview_animation_settings.h" | 19 #include "ash/wm/overview/scoped_overview_animation_settings.h" |
20 #include "ash/wm/overview/scoped_overview_animation_settings_factory.h" | 20 #include "ash/wm/overview/scoped_overview_animation_settings_factory.h" |
21 #include "ash/wm/overview/scoped_transform_overview_window.h" | 21 #include "ash/wm/overview/scoped_transform_overview_window.h" |
22 #include "ash/wm/overview/window_selector.h" | 22 #include "ash/wm/overview/window_selector.h" |
23 #include "ash/wm/overview/window_selector_controller.h" | 23 #include "ash/wm/overview/window_selector_controller.h" |
24 #include "base/auto_reset.h" | 24 #include "base/auto_reset.h" |
25 #include "base/strings/string_util.h" | 25 #include "base/strings/string_util.h" |
26 #include "base/strings/utf_string_conversions.h" | 26 #include "base/strings/utf_string_conversions.h" |
27 #include "base/time/time.h" | 27 #include "base/time/time.h" |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 } | 429 } |
430 } | 430 } |
431 | 431 |
432 void WindowSelectorItem::UpdateCloseButtonAccessibilityName() { | 432 void WindowSelectorItem::UpdateCloseButtonAccessibilityName() { |
433 close_button_->SetAccessibleName(l10n_util::GetStringFUTF16( | 433 close_button_->SetAccessibleName(l10n_util::GetStringFUTF16( |
434 IDS_ASH_OVERVIEW_CLOSE_ITEM_BUTTON_ACCESSIBLE_NAME, | 434 IDS_ASH_OVERVIEW_CLOSE_ITEM_BUTTON_ACCESSIBLE_NAME, |
435 GetWindow()->GetTitle())); | 435 GetWindow()->GetTitle())); |
436 } | 436 } |
437 | 437 |
438 } // namespace ash | 438 } // namespace ash |
OLD | NEW |