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

Side by Side Diff: chromeos/ime/xkeyboard.h

Issue 23866008: Allow remapping Search/Ctrl/Alt to Esc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 months 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 | « chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CHROMEOS_IME_XKEYBOARD_H_ 5 #ifndef CHROMEOS_IME_XKEYBOARD_H_
6 #define CHROMEOS_IME_XKEYBOARD_H_ 6 #define CHROMEOS_IME_XKEYBOARD_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 14 matching lines...) Expand all
25 kEnableLock, 25 kEnableLock,
26 kDontChange, 26 kDontChange,
27 }; 27 };
28 28
29 enum ModifierKey { 29 enum ModifierKey {
30 kSearchKey = 0, // Customizable. 30 kSearchKey = 0, // Customizable.
31 kControlKey, // Customizable. 31 kControlKey, // Customizable.
32 kAltKey, // Customizable. 32 kAltKey, // Customizable.
33 kVoidKey, 33 kVoidKey,
34 kCapsLockKey, 34 kCapsLockKey,
35 kEscapeKey,
35 // IMPORTANT: You should update kCustomizableKeys[] in .cc file, if you 36 // IMPORTANT: You should update kCustomizableKeys[] in .cc file, if you
36 // add a customizable key. 37 // add a customizable key.
37 kNumModifierKeys, 38 kNumModifierKeys,
38 }; 39 };
39 40
40 class InputMethodUtil; 41 class InputMethodUtil;
41 42
42 class CHROMEOS_EXPORT XKeyboard { 43 class CHROMEOS_EXPORT XKeyboard {
43 public: 44 public:
44 virtual ~XKeyboard() {} 45 virtual ~XKeyboard() {}
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 125
125 // Note: At this moment, classes other than InputMethodManager should not 126 // Note: At this moment, classes other than InputMethodManager should not
126 // instantiate the XKeyboard class. 127 // instantiate the XKeyboard class.
127 static XKeyboard* Create(); 128 static XKeyboard* Create();
128 }; 129 };
129 130
130 } // namespace input_method 131 } // namespace input_method
131 } // namespace chromeos 132 } // namespace chromeos
132 133
133 #endif // CHROMEOS_IME_XKEYBOARD_H_ 134 #endif // CHROMEOS_IME_XKEYBOARD_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698