| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "chrome/common/pref_names.h" | 9 #include "chrome/common/pref_names.h" |
| 10 #include "grit/generated_resources.h" | 10 #include "grit/generated_resources.h" |
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 const LanguageIntegerRangePreference kMozcIntegerPrefs[] = { | 385 const LanguageIntegerRangePreference kMozcIntegerPrefs[] = { |
| 386 { prefs::kLanguageMozcSuggestionsSize, 3, 1, 9, "suggestions_size", | 386 { prefs::kLanguageMozcSuggestionsSize, 3, 1, 9, "suggestions_size", |
| 387 IDS_MOZC(SUGGESTIONS_SIZE)}, | 387 IDS_MOZC(SUGGESTIONS_SIZE)}, |
| 388 }; | 388 }; |
| 389 const size_t kNumMozcIntegerPrefs = ARRAYSIZE_UNSAFE(kMozcIntegerPrefs); | 389 const size_t kNumMozcIntegerPrefs = ARRAYSIZE_UNSAFE(kMozcIntegerPrefs); |
| 390 | 390 |
| 391 #undef IDS_MOZC | 391 #undef IDS_MOZC |
| 392 | 392 |
| 393 // For Traditional Chinese input methods (ibus-pinyin-bopomofo and ibus-chewing) | 393 // For Traditional Chinese input methods (ibus-pinyin-bopomofo and ibus-chewing) |
| 394 // TODO(yusukes): Add constants for Traditional Chinese input methods. | 394 // TODO(yusukes): Add constants for Traditional Chinese input methods. |
| 395 |
| 396 // A input method name that corresponds the hardware keyboard layout. |
| 397 // TODO(yusukes): just assuming US qwerty keyboard is not always correct. |
| 398 const char kHardwareKeyboardLayout[] = "xkb:us::eng"; |
| 399 |
| 395 } // chromeos | 400 } // chromeos |
| 396 | 401 |
| 397 #endif // CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ | 402 #endif // CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ |
| OLD | NEW |