| 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 "chrome/common/pref_names.h" | 5 #include "chrome/common/pref_names.h" |
| 6 | 6 |
| 7 namespace prefs { | 7 namespace prefs { |
| 8 | 8 |
| 9 // *************** PROFILE PREFS *************** | 9 // *************** PROFILE PREFS *************** |
| 10 // These are attached to the user profile | 10 // These are attached to the user profile |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 // A boolean pref set to true if VertEdgeScroll is being done in browser. | 191 // A boolean pref set to true if VertEdgeScroll is being done in browser. |
| 192 const wchar_t kVertEdgeScrollEnabled[] = | 192 const wchar_t kVertEdgeScrollEnabled[] = |
| 193 L"settings.touchpad.enable_vert_edge_scroll"; | 193 L"settings.touchpad.enable_vert_edge_scroll"; |
| 194 | 194 |
| 195 // A integer pref for the touchpad speed factor. | 195 // A integer pref for the touchpad speed factor. |
| 196 const wchar_t kTouchpadSpeedFactor[] = L"settings.touchpad.speed_factor"; | 196 const wchar_t kTouchpadSpeedFactor[] = L"settings.touchpad.speed_factor"; |
| 197 | 197 |
| 198 // A integer pref for the touchpad sensitivity. | 198 // A integer pref for the touchpad sensitivity. |
| 199 const wchar_t kTouchpadSensitivity[] = L"settings.touchpad.sensitivity"; | 199 const wchar_t kTouchpadSensitivity[] = L"settings.touchpad.sensitivity"; |
| 200 | 200 |
| 201 // Boolean that is true when one IME status can be shared by all input contexts | 201 // Boolean that is true when one input method status can be shared by all input |
| 202 // in all Chrome processes. | 202 // contexts in all Chrome processes. |
| 203 const wchar_t kLanguageUseGlobalEngine[] = | 203 const wchar_t kLanguageUseGlobalEngine[] = |
| 204 L"settings.language.use_global_engine"; | 204 L"settings.language.use_global_engine"; |
| 205 | 205 |
| 206 // A string pref (comma-separated list) set to the "next engine" hot-key lists. | 206 // A string pref (comma-separated list) set to the "next engine" hot-key lists. |
| 207 const wchar_t kLanguageHotkeyNextEngine[] = | 207 const wchar_t kLanguageHotkeyNextEngine[] = |
| 208 L"settings.language.hotkey_next_engine"; | 208 L"settings.language.hotkey_next_engine"; |
| 209 | 209 |
| 210 // A string pref (comma-separated list) set to the "trigger" hot-key lists. | 210 // A string pref (comma-separated list) set to the "trigger" hot-key lists. |
| 211 const wchar_t kLanguageHotkeyTrigger[] = L"settings.language.hotkey_trigger"; | 211 const wchar_t kLanguageHotkeyTrigger[] = L"settings.language.hotkey_trigger"; |
| 212 | 212 |
| 213 // A string pref (comma-separated list) set to the preloaded (active) IME IDs. | 213 // A string pref (comma-separated list) set to the preloaded (active) input |
| 214 // method IDs. |
| 214 const wchar_t kLanguagePreloadEngines[] = L"settings.language.preload_engines"; | 215 const wchar_t kLanguagePreloadEngines[] = L"settings.language.preload_engines"; |
| 215 | 216 |
| 216 // A string pref which determines the keyboard layout for Hangul IME. | 217 // A string pref which determines the keyboard layout for Hangul input method. |
| 217 const wchar_t kLanguageHangulKeyboard[] = L"settings.language.hangul_keyboard"; | 218 const wchar_t kLanguageHangulKeyboard[] = L"settings.language.hangul_keyboard"; |
| 219 |
| 220 // A boolean prefs for ibus-pinyin Chinese input method. |
| 221 const wchar_t kLanguagePinyinCorrectPinyin[] = |
| 222 L"settings.language.pinyin_correct_pinyin"; |
| 223 const wchar_t kLanguagePinyinFuzzyPinyin[] = |
| 224 L"settings.language.pinyin_fuzzy_pinyin"; |
| 225 const wchar_t kLanguagePinyinShiftSelectCandidate[] = |
| 226 L"settings.language.pinyin_shift_select_candidate"; |
| 227 const wchar_t kLanguagePinyinMinusEqualPage[] = |
| 228 L"settings.language.pinyin_minus_equal_page"; |
| 229 const wchar_t kLanguagePinyinCommaPeriodPage[] = |
| 230 L"settings.language.pinyin_comma_period_page"; |
| 231 const wchar_t kLanguagePinyinAutoCommit[] = |
| 232 L"settings.language.pinyin_auto_commit"; |
| 233 const wchar_t kLanguagePinyinDoublePinyin[] = |
| 234 L"settings.language.pinyin_double_pinyin"; |
| 235 const wchar_t kLanguagePinyinInitChinese[] = |
| 236 L"settings.language.pinyin_init_chinese"; |
| 237 const wchar_t kLanguagePinyinInitFull[] = |
| 238 L"settings.language.pinyin_init_full"; |
| 239 const wchar_t kLanguagePinyinInitFullPunct[] = |
| 240 L"settings.language.pinyin_init_full_punct"; |
| 241 const wchar_t kLanguagePinyinInitSimplifiedChinese[] = |
| 242 L"settings.language.pinyin_init_simplified_chinese"; |
| 243 const wchar_t kLanguagePinyinTradCandidate[] = |
| 244 L"settings.language.pinyin_trad_candidate"; |
| 245 |
| 246 // A integer prefs for ibus-pinyin Chinese input method. |
| 247 const wchar_t kLanguagePinyinDoublePinyinSchema[] = |
| 248 L"settings.language.pinyin_double_pinyin_schema"; |
| 249 const wchar_t kLanguagePinyinLookupTablePageSize[] = |
| 250 L"settings.language.pinyin_lookup_table_page_size"; |
| 218 #endif | 251 #endif |
| 219 | 252 |
| 220 // The disabled messages in IPC logging. | 253 // The disabled messages in IPC logging. |
| 221 const wchar_t kIpcDisabledMessages[] = L"ipc_log_disabled_messages"; | 254 const wchar_t kIpcDisabledMessages[] = L"ipc_log_disabled_messages"; |
| 222 | 255 |
| 223 // A boolean pref set to true if a Home button to open the Home pages should be | 256 // A boolean pref set to true if a Home button to open the Home pages should be |
| 224 // visible on the toolbar. | 257 // visible on the toolbar. |
| 225 const wchar_t kShowHomeButton[] = L"browser.show_home_button"; | 258 const wchar_t kShowHomeButton[] = L"browser.show_home_button"; |
| 226 | 259 |
| 227 // A boolean pref set to true if the Page and Options menu buttons should be | 260 // A boolean pref set to true if the Page and Options menu buttons should be |
| (...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 // LoginDatabase. | 789 // LoginDatabase. |
| 757 const wchar_t kLoginDatabaseMigrated[] = L"login_database.migrated"; | 790 const wchar_t kLoginDatabaseMigrated[] = L"login_database.migrated"; |
| 758 | 791 |
| 759 // The unique id for this instance of the cloud print proxy. | 792 // The unique id for this instance of the cloud print proxy. |
| 760 const wchar_t kCloudPrintProxyId[] = L"cloud_print.proxy_id"; | 793 const wchar_t kCloudPrintProxyId[] = L"cloud_print.proxy_id"; |
| 761 // The human-readable name of the Cloud Print proxy. User-supplied. | 794 // The human-readable name of the Cloud Print proxy. User-supplied. |
| 762 const wchar_t kCloudPrintProxyName[] = L"cloud_print.proxy_name"; | 795 const wchar_t kCloudPrintProxyName[] = L"cloud_print.proxy_name"; |
| 763 // The GAIA auth token (we may need to move it outside of prefs) | 796 // The GAIA auth token (we may need to move it outside of prefs) |
| 764 const wchar_t kCloudPrintAuthToken[] = L"cloud_print_auth_token"; | 797 const wchar_t kCloudPrintAuthToken[] = L"cloud_print_auth_token"; |
| 765 } // namespace prefs | 798 } // namespace prefs |
| OLD | NEW |