OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/accelerators/accelerator_controller_delegate_aura.h" | 5 #include "ash/accelerators/accelerator_controller_delegate_aura.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <cmath> | 8 #include <cmath> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
11 | 11 |
12 #include "ash/accelerators/accelerator_commands_aura.h" | 12 #include "ash/accelerators/accelerator_commands_aura.h" |
13 #include "ash/common/accelerators/debug_commands.h" | 13 #include "ash/common/accelerators/debug_commands.h" |
14 #include "ash/common/accessibility_types.h" | 14 #include "ash/common/accessibility_types.h" |
15 #include "ash/common/session/session_state_delegate.h" | 15 #include "ash/common/session/session_state_delegate.h" |
16 #include "ash/common/shelf/wm_shelf.h" | 16 #include "ash/common/shelf/wm_shelf.h" |
17 #include "ash/common/shell_delegate.h" | 17 #include "ash/common/shell_delegate.h" |
18 #include "ash/common/system/system_notifier.h" | |
19 #include "ash/common/system/tray/system_tray.h" | |
20 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h" | 18 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h" |
21 #include "ash/common/wm/window_state.h" | 19 #include "ash/common/wm/window_state.h" |
22 #include "ash/common/wm/wm_event.h" | 20 #include "ash/common/wm/wm_event.h" |
23 #include "ash/common/wm_shell.h" | 21 #include "ash/common/wm_shell.h" |
24 #include "ash/debug.h" | 22 #include "ash/debug.h" |
25 #include "ash/display/display_configuration_controller.h" | 23 #include "ash/display/display_configuration_controller.h" |
26 #include "ash/display/window_tree_host_manager.h" | 24 #include "ash/display/window_tree_host_manager.h" |
27 #include "ash/host/ash_window_tree_host.h" | 25 #include "ash/host/ash_window_tree_host.h" |
28 #include "ash/magnifier/magnification_controller.h" | 26 #include "ash/magnifier/magnification_controller.h" |
29 #include "ash/public/cpp/shell_window_ids.h" | 27 #include "ash/public/cpp/shell_window_ids.h" |
30 #include "ash/root_window_controller.h" | 28 #include "ash/root_window_controller.h" |
31 #include "ash/rotator/window_rotation.h" | 29 #include "ash/rotator/window_rotation.h" |
32 #include "ash/screenshot_delegate.h" | 30 #include "ash/screenshot_delegate.h" |
33 #include "ash/shell.h" | 31 #include "ash/shell.h" |
| 32 #include "ash/system/system_notifier.h" |
| 33 #include "ash/system/tray/system_tray.h" |
34 #include "ash/touch/touch_hud_debug.h" | 34 #include "ash/touch/touch_hud_debug.h" |
35 #include "ash/utility/screenshot_controller.h" | 35 #include "ash/utility/screenshot_controller.h" |
36 #include "ash/wm/power_button_controller.h" | 36 #include "ash/wm/power_button_controller.h" |
37 #include "ash/wm/window_state_aura.h" | 37 #include "ash/wm/window_state_aura.h" |
38 #include "ash/wm/window_util.h" | 38 #include "ash/wm/window_util.h" |
39 #include "base/memory/ptr_util.h" | 39 #include "base/memory/ptr_util.h" |
40 #include "base/metrics/histogram_macros.h" | 40 #include "base/metrics/histogram_macros.h" |
41 #include "base/metrics/user_metrics.h" | 41 #include "base/metrics/user_metrics.h" |
42 #include "base/strings/string_split.h" | 42 #include "base/strings/string_split.h" |
43 #include "base/strings/utf_string_conversions.h" | 43 #include "base/strings/utf_string_conversions.h" |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 message_center::NotifierId( | 480 message_center::NotifierId( |
481 message_center::NotifierId::SYSTEM_COMPONENT, | 481 message_center::NotifierId::SYSTEM_COMPONENT, |
482 system_notifier::kNotifierDeprecatedAccelerator), | 482 system_notifier::kNotifierDeprecatedAccelerator), |
483 message_center::RichNotificationData(), | 483 message_center::RichNotificationData(), |
484 new DeprecatedAcceleratorNotificationDelegate)); | 484 new DeprecatedAcceleratorNotificationDelegate)); |
485 message_center::MessageCenter::Get()->AddNotification( | 485 message_center::MessageCenter::Get()->AddNotification( |
486 std::move(notification)); | 486 std::move(notification)); |
487 } | 487 } |
488 | 488 |
489 } // namespace ash | 489 } // namespace ash |
OLD | NEW |