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 <iostream> | 9 #include <iostream> |
10 #include <string> | 10 #include <string> |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "ash/host/ash_window_tree_host.h" | 21 #include "ash/host/ash_window_tree_host.h" |
22 #include "ash/ime_control_delegate.h" | 22 #include "ash/ime_control_delegate.h" |
23 #include "ash/magnifier/magnification_controller.h" | 23 #include "ash/magnifier/magnification_controller.h" |
24 #include "ash/magnifier/partial_magnification_controller.h" | 24 #include "ash/magnifier/partial_magnification_controller.h" |
25 #include "ash/media_delegate.h" | 25 #include "ash/media_delegate.h" |
26 #include "ash/multi_profile_uma.h" | 26 #include "ash/multi_profile_uma.h" |
27 #include "ash/new_window_delegate.h" | 27 #include "ash/new_window_delegate.h" |
28 #include "ash/root_window_controller.h" | 28 #include "ash/root_window_controller.h" |
29 #include "ash/rotator/screen_rotation.h" | 29 #include "ash/rotator/screen_rotation.h" |
30 #include "ash/screenshot_delegate.h" | 30 #include "ash/screenshot_delegate.h" |
31 #include "ash/session/session_state_delegate.h" | 31 #include "ash/session_state_delegate.h" |
32 #include "ash/shelf/shelf.h" | 32 #include "ash/shelf/shelf.h" |
33 #include "ash/shelf/shelf_delegate.h" | 33 #include "ash/shelf/shelf_delegate.h" |
34 #include "ash/shelf/shelf_model.h" | 34 #include "ash/shelf/shelf_model.h" |
35 #include "ash/shelf/shelf_widget.h" | 35 #include "ash/shelf/shelf_widget.h" |
36 #include "ash/shell.h" | 36 #include "ash/shell.h" |
37 #include "ash/shell_delegate.h" | 37 #include "ash/shell_delegate.h" |
38 #include "ash/shell_window_ids.h" | 38 #include "ash/shell_window_ids.h" |
39 #include "ash/system/brightness_control_delegate.h" | 39 #include "ash/system/brightness_control_delegate.h" |
40 #include "ash/system/keyboard_brightness/keyboard_brightness_control_delegate.h" | 40 #include "ash/system/keyboard_brightness/keyboard_brightness_control_delegate.h" |
41 #include "ash/system/status_area_widget.h" | 41 #include "ash/system/status_area_widget.h" |
(...skipping 22 matching lines...) Expand all Loading... |
64 #include "ui/compositor/layer_animation_sequence.h" | 64 #include "ui/compositor/layer_animation_sequence.h" |
65 #include "ui/compositor/layer_animator.h" | 65 #include "ui/compositor/layer_animator.h" |
66 #include "ui/events/event.h" | 66 #include "ui/events/event.h" |
67 #include "ui/events/keycodes/keyboard_codes.h" | 67 #include "ui/events/keycodes/keyboard_codes.h" |
68 #include "ui/gfx/screen.h" | 68 #include "ui/gfx/screen.h" |
69 #include "ui/views/controls/webview/webview.h" | 69 #include "ui/views/controls/webview/webview.h" |
70 #include "ui/views/debug_utils.h" | 70 #include "ui/views/debug_utils.h" |
71 #include "ui/views/widget/widget.h" | 71 #include "ui/views/widget/widget.h" |
72 | 72 |
73 #if defined(OS_CHROMEOS) | 73 #if defined(OS_CHROMEOS) |
74 #include "ash/session/session_state_delegate.h" | 74 #include "ash/session_state_delegate.h" |
75 #include "ash/system/chromeos/keyboard_brightness_controller.h" | 75 #include "ash/system/chromeos/keyboard_brightness_controller.h" |
76 #include "base/sys_info.h" | 76 #include "base/sys_info.h" |
77 #include "chromeos/ime/ime_keyboard.h" | 77 #include "chromeos/ime/ime_keyboard.h" |
78 #include "chromeos/ime/input_method_manager.h" | 78 #include "chromeos/ime/input_method_manager.h" |
79 #endif // defined(OS_CHROMEOS) | 79 #endif // defined(OS_CHROMEOS) |
80 | 80 |
81 namespace ash { | 81 namespace ash { |
82 namespace { | 82 namespace { |
83 | 83 |
84 using base::UserMetricsAction; | 84 using base::UserMetricsAction; |
(...skipping 1099 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1184 keyboard_brightness_control_delegate) { | 1184 keyboard_brightness_control_delegate) { |
1185 keyboard_brightness_control_delegate_ = | 1185 keyboard_brightness_control_delegate_ = |
1186 keyboard_brightness_control_delegate.Pass(); | 1186 keyboard_brightness_control_delegate.Pass(); |
1187 } | 1187 } |
1188 | 1188 |
1189 bool AcceleratorController::CanHandleAccelerators() const { | 1189 bool AcceleratorController::CanHandleAccelerators() const { |
1190 return true; | 1190 return true; |
1191 } | 1191 } |
1192 | 1192 |
1193 } // namespace ash | 1193 } // namespace ash |
OLD | NEW |