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 #include "base/basictypes.h" | 5 #include "base/basictypes.h" |
6 #include "chrome/browser/chromeos/language_preferences.h" | 6 #include "chrome/browser/chromeos/language_preferences.h" |
7 #include "chrome/common/pref_names.h" | 7 #include "chrome/common/pref_names.h" |
8 #include "grit/generated_resources.h" | 8 #include "grit/generated_resources.h" |
9 | 9 |
10 namespace chromeos { | 10 namespace chromeos { |
| 11 namespace language_prefs { |
11 | 12 |
12 // --------------------------------------------------------------------------- | 13 // --------------------------------------------------------------------------- |
13 // For ibus-daemon | 14 // For ibus-daemon |
14 // --------------------------------------------------------------------------- | 15 // --------------------------------------------------------------------------- |
15 const char kGeneralSectionName[] = "general"; | 16 const char kGeneralSectionName[] = "general"; |
16 const char kHotKeySectionName[] = "general/hotkey"; | 17 const char kHotKeySectionName[] = "general/hotkey"; |
17 const char kPreloadEnginesConfigName[] = "preload_engines"; | 18 const char kPreloadEnginesConfigName[] = "preload_engines"; |
18 const char kNextEngineInMenuConfigName[] = "next_engine_in_menu"; | 19 const char kNextEngineInMenuConfigName[] = "next_engine_in_menu"; |
19 const char kPreviousEngineConfigName[] = "previous_engine"; | 20 const char kPreviousEngineConfigName[] = "previous_engine"; |
20 // TODO(yusukes): Check if the "Kana/Eisu" key in the Japanese keyboard for | 21 // TODO(yusukes): Check if the "Kana/Eisu" key in the Japanese keyboard for |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 }; | 396 }; |
396 const LanguageIntegerRangePreference kXkbAutoRepeatIntervalPref = { | 397 const LanguageIntegerRangePreference kXkbAutoRepeatIntervalPref = { |
397 prefs::kLanguageXkbAutoRepeatInterval, 33, 9, 100, | 398 prefs::kLanguageXkbAutoRepeatInterval, 33, 9, 100, |
398 NULL, // does not use the ibus configuration service. | 399 NULL, // does not use the ibus configuration service. |
399 IDS_OPTIONS_SETTINGS_LANGUAGES_XKB_KEY_REPEAT_SPEED, | 400 IDS_OPTIONS_SETTINGS_LANGUAGES_XKB_KEY_REPEAT_SPEED, |
400 }; | 401 }; |
401 | 402 |
402 const char kPreferredKeyboardLayout[] = "PreferredKeyboardLayout"; | 403 const char kPreferredKeyboardLayout[] = "PreferredKeyboardLayout"; |
403 const char kHardwareKeyboardLayout[] = "xkb:us::eng"; | 404 const char kHardwareKeyboardLayout[] = "xkb:us::eng"; |
404 | 405 |
405 } // chromeos | 406 } // namespace language_prefs |
| 407 } // namespace chromeos |
OLD | NEW |