Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Side by Side Diff: ash/accelerators/accelerator_controller.cc

Issue 727143002: Moves code from chromeos/ime to ui/base/ime/chromeos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed solution: move chromeos/ime to ui/base/ime/chromeos. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ash/system/chromeos/tray_caps_lock.h » ('j') | ui/base/BUILD.gn » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 #include "ui/compositor/layer_animation_sequence.h" 62 #include "ui/compositor/layer_animation_sequence.h"
63 #include "ui/compositor/layer_animator.h" 63 #include "ui/compositor/layer_animator.h"
64 #include "ui/events/event.h" 64 #include "ui/events/event.h"
65 #include "ui/events/keycodes/keyboard_codes.h" 65 #include "ui/events/keycodes/keyboard_codes.h"
66 #include "ui/gfx/screen.h" 66 #include "ui/gfx/screen.h"
67 #include "ui/views/controls/webview/webview.h" 67 #include "ui/views/controls/webview/webview.h"
68 68
69 #if defined(OS_CHROMEOS) 69 #if defined(OS_CHROMEOS)
70 #include "ash/system/chromeos/keyboard_brightness_controller.h" 70 #include "ash/system/chromeos/keyboard_brightness_controller.h"
71 #include "base/sys_info.h" 71 #include "base/sys_info.h"
72 #include "chromeos/ime/ime_keyboard.h" 72 #include "ui/base/ime/chromeos/ime_keyboard.h"
73 #include "chromeos/ime/input_method_manager.h" 73 #include "ui/base/ime/chromeos/input_method_manager.h"
74 #endif // defined(OS_CHROMEOS) 74 #endif // defined(OS_CHROMEOS)
75 75
76 namespace ash { 76 namespace ash {
77 namespace { 77 namespace {
78 78
79 using base::UserMetricsAction; 79 using base::UserMetricsAction;
80 80
81 bool HandleAccessibleFocusCycle(bool reverse) { 81 bool HandleAccessibleFocusCycle(bool reverse) {
82 if (reverse) { 82 if (reverse) {
83 base::RecordAction(UserMetricsAction("Accel_Accessible_Focus_Previous")); 83 base::RecordAction(UserMetricsAction("Accel_Accessible_Focus_Previous"));
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after
1107 keyboard_brightness_control_delegate) { 1107 keyboard_brightness_control_delegate) {
1108 keyboard_brightness_control_delegate_ = 1108 keyboard_brightness_control_delegate_ =
1109 keyboard_brightness_control_delegate.Pass(); 1109 keyboard_brightness_control_delegate.Pass();
1110 } 1110 }
1111 1111
1112 bool AcceleratorController::CanHandleAccelerators() const { 1112 bool AcceleratorController::CanHandleAccelerators() const {
1113 return true; 1113 return true;
1114 } 1114 }
1115 1115
1116 } // namespace ash 1116 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | ash/system/chromeos/tray_caps_lock.h » ('j') | ui/base/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698