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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 #include "ash/wm/partial_screenshot_view.h" | 50 #include "ash/wm/partial_screenshot_view.h" |
51 #include "ash/wm/power_button_controller.h" | 51 #include "ash/wm/power_button_controller.h" |
52 #include "ash/wm/window_cycle_controller.h" | 52 #include "ash/wm/window_cycle_controller.h" |
53 #include "ash/wm/window_state.h" | 53 #include "ash/wm/window_state.h" |
54 #include "ash/wm/window_util.h" | 54 #include "ash/wm/window_util.h" |
55 #include "ash/wm/workspace/snap_sizer.h" | 55 #include "ash/wm/workspace/snap_sizer.h" |
56 #include "base/bind.h" | 56 #include "base/bind.h" |
57 #include "base/command_line.h" | 57 #include "base/command_line.h" |
58 #include "base/metrics/user_metrics.h" | 58 #include "base/metrics/user_metrics.h" |
59 #include "ui/aura/env.h" | 59 #include "ui/aura/env.h" |
60 #include "ui/aura/root_window.h" | 60 #include "ui/aura/window_event_dispatcher.h" |
61 #include "ui/base/accelerators/accelerator.h" | 61 #include "ui/base/accelerators/accelerator.h" |
62 #include "ui/base/accelerators/accelerator_manager.h" | 62 #include "ui/base/accelerators/accelerator_manager.h" |
63 #include "ui/compositor/debug_utils.h" | 63 #include "ui/compositor/debug_utils.h" |
64 #include "ui/compositor/layer.h" | 64 #include "ui/compositor/layer.h" |
65 #include "ui/compositor/layer_animation_sequence.h" | 65 #include "ui/compositor/layer_animation_sequence.h" |
66 #include "ui/compositor/layer_animator.h" | 66 #include "ui/compositor/layer_animator.h" |
67 #include "ui/events/event.h" | 67 #include "ui/events/event.h" |
68 #include "ui/events/keycodes/keyboard_codes.h" | 68 #include "ui/events/keycodes/keyboard_codes.h" |
69 #include "ui/gfx/screen.h" | 69 #include "ui/gfx/screen.h" |
70 #include "ui/views/controls/webview/webview.h" | 70 #include "ui/views/controls/webview/webview.h" |
(...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1194 keyboard_brightness_control_delegate) { | 1194 keyboard_brightness_control_delegate) { |
1195 keyboard_brightness_control_delegate_ = | 1195 keyboard_brightness_control_delegate_ = |
1196 keyboard_brightness_control_delegate.Pass(); | 1196 keyboard_brightness_control_delegate.Pass(); |
1197 } | 1197 } |
1198 | 1198 |
1199 bool AcceleratorController::CanHandleAccelerators() const { | 1199 bool AcceleratorController::CanHandleAccelerators() const { |
1200 return true; | 1200 return true; |
1201 } | 1201 } |
1202 | 1202 |
1203 } // namespace ash | 1203 } // namespace ash |
OLD | NEW |