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

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

Issue 3132023: Add language_prefs namespace to language_preferences.h. (Closed)
Patch Set: address comments Created 10 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
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/language_preferences.h ('k') | chrome/browser/chromeos/language_preferences_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698