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

Side by Side Diff: chrome/browser/chromeos/language_preferences.h

Issue 7461114: Make hanja key customizable. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed some comment Created 9 years, 4 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/language_preferences.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_LANGUAGE_PREFERENCES_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_
6 #define CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ 6 #define CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_
7 #pragma once 7 #pragma once
8 8
9 #include <stddef.h> // For size_t 9 #include <stddef.h> // For size_t
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 const int kChewingCandPerPageIndex = 1; 83 const int kChewingCandPerPageIndex = 1;
84 84
85 extern const LanguageMultipleChoicePreference<const char*> 85 extern const LanguageMultipleChoicePreference<const char*>
86 kChewingMultipleChoicePrefs[]; 86 kChewingMultipleChoicePrefs[];
87 // See comments at kNumChewingBooleanPrefs for why we hard-code this here. 87 // See comments at kNumChewingBooleanPrefs for why we hard-code this here.
88 const size_t kNumChewingMultipleChoicePrefs = 2; 88 const size_t kNumChewingMultipleChoicePrefs = 2;
89 89
90 extern const LanguageMultipleChoicePreference<int> kChewingHsuSelKeyType; 90 extern const LanguageMultipleChoicePreference<int> kChewingHsuSelKeyType;
91 91
92 // --------------------------------------------------------------------------- 92 // ---------------------------------------------------------------------------
93 // For Korean input method (ibus-hangul) 93 // For Korean input method (ibus-mozc-hangul)
94 // --------------------------------------------------------------------------- 94 // ---------------------------------------------------------------------------
95 extern const char kHangulSectionName[]; 95 extern const char kHangulSectionName[];
96 extern const char kHangulKeyboardConfigName[]; 96 extern const char kHangulKeyboardConfigName[];
97 extern const char kHangulHanjaKeysConfigName[]; 97 extern const char kHangulHanjaKeysConfigName[];
98 extern const char kHangulHanjaKeys[]; 98 extern const char kHangulHanjaKeys[];
99 99
100 // Following configuration is for mozc-hangul and same meaning of
101 // kHangulHanjaKeys.
102 extern const char kHangulHanjaBindingKeysConfigName[];
103 extern const char kHangulHanjaBindingKeys[];
104
100 struct HangulKeyboardNameIDPair { 105 struct HangulKeyboardNameIDPair {
101 int message_id; 106 int message_id;
102 const char* keyboard_id; 107 const char* keyboard_id;
103 }; 108 };
104 109
105 extern const HangulKeyboardNameIDPair kHangulKeyboardNameIDPairs[]; 110 extern const HangulKeyboardNameIDPair kHangulKeyboardNameIDPairs[];
106 // See comments at kNumChewingBooleanPrefs for why we hard-code this here. 111 // See comments at kNumChewingBooleanPrefs for why we hard-code this here.
107 const size_t kNumHangulKeyboardNameIDPairs = 4; 112 const size_t kNumHangulKeyboardNameIDPairs = 4;
108 113
109 // --------------------------------------------------------------------------- 114 // ---------------------------------------------------------------------------
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 extern const int kXkbAutoRepeatIntervalInMs; 160 extern const int kXkbAutoRepeatIntervalInMs;
156 161
157 // A string Chrome preference (Local State) of the preferred keyboard layout in 162 // A string Chrome preference (Local State) of the preferred keyboard layout in
158 // the login screen. 163 // the login screen.
159 extern const char kPreferredKeyboardLayout[]; 164 extern const char kPreferredKeyboardLayout[];
160 165
161 } // language_prefs 166 } // language_prefs
162 } // chromeos 167 } // chromeos
163 168
164 #endif // CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ 169 #endif // CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/language_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698