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

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

Issue 7811017: Remove rerely used configuration items for the Japanese IME to simplify the dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 extern const PinyinIntegerPref kPinyinIntegerPrefs[]; 128 extern const PinyinIntegerPref kPinyinIntegerPrefs[];
129 const size_t kNumPinyinIntegerPrefs = 1; 129 const size_t kNumPinyinIntegerPrefs = 1;
130 130
131 // --------------------------------------------------------------------------- 131 // ---------------------------------------------------------------------------
132 // For Japanese input method (ibus-mozc) 132 // For Japanese input method (ibus-mozc)
133 // --------------------------------------------------------------------------- 133 // ---------------------------------------------------------------------------
134 extern const char kMozcSectionName[]; 134 extern const char kMozcSectionName[];
135 135
136 extern const LanguageBooleanPrefs kMozcBooleanPrefs[]; 136 extern const LanguageBooleanPrefs kMozcBooleanPrefs[];
137 // See comments at kNumChewingBooleanPrefs for why we hard-code this here. 137 // See comments at kNumChewingBooleanPrefs for why we hard-code this here.
138 const size_t kNumMozcBooleanPrefs = 8; 138 const size_t kNumMozcBooleanPrefs = 4;
139 139
140 extern const LanguageMultipleChoicePreference<const char*> 140 extern const LanguageMultipleChoicePreference<const char*>
141 kMozcMultipleChoicePrefs[]; 141 kMozcMultipleChoicePrefs[];
142 // See comments at kNumChewingBooleanPrefs for why we hard-code this here. 142 // See comments at kNumChewingBooleanPrefs for why we hard-code this here.
143 const size_t kNumMozcMultipleChoicePrefs = 8; 143 const size_t kNumMozcMultipleChoicePrefs = 8;
144 144
145 extern const LanguageIntegerRangePreference kMozcIntegerPrefs[]; 145 extern const LanguageIntegerRangePreference kMozcIntegerPrefs[];
146 // See comments at kNumChewingBooleanPrefs for why we hard-code this here. 146 // See comments at kNumChewingBooleanPrefs for why we hard-code this here.
147 const size_t kNumMozcIntegerPrefs = 1; 147 const size_t kNumMozcIntegerPrefs = 1;
148 148
149 // --------------------------------------------------------------------------- 149 // ---------------------------------------------------------------------------
150 // For keyboard stuff 150 // For keyboard stuff
151 // --------------------------------------------------------------------------- 151 // ---------------------------------------------------------------------------
152 // A delay between the first and the start of the rest. 152 // A delay between the first and the start of the rest.
153 extern const int kXkbAutoRepeatDelayInMs; 153 extern const int kXkbAutoRepeatDelayInMs;
154 // An interval between the repeated keys. 154 // An interval between the repeated keys.
155 extern const int kXkbAutoRepeatIntervalInMs; 155 extern const int kXkbAutoRepeatIntervalInMs;
156 156
157 // A string Chrome preference (Local State) of the preferred keyboard layout in 157 // A string Chrome preference (Local State) of the preferred keyboard layout in
158 // the login screen. 158 // the login screen.
159 extern const char kPreferredKeyboardLayout[]; 159 extern const char kPreferredKeyboardLayout[];
160 160
161 } // language_prefs 161 } // language_prefs
162 } // chromeos 162 } // chromeos
163 163
164 #endif // CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ 164 #endif // CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/language_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698