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

Side by Side Diff: chrome/browser/chromeos/input_method/xkeyboard.h

Issue 10416028: Rename chromeos::input_method::kLeftControl to chromeos::input_method::kControl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chromeos/input_method/xkeyboard.cc » ('j') | no next file with comments »
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 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_XKEYBOARD_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_XKEYBOARD_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_XKEYBOARD_H_ 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_XKEYBOARD_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 11 matching lines...) Expand all
22 22
23 enum ModifierLockStatus { 23 enum ModifierLockStatus {
24 kDisableLock = 0, 24 kDisableLock = 0,
25 kEnableLock, 25 kEnableLock,
26 kDontChange, 26 kDontChange,
27 }; 27 };
28 28
29 // TODO(yusukes): Remove this enum when crbug.com/115112 is implemented. 29 // TODO(yusukes): Remove this enum when crbug.com/115112 is implemented.
30 enum ModifierKey { 30 enum ModifierKey {
31 kSearchKey = 0, // Customizable. 31 kSearchKey = 0, // Customizable.
32 kLeftControlKey, // Customizable. 32 kControlKey, // Customizable.
33 kLeftAltKey, // Customizable. 33 kAltKey, // Customizable.
34 kVoidKey, 34 kVoidKey,
35 kCapsLockKey, 35 kCapsLockKey,
36 // IMPORTANT: You should update kCustomizableKeys[] in .cc file, if you 36 // IMPORTANT: You should update kCustomizableKeys[] in .cc file, if you
37 // add a customizable key. 37 // add a customizable key.
38 kNumModifierKeys, 38 kNumModifierKeys,
39 }; 39 };
40 40
41 // TODO(yusukes): Remove this struct when crbug.com/115112 is implemented. 41 // TODO(yusukes): Remove this struct when crbug.com/115112 is implemented.
42 struct ModifierKeyPair { 42 struct ModifierKeyPair {
43 ModifierKeyPair(ModifierKey in_original, ModifierKey in_replacement) 43 ModifierKeyPair(ModifierKey in_original, ModifierKey in_replacement)
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 154
155 // Note: At this moment, classes other than InputMethodManager should not 155 // Note: At this moment, classes other than InputMethodManager should not
156 // instantiate the XKeyboard class. 156 // instantiate the XKeyboard class.
157 static XKeyboard* Create(const InputMethodUtil& util); 157 static XKeyboard* Create(const InputMethodUtil& util);
158 }; 158 };
159 159
160 } // namespace input_method 160 } // namespace input_method
161 } // namespace chromeos 161 } // namespace chromeos
162 162
163 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_XKEYBOARD_H_ 163 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_XKEYBOARD_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/input_method/xkeyboard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698