OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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.h" | 5 #include "ash/accelerators/accelerator_controller.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.h" | 12 #include "ash/accelerators/accelerator_commands.h" |
13 #include "ash/accelerators/debug_commands.h" | 13 #include "ash/accelerators/debug_commands.h" |
14 #include "ash/ash_switches.h" | 14 #include "ash/common/ash_switches.h" |
15 #include "ash/common/focus_cycler.h" | 15 #include "ash/common/focus_cycler.h" |
16 #include "ash/common/session/session_state_delegate.h" | 16 #include "ash/common/session/session_state_delegate.h" |
17 #include "ash/common/shelf/shelf_model.h" | 17 #include "ash/common/shelf/shelf_model.h" |
18 #include "ash/common/shell_window_ids.h" | 18 #include "ash/common/shell_window_ids.h" |
19 #include "ash/common/system/system_notifier.h" | 19 #include "ash/common/system/system_notifier.h" |
20 #include "ash/common/system/tray/system_tray_delegate.h" | 20 #include "ash/common/system/tray/system_tray_delegate.h" |
21 #include "ash/common/system/volume_control_delegate.h" | 21 #include "ash/common/system/volume_control_delegate.h" |
22 #include "ash/common/wm/mru_window_tracker.h" | 22 #include "ash/common/wm/mru_window_tracker.h" |
23 #include "ash/common/wm/window_state.h" | 23 #include "ash/common/wm/window_state.h" |
24 #include "ash/common/wm/wm_event.h" | 24 #include "ash/common/wm/wm_event.h" |
(...skipping 1409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1434 } | 1434 } |
1435 | 1435 |
1436 void AcceleratorController::SetKeyboardBrightnessControlDelegate( | 1436 void AcceleratorController::SetKeyboardBrightnessControlDelegate( |
1437 std::unique_ptr<KeyboardBrightnessControlDelegate> | 1437 std::unique_ptr<KeyboardBrightnessControlDelegate> |
1438 keyboard_brightness_control_delegate) { | 1438 keyboard_brightness_control_delegate) { |
1439 keyboard_brightness_control_delegate_ = | 1439 keyboard_brightness_control_delegate_ = |
1440 std::move(keyboard_brightness_control_delegate); | 1440 std::move(keyboard_brightness_control_delegate); |
1441 } | 1441 } |
1442 | 1442 |
1443 } // namespace ash | 1443 } // namespace ash |
OLD | NEW |