Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "chrome/common/pref_font_webkit_names.h" | 8 #include "chrome/common/pref_font_webkit_names.h" |
| 9 | 9 |
| 10 namespace prefs { | 10 namespace prefs { |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 185 // The value to use for showing locale-dependent encoding list for different | 185 // The value to use for showing locale-dependent encoding list for different |
| 186 // locale, it's initialized from the corresponding string resource that is | 186 // locale, it's initialized from the corresponding string resource that is |
| 187 // stored in non-translatable part of the resource bundle. | 187 // stored in non-translatable part of the resource bundle. |
| 188 const char kStaticEncodings[] = "intl.static_encodings"; | 188 const char kStaticEncodings[] = "intl.static_encodings"; |
| 189 | 189 |
| 190 // If these change, the corresponding enums in the extension API | 190 // If these change, the corresponding enums in the extension API |
| 191 // experimental.fontSettings.json must also change. | 191 // experimental.fontSettings.json must also change. |
| 192 const char* const kWebKitScriptsForFontFamilyMaps[] = { | 192 const char* const kWebKitScriptsForFontFamilyMaps[] = { |
| 193 #define EXPAND_SCRIPT_FONT(x, script_name) script_name , | 193 #define EXPAND_SCRIPT_FONT(x, script_name) script_name , |
| 194 #include "chrome/common/pref_font_script_names-inl.h" | 194 #include "chrome/common/pref_font_script_names-inl.h" |
| 195 ALL_FONT_SCRIPTS("unused param") | 195 ALL_FONT_SCRIPTS("unused param") |
| 196 #undef EXPAND_SCRIPT_FONT | 196 #undef EXPAND_SCRIPT_FONT |
| 197 }; | 197 }; |
|
gab
2014/09/05 01:00:19
git cl format?
Feels this should remain unindente
engedy
2014/09/05 11:45:46
Argh... yes. I have accidentally the whole thing.
| |
| 198 | 198 |
| 199 const size_t kWebKitScriptsForFontFamilyMapsLength = | 199 const size_t kWebKitScriptsForFontFamilyMapsLength = arraysize( |
| 200 arraysize(kWebKitScriptsForFontFamilyMaps); | 200 kWebKitScriptsForFontFamilyMaps); |
| 201 | 201 |
| 202 // Strings for WebKit font family preferences. If these change, the pref prefix | 202 // Strings for WebKit font family preferences. If these change, the pref prefix |
| 203 // in pref_names_util.cc and the pref format in font_settings_api.cc must also | 203 // in pref_names_util.cc and the pref format in font_settings_api.cc must also |
| 204 // change. | 204 // change. |
| 205 const char kWebKitStandardFontFamilyMap[] = | 205 const char kWebKitStandardFontFamilyMap[] = |
| 206 WEBKIT_WEBPREFS_FONTS_STANDARD; | 206 WEBKIT_WEBPREFS_FONTS_STANDARD; |
| 207 const char kWebKitFixedFontFamilyMap[] = | 207 const char kWebKitFixedFontFamilyMap[] = |
| 208 WEBKIT_WEBPREFS_FONTS_FIXED; | 208 WEBKIT_WEBPREFS_FONTS_FIXED; |
| 209 const char kWebKitSerifFontFamilyMap[] = | 209 const char kWebKitSerifFontFamilyMap[] = |
| 210 WEBKIT_WEBPREFS_FONTS_SERIF; | 210 WEBKIT_WEBPREFS_FONTS_SERIF; |
| 211 const char kWebKitSansSerifFontFamilyMap[] = | 211 const char kWebKitSansSerifFontFamilyMap[] = |
| 212 WEBKIT_WEBPREFS_FONTS_SANSERIF; | 212 WEBKIT_WEBPREFS_FONTS_SANSERIF; |
| 213 const char kWebKitCursiveFontFamilyMap[] = | 213 const char kWebKitCursiveFontFamilyMap[] = |
| 214 WEBKIT_WEBPREFS_FONTS_CURSIVE; | 214 WEBKIT_WEBPREFS_FONTS_CURSIVE; |
| 215 const char kWebKitFantasyFontFamilyMap[] = | 215 const char kWebKitFantasyFontFamilyMap[] = |
| 216 WEBKIT_WEBPREFS_FONTS_FANTASY; | 216 WEBKIT_WEBPREFS_FONTS_FANTASY; |
| 217 const char kWebKitPictographFontFamilyMap[] = | 217 const char kWebKitPictographFontFamilyMap[] = |
| 218 WEBKIT_WEBPREFS_FONTS_PICTOGRAPH; | 218 WEBKIT_WEBPREFS_FONTS_PICTOGRAPH; |
| 219 const char kWebKitStandardFontFamilyArabic[] = | 219 const char kWebKitStandardFontFamilyArabic[] = |
| 220 "webkit.webprefs.fonts.standard.Arab"; | 220 "webkit.webprefs.fonts.standard.Arab"; |
| 221 const char kWebKitFixedFontFamilyArabic[] = | 221 const char kWebKitFixedFontFamilyArabic[] = "webkit.webprefs.fonts.fixed.Arab"; |
| 222 "webkit.webprefs.fonts.fixed.Arab"; | 222 const char kWebKitSerifFontFamilyArabic[] = "webkit.webprefs.fonts.serif.Arab"; |
| 223 const char kWebKitSerifFontFamilyArabic[] = | |
| 224 "webkit.webprefs.fonts.serif.Arab"; | |
| 225 const char kWebKitSansSerifFontFamilyArabic[] = | 223 const char kWebKitSansSerifFontFamilyArabic[] = |
| 226 "webkit.webprefs.fonts.sansserif.Arab"; | 224 "webkit.webprefs.fonts.sansserif.Arab"; |
| 227 const char kWebKitStandardFontFamilyCyrillic[] = | 225 const char kWebKitStandardFontFamilyCyrillic[] = |
| 228 "webkit.webprefs.fonts.standard.Cyrl"; | 226 "webkit.webprefs.fonts.standard.Cyrl"; |
| 229 const char kWebKitFixedFontFamilyCyrillic[] = | 227 const char kWebKitFixedFontFamilyCyrillic[] = "webkit.webprefs.fonts.fixed.Cyrl" ; |
| 230 "webkit.webprefs.fonts.fixed.Cyrl"; | 228 const char kWebKitSerifFontFamilyCyrillic[] = "webkit.webprefs.fonts.serif.Cyrl" ; |
| 231 const char kWebKitSerifFontFamilyCyrillic[] = | |
| 232 "webkit.webprefs.fonts.serif.Cyrl"; | |
| 233 const char kWebKitSansSerifFontFamilyCyrillic[] = | 229 const char kWebKitSansSerifFontFamilyCyrillic[] = |
| 234 "webkit.webprefs.fonts.sansserif.Cyrl"; | 230 "webkit.webprefs.fonts.sansserif.Cyrl"; |
| 235 const char kWebKitStandardFontFamilyGreek[] = | 231 const char kWebKitStandardFontFamilyGreek[] = |
| 236 "webkit.webprefs.fonts.standard.Grek"; | 232 "webkit.webprefs.fonts.standard.Grek"; |
| 237 const char kWebKitFixedFontFamilyGreek[] = | 233 const char kWebKitFixedFontFamilyGreek[] = "webkit.webprefs.fonts.fixed.Grek"; |
| 238 "webkit.webprefs.fonts.fixed.Grek"; | 234 const char kWebKitSerifFontFamilyGreek[] = "webkit.webprefs.fonts.serif.Grek"; |
| 239 const char kWebKitSerifFontFamilyGreek[] = | |
| 240 "webkit.webprefs.fonts.serif.Grek"; | |
| 241 const char kWebKitSansSerifFontFamilyGreek[] = | 235 const char kWebKitSansSerifFontFamilyGreek[] = |
| 242 "webkit.webprefs.fonts.sansserif.Grek"; | 236 "webkit.webprefs.fonts.sansserif.Grek"; |
| 243 const char kWebKitStandardFontFamilyJapanese[] = | 237 const char kWebKitStandardFontFamilyJapanese[] = |
| 244 "webkit.webprefs.fonts.standard.Jpan"; | 238 "webkit.webprefs.fonts.standard.Jpan"; |
| 245 const char kWebKitFixedFontFamilyJapanese[] = | 239 const char kWebKitFixedFontFamilyJapanese[] = "webkit.webprefs.fonts.fixed.Jpan" ; |
| 246 "webkit.webprefs.fonts.fixed.Jpan"; | 240 const char kWebKitSerifFontFamilyJapanese[] = "webkit.webprefs.fonts.serif.Jpan" ; |
| 247 const char kWebKitSerifFontFamilyJapanese[] = | |
| 248 "webkit.webprefs.fonts.serif.Jpan"; | |
| 249 const char kWebKitSansSerifFontFamilyJapanese[] = | 241 const char kWebKitSansSerifFontFamilyJapanese[] = |
| 250 "webkit.webprefs.fonts.sansserif.Jpan"; | 242 "webkit.webprefs.fonts.sansserif.Jpan"; |
| 251 const char kWebKitStandardFontFamilyKorean[] = | 243 const char kWebKitStandardFontFamilyKorean[] = |
| 252 "webkit.webprefs.fonts.standard.Hang"; | 244 "webkit.webprefs.fonts.standard.Hang"; |
| 253 const char kWebKitFixedFontFamilyKorean[] = | 245 const char kWebKitFixedFontFamilyKorean[] = "webkit.webprefs.fonts.fixed.Hang"; |
| 254 "webkit.webprefs.fonts.fixed.Hang"; | 246 const char kWebKitSerifFontFamilyKorean[] = "webkit.webprefs.fonts.serif.Hang"; |
| 255 const char kWebKitSerifFontFamilyKorean[] = | |
| 256 "webkit.webprefs.fonts.serif.Hang"; | |
| 257 const char kWebKitSansSerifFontFamilyKorean[] = | 247 const char kWebKitSansSerifFontFamilyKorean[] = |
| 258 "webkit.webprefs.fonts.sansserif.Hang"; | 248 "webkit.webprefs.fonts.sansserif.Hang"; |
| 259 const char kWebKitCursiveFontFamilyKorean[] = | 249 const char kWebKitCursiveFontFamilyKorean[] = |
| 260 "webkit.webprefs.fonts.cursive.Hang"; | 250 "webkit.webprefs.fonts.cursive.Hang"; |
| 261 const char kWebKitStandardFontFamilySimplifiedHan[] = | 251 const char kWebKitStandardFontFamilySimplifiedHan[] = |
| 262 "webkit.webprefs.fonts.standard.Hans"; | 252 "webkit.webprefs.fonts.standard.Hans"; |
| 263 const char kWebKitFixedFontFamilySimplifiedHan[] = | 253 const char kWebKitFixedFontFamilySimplifiedHan[] = |
| 264 "webkit.webprefs.fonts.fixed.Hans"; | 254 "webkit.webprefs.fonts.fixed.Hans"; |
| 265 const char kWebKitSerifFontFamilySimplifiedHan[] = | 255 const char kWebKitSerifFontFamilySimplifiedHan[] = |
| 266 "webkit.webprefs.fonts.serif.Hans"; | 256 "webkit.webprefs.fonts.serif.Hans"; |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 287 const char kWebKitJavaEnabled[] = "webkit.webprefs.java_enabled"; | 277 const char kWebKitJavaEnabled[] = "webkit.webprefs.java_enabled"; |
| 288 const char kWebkitTabsToLinks[] = "webkit.webprefs.tabs_to_links"; | 278 const char kWebkitTabsToLinks[] = "webkit.webprefs.tabs_to_links"; |
| 289 const char kWebKitAllowDisplayingInsecureContent[] = | 279 const char kWebKitAllowDisplayingInsecureContent[] = |
| 290 "webkit.webprefs.allow_displaying_insecure_content"; | 280 "webkit.webprefs.allow_displaying_insecure_content"; |
| 291 const char kWebKitAllowRunningInsecureContent[] = | 281 const char kWebKitAllowRunningInsecureContent[] = |
| 292 "webkit.webprefs.allow_running_insecure_content"; | 282 "webkit.webprefs.allow_running_insecure_content"; |
| 293 #if defined(OS_ANDROID) | 283 #if defined(OS_ANDROID) |
| 294 const char kWebKitFontScaleFactor[] = "webkit.webprefs.font_scale_factor"; | 284 const char kWebKitFontScaleFactor[] = "webkit.webprefs.font_scale_factor"; |
| 295 const char kWebKitForceEnableZoom[] = "webkit.webprefs.force_enable_zoom"; | 285 const char kWebKitForceEnableZoom[] = "webkit.webprefs.force_enable_zoom"; |
| 296 const char kWebKitPasswordEchoEnabled[] = | 286 const char kWebKitPasswordEchoEnabled[] = |
| 297 "webkit.webprefs.password_echo_enabled"; | 287 "webkit.webprefs.password_echo_enabled"; |
| 298 #endif | 288 #endif |
| 299 | 289 |
| 300 const char kWebKitCommonScript[] = "Zyyy"; | 290 const char kWebKitCommonScript[] = "Zyyy"; |
| 301 const char kWebKitStandardFontFamily[] = "webkit.webprefs.fonts.standard.Zyyy"; | 291 const char kWebKitStandardFontFamily[] = "webkit.webprefs.fonts.standard.Zyyy"; |
| 302 const char kWebKitFixedFontFamily[] = "webkit.webprefs.fonts.fixed.Zyyy"; | 292 const char kWebKitFixedFontFamily[] = "webkit.webprefs.fonts.fixed.Zyyy"; |
| 303 const char kWebKitSerifFontFamily[] = "webkit.webprefs.fonts.serif.Zyyy"; | 293 const char kWebKitSerifFontFamily[] = "webkit.webprefs.fonts.serif.Zyyy"; |
| 304 const char kWebKitSansSerifFontFamily[] = | 294 const char kWebKitSansSerifFontFamily[] = "webkit.webprefs.fonts.sansserif.Zyyy" ; |
| 305 "webkit.webprefs.fonts.sansserif.Zyyy"; | |
| 306 const char kWebKitCursiveFontFamily[] = "webkit.webprefs.fonts.cursive.Zyyy"; | 295 const char kWebKitCursiveFontFamily[] = "webkit.webprefs.fonts.cursive.Zyyy"; |
| 307 const char kWebKitFantasyFontFamily[] = "webkit.webprefs.fonts.fantasy.Zyyy"; | 296 const char kWebKitFantasyFontFamily[] = "webkit.webprefs.fonts.fantasy.Zyyy"; |
| 308 const char kWebKitPictographFontFamily[] = | 297 const char kWebKitPictographFontFamily[] = |
| 309 "webkit.webprefs.fonts.pictograph.Zyyy"; | 298 "webkit.webprefs.fonts.pictograph.Zyyy"; |
| 310 const char kWebKitDefaultFontSize[] = "webkit.webprefs.default_font_size"; | 299 const char kWebKitDefaultFontSize[] = "webkit.webprefs.default_font_size"; |
| 311 const char kWebKitDefaultFixedFontSize[] = | 300 const char kWebKitDefaultFixedFontSize[] = |
| 312 "webkit.webprefs.default_fixed_font_size"; | 301 "webkit.webprefs.default_fixed_font_size"; |
| 313 const char kWebKitMinimumFontSize[] = "webkit.webprefs.minimum_font_size"; | 302 const char kWebKitMinimumFontSize[] = "webkit.webprefs.minimum_font_size"; |
| 314 const char kWebKitMinimumLogicalFontSize[] = | 303 const char kWebKitMinimumLogicalFontSize[] = |
| 315 "webkit.webprefs.minimum_logical_font_size"; | 304 "webkit.webprefs.minimum_logical_font_size"; |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 327 const char kSafeBrowsingExtendedReportingEnabled[] = | 316 const char kSafeBrowsingExtendedReportingEnabled[] = |
| 328 "safebrowsing.extended_reporting_enabled"; | 317 "safebrowsing.extended_reporting_enabled"; |
| 329 | 318 |
| 330 // Boolean that tell us whether malicious download feedback is enabled. | 319 // Boolean that tell us whether malicious download feedback is enabled. |
| 331 // TODO(felt): Deprecate. crbug.com/383866 | 320 // TODO(felt): Deprecate. crbug.com/383866 |
| 332 const char kSafeBrowsingDownloadFeedbackEnabled[] = | 321 const char kSafeBrowsingDownloadFeedbackEnabled[] = |
| 333 "safebrowsing.download_feedback_enabled"; | 322 "safebrowsing.download_feedback_enabled"; |
| 334 | 323 |
| 335 // Boolean that is true when SafeBrowsing Malware Report is enabled. | 324 // Boolean that is true when SafeBrowsing Malware Report is enabled. |
| 336 // TODO(felt): Deprecate. crbug.com/383866 | 325 // TODO(felt): Deprecate. crbug.com/383866 |
| 337 const char kSafeBrowsingReportingEnabled[] = | 326 const char kSafeBrowsingReportingEnabled[] = "safebrowsing.reporting_enabled"; |
| 338 "safebrowsing.reporting_enabled"; | |
| 339 | 327 |
| 340 // Boolean that is true when the SafeBrowsing interstitial should not allow | 328 // Boolean that is true when the SafeBrowsing interstitial should not allow |
| 341 // users to proceed anyway. | 329 // users to proceed anyway. |
| 342 const char kSafeBrowsingProceedAnywayDisabled[] = | 330 const char kSafeBrowsingProceedAnywayDisabled[] = |
| 343 "safebrowsing.proceed_anyway_disabled"; | 331 "safebrowsing.proceed_anyway_disabled"; |
| 344 | 332 |
| 345 // Boolean that is true when SafeBrowsing has sent an incident report. | 333 // Boolean that is true when SafeBrowsing has sent an incident report. |
| 346 const char kSafeBrowsingIncidentReportSent[] = | 334 const char kSafeBrowsingIncidentReportSent[] = |
| 347 "safebrowsing.incident_report_sent"; | 335 "safebrowsing.incident_report_sent"; |
| 348 | 336 |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 469 const char kHideWebStoreIcon[] = "hide_web_store_icon"; | 457 const char kHideWebStoreIcon[] = "hide_web_store_icon"; |
| 470 | 458 |
| 471 #if defined(OS_CHROMEOS) | 459 #if defined(OS_CHROMEOS) |
| 472 // A dictionary pref to hold the mute setting for all the currently known | 460 // A dictionary pref to hold the mute setting for all the currently known |
| 473 // audio devices. | 461 // audio devices. |
| 474 const char kAudioDevicesMute[] = "settings.audio.devices.mute"; | 462 const char kAudioDevicesMute[] = "settings.audio.devices.mute"; |
| 475 | 463 |
| 476 // A dictionary pref storing the volume settings for all the currently known | 464 // A dictionary pref storing the volume settings for all the currently known |
| 477 // audio devices. | 465 // audio devices. |
| 478 const char kAudioDevicesVolumePercent[] = | 466 const char kAudioDevicesVolumePercent[] = |
| 479 "settings.audio.devices.volume_percent"; | 467 "settings.audio.devices.volume_percent"; |
| 480 | 468 |
| 481 // An integer pref to initially mute volume if 1. This pref is ignored if | 469 // An integer pref to initially mute volume if 1. This pref is ignored if |
| 482 // |kAudioOutputAllowed| is set to false, but its value is preserved, therefore | 470 // |kAudioOutputAllowed| is set to false, but its value is preserved, therefore |
| 483 // when the policy is lifted the original mute state is restored. This setting | 471 // when the policy is lifted the original mute state is restored. This setting |
| 484 // is here only for migration purposes now. It is being replaced by the | 472 // is here only for migration purposes now. It is being replaced by the |
| 485 // |kAudioDevicesMute| setting. | 473 // |kAudioDevicesMute| setting. |
| 486 const char kAudioMute[] = "settings.audio.mute"; | 474 const char kAudioMute[] = "settings.audio.mute"; |
| 487 | 475 |
| 488 // A double pref storing the user-requested volume. This setting is here only | 476 // A double pref storing the user-requested volume. This setting is here only |
| 489 // for migration purposes now. It is being replaced by the | 477 // for migration purposes now. It is being replaced by the |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 503 const char kSpringChargerCheck[] = "settings.spring_charger.check_result"; | 491 const char kSpringChargerCheck[] = "settings.spring_charger.check_result"; |
| 504 | 492 |
| 505 // A boolean pref set to true if touchpad tap-to-click is enabled. | 493 // A boolean pref set to true if touchpad tap-to-click is enabled. |
| 506 const char kTapToClickEnabled[] = "settings.touchpad.enable_tap_to_click"; | 494 const char kTapToClickEnabled[] = "settings.touchpad.enable_tap_to_click"; |
| 507 | 495 |
| 508 // A boolean pref set to true if touchpad tap-dragging is enabled. | 496 // A boolean pref set to true if touchpad tap-dragging is enabled. |
| 509 const char kTapDraggingEnabled[] = "settings.touchpad.enable_tap_dragging"; | 497 const char kTapDraggingEnabled[] = "settings.touchpad.enable_tap_dragging"; |
| 510 | 498 |
| 511 // A boolean pref set to true if touchpad three-finger-click is enabled. | 499 // A boolean pref set to true if touchpad three-finger-click is enabled. |
| 512 const char kEnableTouchpadThreeFingerClick[] = | 500 const char kEnableTouchpadThreeFingerClick[] = |
| 513 "settings.touchpad.enable_three_finger_click"; | 501 "settings.touchpad.enable_three_finger_click"; |
| 514 | 502 |
| 515 // A boolean pref set to true if touchpad natural scrolling is enabled. | 503 // A boolean pref set to true if touchpad natural scrolling is enabled. |
| 516 const char kNaturalScroll[] = "settings.touchpad.natural_scroll"; | 504 const char kNaturalScroll[] = "settings.touchpad.natural_scroll"; |
| 517 | 505 |
| 518 // A boolean pref set to true if primary mouse button is the left button. | 506 // A boolean pref set to true if primary mouse button is the left button. |
| 519 const char kPrimaryMouseButtonRight[] = "settings.mouse.primary_right"; | 507 const char kPrimaryMouseButtonRight[] = "settings.mouse.primary_right"; |
| 520 | 508 |
| 521 // A integer pref for the touchpad sensitivity. | 509 // A integer pref for the touchpad sensitivity. |
| 522 const char kMouseSensitivity[] = "settings.mouse.sensitivity2"; | 510 const char kMouseSensitivity[] = "settings.mouse.sensitivity2"; |
| 523 | 511 |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 534 // A boolean pref to disable Drive over cellular connections. | 522 // A boolean pref to disable Drive over cellular connections. |
| 535 // The pref prefix should remain as "gdata" for backward compatibility. | 523 // The pref prefix should remain as "gdata" for backward compatibility. |
| 536 const char kDisableDriveOverCellular[] = "gdata.cellular.disabled"; | 524 const char kDisableDriveOverCellular[] = "gdata.cellular.disabled"; |
| 537 | 525 |
| 538 // A boolean pref to disable hosted files on Drive. | 526 // A boolean pref to disable hosted files on Drive. |
| 539 // The pref prefix should remain as "gdata" for backward compatibility. | 527 // The pref prefix should remain as "gdata" for backward compatibility. |
| 540 const char kDisableDriveHostedFiles[] = "gdata.hosted_files.disabled"; | 528 const char kDisableDriveHostedFiles[] = "gdata.hosted_files.disabled"; |
| 541 | 529 |
| 542 // A string pref set to the current input method. | 530 // A string pref set to the current input method. |
| 543 const char kLanguageCurrentInputMethod[] = | 531 const char kLanguageCurrentInputMethod[] = |
| 544 "settings.language.current_input_method"; | 532 "settings.language.current_input_method"; |
| 545 | 533 |
| 546 // A string pref set to the previous input method. | 534 // A string pref set to the previous input method. |
| 547 const char kLanguagePreviousInputMethod[] = | 535 const char kLanguagePreviousInputMethod[] = |
| 548 "settings.language.previous_input_method"; | 536 "settings.language.previous_input_method"; |
| 549 | 537 |
| 550 // A string pref (comma-separated list) set to the "next engine in menu" | 538 // A string pref (comma-separated list) set to the "next engine in menu" |
| 551 // hot-key lists. | 539 // hot-key lists. |
| 552 const char kLanguageHotkeyNextEngineInMenu[] = | 540 const char kLanguageHotkeyNextEngineInMenu[] = |
| 553 "settings.language.hotkey_next_engine_in_menu"; | 541 "settings.language.hotkey_next_engine_in_menu"; |
| 554 | 542 |
| 555 // A string pref (comma-separated list) set to the "previous engine" | 543 // A string pref (comma-separated list) set to the "previous engine" |
| 556 // hot-key lists. | 544 // hot-key lists. |
| 557 const char kLanguageHotkeyPreviousEngine[] = | 545 const char kLanguageHotkeyPreviousEngine[] = |
| 558 "settings.language.hotkey_previous_engine"; | 546 "settings.language.hotkey_previous_engine"; |
| 559 | 547 |
| 560 // A string pref (comma-separated list) set to the preferred language IDs | 548 // A string pref (comma-separated list) set to the preferred language IDs |
| 561 // (ex. "en-US,fr,ko"). | 549 // (ex. "en-US,fr,ko"). |
| 562 const char kLanguagePreferredLanguages[] = | 550 const char kLanguagePreferredLanguages[] = |
| 563 "settings.language.preferred_languages"; | 551 "settings.language.preferred_languages"; |
| 564 | 552 |
| 565 // A string pref (comma-separated list) set to the preloaded (active) input | 553 // A string pref (comma-separated list) set to the preloaded (active) input |
| 566 // method IDs (ex. "pinyin,mozc"). | 554 // method IDs (ex. "pinyin,mozc"). |
| 567 const char kLanguagePreloadEngines[] = "settings.language.preload_engines"; | 555 const char kLanguagePreloadEngines[] = "settings.language.preload_engines"; |
| 568 | 556 |
| 569 // A List pref (comma-separated list) set to the extension IMEs to be enabled. | 557 // A List pref (comma-separated list) set to the extension IMEs to be enabled. |
| 570 const char kLanguageEnabledExtensionImes[] = | 558 const char kLanguageEnabledExtensionImes[] = |
| 571 "settings.language.enabled_extension_imes"; | 559 "settings.language.enabled_extension_imes"; |
| 572 | 560 |
| 573 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and | 561 // Integer prefs which determine how we remap modifier keys (e.g. swap Alt and |
| 574 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in | 562 // Control.) Possible values for these prefs are 0-4. See ModifierKey enum in |
| 575 // src/chrome/browser/chromeos/input_method/xkeyboard.h | 563 // src/chrome/browser/chromeos/input_method/xkeyboard.h |
| 576 const char kLanguageRemapSearchKeyTo[] = | 564 const char kLanguageRemapSearchKeyTo[] = |
| 577 // Note: we no longer use XKB for remapping these keys, but we can't change | 565 // Note: we no longer use XKB for remapping these keys, but we can't change |
| 578 // the pref names since the names are already synced with the cloud. | 566 // the pref names since the names are already synced with the cloud. |
| 579 "settings.language.xkb_remap_search_key_to"; | 567 "settings.language.xkb_remap_search_key_to"; |
| 580 const char kLanguageRemapControlKeyTo[] = | 568 const char kLanguageRemapControlKeyTo[] = |
| 581 "settings.language.xkb_remap_control_key_to"; | 569 "settings.language.xkb_remap_control_key_to"; |
| 582 const char kLanguageRemapAltKeyTo[] = | 570 const char kLanguageRemapAltKeyTo[] = |
| 583 "settings.language.xkb_remap_alt_key_to"; | 571 "settings.language.xkb_remap_alt_key_to"; |
| 584 const char kLanguageRemapCapsLockKeyTo[] = | 572 const char kLanguageRemapCapsLockKeyTo[] = |
| 585 "settings.language.remap_caps_lock_key_to"; | 573 "settings.language.remap_caps_lock_key_to"; |
| 586 const char kLanguageRemapDiamondKeyTo[] = | 574 const char kLanguageRemapDiamondKeyTo[] = |
| 587 "settings.language.remap_diamond_key_to"; | 575 "settings.language.remap_diamond_key_to"; |
| 588 | 576 |
| 589 // A boolean pref that causes top-row keys to be interpreted as function keys | 577 // A boolean pref that causes top-row keys to be interpreted as function keys |
| 590 // instead of as media keys. | 578 // instead of as media keys. |
| 591 const char kLanguageSendFunctionKeys[] = | 579 const char kLanguageSendFunctionKeys[] = |
| 592 "settings.language.send_function_keys"; | 580 "settings.language.send_function_keys"; |
| 593 | 581 |
| 594 // A boolean pref which determines whether key repeat is enabled. | 582 // A boolean pref which determines whether key repeat is enabled. |
| 595 const char kLanguageXkbAutoRepeatEnabled[] = | 583 const char kLanguageXkbAutoRepeatEnabled[] = |
| 596 "settings.language.xkb_auto_repeat_enabled_r2"; | 584 "settings.language.xkb_auto_repeat_enabled_r2"; |
| 597 // A integer pref which determines key repeat delay (in ms). | 585 // A integer pref which determines key repeat delay (in ms). |
| 598 const char kLanguageXkbAutoRepeatDelay[] = | 586 const char kLanguageXkbAutoRepeatDelay[] = |
| 599 "settings.language.xkb_auto_repeat_delay_r2"; | 587 "settings.language.xkb_auto_repeat_delay_r2"; |
| 600 // A integer pref which determines key repeat interval (in ms). | 588 // A integer pref which determines key repeat interval (in ms). |
| 601 const char kLanguageXkbAutoRepeatInterval[] = | 589 const char kLanguageXkbAutoRepeatInterval[] = |
| 602 "settings.language.xkb_auto_repeat_interval_r2"; | 590 "settings.language.xkb_auto_repeat_interval_r2"; |
| 603 // "_r2" suffixes were added to the three prefs above when we changed the | 591 // "_r2" suffixes were added to the three prefs above when we changed the |
| 604 // preferences to not be user-configurable or sync with the cloud. The prefs are | 592 // preferences to not be user-configurable or sync with the cloud. The prefs are |
| 605 // now user-configurable and syncable again, but we don't want to overwrite the | 593 // now user-configurable and syncable again, but we don't want to overwrite the |
| 606 // current values with the old synced values, so we continue to use this suffix. | 594 // current values with the old synced values, so we continue to use this suffix. |
| 607 | 595 |
| 608 // A boolean pref which determines whether the large cursor feature is enabled. | 596 // A boolean pref which determines whether the large cursor feature is enabled. |
| 609 const char kAccessibilityLargeCursorEnabled[] = | 597 const char kAccessibilityLargeCursorEnabled[] = |
| 610 "settings.a11y.large_cursor_enabled"; | 598 "settings.a11y.large_cursor_enabled"; |
| 611 | 599 |
| 612 // A boolean pref which determines whether the sticky keys feature is enabled. | 600 // A boolean pref which determines whether the sticky keys feature is enabled. |
| 613 const char kAccessibilityStickyKeysEnabled[] = | 601 const char kAccessibilityStickyKeysEnabled[] = |
| 614 "settings.a11y.sticky_keys_enabled"; | 602 "settings.a11y.sticky_keys_enabled"; |
| 615 // A boolean pref which determines whether spoken feedback is enabled. | 603 // A boolean pref which determines whether spoken feedback is enabled. |
| 616 const char kAccessibilitySpokenFeedbackEnabled[] = "settings.accessibility"; | 604 const char kAccessibilitySpokenFeedbackEnabled[] = "settings.accessibility"; |
| 617 // A boolean pref which determines whether high conrast is enabled. | 605 // A boolean pref which determines whether high conrast is enabled. |
| 618 const char kAccessibilityHighContrastEnabled[] = | 606 const char kAccessibilityHighContrastEnabled[] = |
| 619 "settings.a11y.high_contrast_enabled"; | 607 "settings.a11y.high_contrast_enabled"; |
| 620 // A boolean pref which determines whether screen magnifier is enabled. | 608 // A boolean pref which determines whether screen magnifier is enabled. |
| 621 const char kAccessibilityScreenMagnifierEnabled[] = | 609 const char kAccessibilityScreenMagnifierEnabled[] = |
| 622 "settings.a11y.screen_magnifier"; | 610 "settings.a11y.screen_magnifier"; |
| 623 // A integer pref which determines what type of screen magnifier is enabled. | 611 // A integer pref which determines what type of screen magnifier is enabled. |
| 624 // Note that: 'screen_magnifier_type' had been used as string pref. Hence, | 612 // Note that: 'screen_magnifier_type' had been used as string pref. Hence, |
| 625 // we are using another name pref here. | 613 // we are using another name pref here. |
| 626 const char kAccessibilityScreenMagnifierType[] = | 614 const char kAccessibilityScreenMagnifierType[] = |
| 627 "settings.a11y.screen_magnifier_type2"; | 615 "settings.a11y.screen_magnifier_type2"; |
| 628 // A double pref which determines a zooming scale of the screen magnifier. | 616 // A double pref which determines a zooming scale of the screen magnifier. |
| 629 const char kAccessibilityScreenMagnifierScale[] = | 617 const char kAccessibilityScreenMagnifierScale[] = |
| 630 "settings.a11y.screen_magnifier_scale"; | 618 "settings.a11y.screen_magnifier_scale"; |
| 631 // A boolean pref which determines whether the virtual keyboard is enabled for | 619 // A boolean pref which determines whether the virtual keyboard is enabled for |
| 632 // accessibility. This feature is separate from displaying an onscreen keyboard | 620 // accessibility. This feature is separate from displaying an onscreen keyboard |
| 633 // due to lack of a physical keyboard. | 621 // due to lack of a physical keyboard. |
| 634 const char kAccessibilityVirtualKeyboardEnabled[] = | 622 const char kAccessibilityVirtualKeyboardEnabled[] = |
| 635 "settings.a11y.virtual_keyboard"; | 623 "settings.a11y.virtual_keyboard"; |
| 636 // A boolean pref which determines whether autoclick is enabled. | 624 // A boolean pref which determines whether autoclick is enabled. |
| 637 const char kAccessibilityAutoclickEnabled[] = "settings.a11y.autoclick"; | 625 const char kAccessibilityAutoclickEnabled[] = "settings.a11y.autoclick"; |
| 638 // An integer pref which determines time in ms between when the mouse cursor | 626 // An integer pref which determines time in ms between when the mouse cursor |
| 639 // stops and when an autoclick is triggered. | 627 // stops and when an autoclick is triggered. |
| 640 const char kAccessibilityAutoclickDelayMs[] = | 628 const char kAccessibilityAutoclickDelayMs[] = |
| 641 "settings.a11y.autoclick_delay_ms"; | 629 "settings.a11y.autoclick_delay_ms"; |
| 642 // A boolean pref which determines whether the accessibility menu shows | 630 // A boolean pref which determines whether the accessibility menu shows |
| 643 // regardless of the state of a11y features. | 631 // regardless of the state of a11y features. |
| 644 const char kShouldAlwaysShowAccessibilityMenu[] = "settings.a11y.enable_menu"; | 632 const char kShouldAlwaysShowAccessibilityMenu[] = "settings.a11y.enable_menu"; |
| 645 | 633 |
| 646 // A boolean pref which turns on Advanced Filesystem | 634 // A boolean pref which turns on Advanced Filesystem |
| 647 // (USB support, SD card, etc). | 635 // (USB support, SD card, etc). |
| 648 const char kLabsAdvancedFilesystemEnabled[] = | 636 const char kLabsAdvancedFilesystemEnabled[] = |
| 649 "settings.labs.advanced_filesystem"; | 637 "settings.labs.advanced_filesystem"; |
| 650 | 638 |
| 651 // A boolean pref which turns on the mediaplayer. | 639 // A boolean pref which turns on the mediaplayer. |
| 652 const char kLabsMediaplayerEnabled[] = "settings.labs.mediaplayer"; | 640 const char kLabsMediaplayerEnabled[] = "settings.labs.mediaplayer"; |
| 653 | 641 |
| 654 // A boolean pref that turns on automatic screen locking. | 642 // A boolean pref that turns on automatic screen locking. |
| 655 const char kEnableAutoScreenLock[] = "settings.enable_screen_lock"; | 643 const char kEnableAutoScreenLock[] = "settings.enable_screen_lock"; |
| 656 | 644 |
| 657 // A boolean pref of whether to show mobile plan notifications. | 645 // A boolean pref of whether to show mobile plan notifications. |
| 658 const char kShowPlanNotifications[] = | 646 const char kShowPlanNotifications[] = |
| 659 "settings.internet.mobile.show_plan_notifications"; | 647 "settings.internet.mobile.show_plan_notifications"; |
| 660 | 648 |
| 661 // A boolean pref of whether to show 3G promo notification. | 649 // A boolean pref of whether to show 3G promo notification. |
| 662 const char kShow3gPromoNotification[] = | 650 const char kShow3gPromoNotification[] = |
| 663 "settings.internet.mobile.show_3g_promo_notification"; | 651 "settings.internet.mobile.show_3g_promo_notification"; |
| 664 | 652 |
| 665 // A string pref that contains version where "What's new" promo was shown. | 653 // A string pref that contains version where "What's new" promo was shown. |
| 666 const char kChromeOSReleaseNotesVersion[] = "settings.release_notes.version"; | 654 const char kChromeOSReleaseNotesVersion[] = "settings.release_notes.version"; |
| 667 | 655 |
| 668 // A boolean pref that controls whether proxy settings from shared network | 656 // A boolean pref that controls whether proxy settings from shared network |
| 669 // settings (accordingly from device policy) are applied or ignored. | 657 // settings (accordingly from device policy) are applied or ignored. |
| 670 const char kUseSharedProxies[] = "settings.use_shared_proxies"; | 658 const char kUseSharedProxies[] = "settings.use_shared_proxies"; |
| 671 | 659 |
| 672 // Power state of the current displays from the last run. | 660 // Power state of the current displays from the last run. |
| 673 const char kDisplayPowerState[] = "settings.display.power_state"; | 661 const char kDisplayPowerState[] = "settings.display.power_state"; |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 698 | 686 |
| 699 // Holds the maximum session time in milliseconds. If this pref is set, the | 687 // Holds the maximum session time in milliseconds. If this pref is set, the |
| 700 // user is logged out when the maximum session time is reached. The user is | 688 // user is logged out when the maximum session time is reached. The user is |
| 701 // informed about the remaining time by a countdown timer shown in the ash | 689 // informed about the remaining time by a countdown timer shown in the ash |
| 702 // system tray. | 690 // system tray. |
| 703 const char kSessionLengthLimit[] = "session.length_limit"; | 691 const char kSessionLengthLimit[] = "session.length_limit"; |
| 704 | 692 |
| 705 // Whether the session length limit should start running only after the first | 693 // Whether the session length limit should start running only after the first |
| 706 // user activity has been observed in a session. | 694 // user activity has been observed in a session. |
| 707 const char kSessionWaitForInitialUserActivity[] = | 695 const char kSessionWaitForInitialUserActivity[] = |
| 708 "session.wait_for_initial_user_activity"; | 696 "session.wait_for_initial_user_activity"; |
| 709 | 697 |
| 710 // Inactivity time in milliseconds while the system is on AC power before | 698 // Inactivity time in milliseconds while the system is on AC power before |
| 711 // the screen should be dimmed, turned off, or locked, before an | 699 // the screen should be dimmed, turned off, or locked, before an |
| 712 // IdleActionImminent D-Bus signal should be sent, or before | 700 // IdleActionImminent D-Bus signal should be sent, or before |
| 713 // kPowerAcIdleAction should be performed. 0 disables the delay (N/A for | 701 // kPowerAcIdleAction should be performed. 0 disables the delay (N/A for |
| 714 // kPowerAcIdleDelayMs). | 702 // kPowerAcIdleDelayMs). |
| 715 const char kPowerAcScreenDimDelayMs[] = "power.ac_screen_dim_delay_ms"; | 703 const char kPowerAcScreenDimDelayMs[] = "power.ac_screen_dim_delay_ms"; |
| 716 const char kPowerAcScreenOffDelayMs[] = "power.ac_screen_off_delay_ms"; | 704 const char kPowerAcScreenOffDelayMs[] = "power.ac_screen_off_delay_ms"; |
| 717 const char kPowerAcScreenLockDelayMs[] = "power.ac_screen_lock_delay_ms"; | 705 const char kPowerAcScreenLockDelayMs[] = "power.ac_screen_lock_delay_ms"; |
| 718 const char kPowerAcIdleWarningDelayMs[] = "power.ac_idle_warning_delay_ms"; | 706 const char kPowerAcIdleWarningDelayMs[] = "power.ac_idle_warning_delay_ms"; |
| 719 const char kPowerAcIdleDelayMs[] = "power.ac_idle_delay_ms"; | 707 const char kPowerAcIdleDelayMs[] = "power.ac_idle_delay_ms"; |
| 720 | 708 |
| 721 // Similar delays while the system is on battery power. | 709 // Similar delays while the system is on battery power. |
| 722 const char kPowerBatteryScreenDimDelayMs[] = | 710 const char kPowerBatteryScreenDimDelayMs[] = |
| 723 "power.battery_screen_dim_delay_ms"; | 711 "power.battery_screen_dim_delay_ms"; |
| 724 const char kPowerBatteryScreenOffDelayMs[] = | 712 const char kPowerBatteryScreenOffDelayMs[] = |
| 725 "power.battery_screen_off_delay_ms"; | 713 "power.battery_screen_off_delay_ms"; |
| 726 const char kPowerBatteryScreenLockDelayMs[] = | 714 const char kPowerBatteryScreenLockDelayMs[] = |
| 727 "power.battery_screen_lock_delay_ms"; | 715 "power.battery_screen_lock_delay_ms"; |
| 728 const char kPowerBatteryIdleWarningDelayMs[] = | 716 const char kPowerBatteryIdleWarningDelayMs[] = |
| 729 "power.battery_idle_warning_delay_ms"; | 717 "power.battery_idle_warning_delay_ms"; |
| 730 const char kPowerBatteryIdleDelayMs[] = | 718 const char kPowerBatteryIdleDelayMs[] = |
| 731 "power.battery_idle_delay_ms"; | 719 "power.battery_idle_delay_ms"; |
| 732 | 720 |
| 733 // Action that should be performed when the idle delay is reached while the | 721 // Action that should be performed when the idle delay is reached while the |
| 734 // system is on AC power or battery power. | 722 // system is on AC power or battery power. |
| 735 // Values are from the chromeos::PowerPolicyController::Action enum. | 723 // Values are from the chromeos::PowerPolicyController::Action enum. |
| 736 const char kPowerAcIdleAction[] = "power.ac_idle_action"; | 724 const char kPowerAcIdleAction[] = "power.ac_idle_action"; |
| 737 const char kPowerBatteryIdleAction[] = "power.battery_idle_action"; | 725 const char kPowerBatteryIdleAction[] = "power.battery_idle_action"; |
| 738 | 726 |
| 739 // Action that should be performed when the lid is closed. | 727 // Action that should be performed when the lid is closed. |
| 740 // Values are from the chromeos::PowerPolicyController::Action enum. | 728 // Values are from the chromeos::PowerPolicyController::Action enum. |
| 741 const char kPowerLidClosedAction[] = "power.lid_closed_action"; | 729 const char kPowerLidClosedAction[] = "power.lid_closed_action"; |
| 742 | 730 |
| 743 // Should audio and video activity be used to disable the above delays? | 731 // Should audio and video activity be used to disable the above delays? |
| 744 const char kPowerUseAudioActivity[] = "power.use_audio_activity"; | 732 const char kPowerUseAudioActivity[] = "power.use_audio_activity"; |
| 745 const char kPowerUseVideoActivity[] = "power.use_video_activity"; | 733 const char kPowerUseVideoActivity[] = "power.use_video_activity"; |
| 746 | 734 |
| 747 // Should extensions be able to use the chrome.power API to override | 735 // Should extensions be able to use the chrome.power API to override |
| 748 // screen-related power management (including locking)? | 736 // screen-related power management (including locking)? |
| 749 const char kPowerAllowScreenWakeLocks[] = "power.allow_screen_wake_locks"; | 737 const char kPowerAllowScreenWakeLocks[] = "power.allow_screen_wake_locks"; |
| 750 | 738 |
| 751 // Amount by which the screen-dim delay should be scaled while the system | 739 // Amount by which the screen-dim delay should be scaled while the system |
| 752 // is in presentation mode. Values are limited to a minimum of 1.0. | 740 // is in presentation mode. Values are limited to a minimum of 1.0. |
| 753 const char kPowerPresentationScreenDimDelayFactor[] = | 741 const char kPowerPresentationScreenDimDelayFactor[] = |
| 754 "power.presentation_screen_dim_delay_factor"; | 742 "power.presentation_screen_dim_delay_factor"; |
| 755 | 743 |
| 756 // Amount by which the screen-dim delay should be scaled when user activity is | 744 // Amount by which the screen-dim delay should be scaled when user activity is |
| 757 // observed while the screen is dimmed or soon after the screen has been turned | 745 // observed while the screen is dimmed or soon after the screen has been turned |
| 758 // off. Values are limited to a minimum of 1.0. | 746 // off. Values are limited to a minimum of 1.0. |
| 759 const char kPowerUserActivityScreenDimDelayFactor[] = | 747 const char kPowerUserActivityScreenDimDelayFactor[] = |
| 760 "power.user_activity_screen_dim_delay_factor"; | 748 "power.user_activity_screen_dim_delay_factor"; |
| 761 | 749 |
| 762 // Whether the power management delays should start running only after the first | 750 // Whether the power management delays should start running only after the first |
| 763 // user activity has been observed in a session. | 751 // user activity has been observed in a session. |
| 764 const char kPowerWaitForInitialUserActivity[] = | 752 const char kPowerWaitForInitialUserActivity[] = |
| 765 "power.wait_for_initial_user_activity"; | 753 "power.wait_for_initial_user_activity"; |
| 766 | 754 |
| 767 // The URL from which the Terms of Service can be downloaded. The value is only | 755 // The URL from which the Terms of Service can be downloaded. The value is only |
| 768 // honored for public accounts. | 756 // honored for public accounts. |
| 769 const char kTermsOfServiceURL[] = "terms_of_service.url"; | 757 const char kTermsOfServiceURL[] = "terms_of_service.url"; |
| 770 | 758 |
| 771 // Indicates that the Profile has made navigations that used a certificate | 759 // Indicates that the Profile has made navigations that used a certificate |
| 772 // installed by the system administrator. If that is true then the local cache | 760 // installed by the system administrator. If that is true then the local cache |
| 773 // of remote data is tainted (e.g. shared scripts), and future navigations | 761 // of remote data is tainted (e.g. shared scripts), and future navigations |
| 774 // show a warning indicating that the organization may track the browsing | 762 // show a warning indicating that the organization may track the browsing |
| 775 // session. | 763 // session. |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 791 // configuration is still stored in Shill. | 779 // configuration is still stored in Shill. |
| 792 const char kOpenNetworkConfiguration[] = "onc"; | 780 const char kOpenNetworkConfiguration[] = "onc"; |
| 793 | 781 |
| 794 // A boolean pref that tracks whether the user has already given consent for | 782 // A boolean pref that tracks whether the user has already given consent for |
| 795 // enabling remote attestation for content protection. | 783 // enabling remote attestation for content protection. |
| 796 const char kRAConsentFirstTime[] = "settings.privacy.ra_consent"; | 784 const char kRAConsentFirstTime[] = "settings.privacy.ra_consent"; |
| 797 | 785 |
| 798 // A boolean pref recording whether user has dismissed the multiprofile | 786 // A boolean pref recording whether user has dismissed the multiprofile |
| 799 // itroduction dialog show. | 787 // itroduction dialog show. |
| 800 const char kMultiProfileNeverShowIntro[] = | 788 const char kMultiProfileNeverShowIntro[] = |
| 801 "settings.multi_profile_never_show_intro"; | 789 "settings.multi_profile_never_show_intro"; |
| 802 | 790 |
| 803 // A boolean pref recording whether user has dismissed the multiprofile | 791 // A boolean pref recording whether user has dismissed the multiprofile |
| 804 // teleport warning dialog show. | 792 // teleport warning dialog show. |
| 805 const char kMultiProfileWarningShowDismissed[] = | 793 const char kMultiProfileWarningShowDismissed[] = |
| 806 "settings.multi_profile_warning_show_dismissed"; | 794 "settings.multi_profile_warning_show_dismissed"; |
| 807 | 795 |
| 808 // A string pref that holds string enum values of how the user should behave | 796 // A string pref that holds string enum values of how the user should behave |
| 809 // in a multiprofile session. See ChromeOsMultiProfileUserBehavior policy | 797 // in a multiprofile session. See ChromeOsMultiProfileUserBehavior policy |
| 810 // for more details of the valid values. | 798 // for more details of the valid values. |
| 811 const char kMultiProfileUserBehavior[] = "settings.multiprofile_user_behavior"; | 799 const char kMultiProfileUserBehavior[] = "settings.multiprofile_user_behavior"; |
| 812 | 800 |
| 813 // A boolean preference indicating whether user has seen first-run tutorial | 801 // A boolean preference indicating whether user has seen first-run tutorial |
| 814 // already. | 802 // already. |
| 815 const char kFirstRunTutorialShown[] = "settings.first_run_tutorial_shown"; | 803 const char kFirstRunTutorialShown[] = "settings.first_run_tutorial_shown"; |
| 816 | 804 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 859 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings"; | 847 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings"; |
| 860 | 848 |
| 861 // Clear Browsing Data dialog preferences. | 849 // Clear Browsing Data dialog preferences. |
| 862 const char kDeleteBrowsingHistory[] = "browser.clear_data.browsing_history"; | 850 const char kDeleteBrowsingHistory[] = "browser.clear_data.browsing_history"; |
| 863 const char kDeleteDownloadHistory[] = "browser.clear_data.download_history"; | 851 const char kDeleteDownloadHistory[] = "browser.clear_data.download_history"; |
| 864 const char kDeleteCache[] = "browser.clear_data.cache"; | 852 const char kDeleteCache[] = "browser.clear_data.cache"; |
| 865 const char kDeleteCookies[] = "browser.clear_data.cookies"; | 853 const char kDeleteCookies[] = "browser.clear_data.cookies"; |
| 866 const char kDeletePasswords[] = "browser.clear_data.passwords"; | 854 const char kDeletePasswords[] = "browser.clear_data.passwords"; |
| 867 const char kDeleteFormData[] = "browser.clear_data.form_data"; | 855 const char kDeleteFormData[] = "browser.clear_data.form_data"; |
| 868 const char kDeleteHostedAppsData[] = "browser.clear_data.hosted_apps_data"; | 856 const char kDeleteHostedAppsData[] = "browser.clear_data.hosted_apps_data"; |
| 869 const char kDeauthorizeContentLicenses[] = | 857 const char kDeauthorizeContentLicenses[] = "browser.clear_data.content_licenses" ; |
| 870 "browser.clear_data.content_licenses"; | |
| 871 const char kDeleteTimePeriod[] = "browser.clear_data.time_period"; | 858 const char kDeleteTimePeriod[] = "browser.clear_data.time_period"; |
| 872 const char kLastClearBrowsingDataTime[] = | 859 const char kLastClearBrowsingDataTime[] = |
| 873 "browser.last_clear_browsing_data_time"; | 860 "browser.last_clear_browsing_data_time"; |
| 874 | 861 |
| 875 // Boolean pref to define the default values for using spellchecker. | 862 // Boolean pref to define the default values for using spellchecker. |
| 876 const char kEnableContinuousSpellcheck[] = "browser.enable_spellchecking"; | 863 const char kEnableContinuousSpellcheck[] = "browser.enable_spellchecking"; |
| 877 | 864 |
| 878 // List of names of the enabled labs experiments (see chrome/browser/labs.cc). | 865 // List of names of the enabled labs experiments (see chrome/browser/labs.cc). |
| 879 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments"; | 866 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments"; |
| 880 | 867 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 983 // Policy setting whether default browser check should be disabled and default | 970 // Policy setting whether default browser check should be disabled and default |
| 984 // browser registration should take place. | 971 // browser registration should take place. |
| 985 const char kDefaultBrowserSettingEnabled[] = | 972 const char kDefaultBrowserSettingEnabled[] = |
| 986 "browser.default_browser_setting_enabled"; | 973 "browser.default_browser_setting_enabled"; |
| 987 | 974 |
| 988 #if defined(OS_MACOSX) | 975 #if defined(OS_MACOSX) |
| 989 // Boolean that indicates whether the application should show the info bar | 976 // Boolean that indicates whether the application should show the info bar |
| 990 // asking the user to set up automatic updates when Keystone promotion is | 977 // asking the user to set up automatic updates when Keystone promotion is |
| 991 // required. | 978 // required. |
| 992 const char kShowUpdatePromotionInfoBar[] = | 979 const char kShowUpdatePromotionInfoBar[] = |
| 993 "browser.show_update_promotion_info_bar"; | 980 "browser.show_update_promotion_info_bar"; |
| 994 #endif | 981 #endif |
| 995 | 982 |
| 996 // Boolean that is false if we should show window manager decorations. If | 983 // Boolean that is false if we should show window manager decorations. If |
| 997 // true, we draw a custom chrome frame (thicker title bar and blue border). | 984 // true, we draw a custom chrome frame (thicker title bar and blue border). |
| 998 const char kUseCustomChromeFrame[] = "browser.custom_chrome_frame"; | 985 const char kUseCustomChromeFrame[] = "browser.custom_chrome_frame"; |
| 999 | 986 |
| 1000 // Dictionary of content settings applied to all hosts by default. | 987 // Dictionary of content settings applied to all hosts by default. |
| 1001 const char kDefaultContentSettings[] = "profile.default_content_settings"; | 988 const char kDefaultContentSettings[] = "profile.default_content_settings"; |
| 1002 | 989 |
| 1003 // Boolean indicating whether the clear on exit pref was migrated to content | 990 // Boolean indicating whether the clear on exit pref was migrated to content |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1074 #endif | 1061 #endif |
| 1075 | 1062 |
| 1076 #if defined(OS_ANDROID) | 1063 #if defined(OS_ANDROID) |
| 1077 // Boolean that controls the enabled-state of Geolocation in content. | 1064 // Boolean that controls the enabled-state of Geolocation in content. |
| 1078 const char kGeolocationEnabled[] = "geolocation.enabled"; | 1065 const char kGeolocationEnabled[] = "geolocation.enabled"; |
| 1079 #endif | 1066 #endif |
| 1080 | 1067 |
| 1081 #if defined(ENABLE_GOOGLE_NOW) | 1068 #if defined(ENABLE_GOOGLE_NOW) |
| 1082 // Boolean that is true when Google services can use the user's location. | 1069 // Boolean that is true when Google services can use the user's location. |
| 1083 const char kGoogleGeolocationAccessEnabled[] = | 1070 const char kGoogleGeolocationAccessEnabled[] = |
| 1084 "googlegeolocationaccess.enabled"; | 1071 "googlegeolocationaccess.enabled"; |
| 1085 #endif | 1072 #endif |
| 1086 | 1073 |
| 1087 // The default audio capture device used by the Media content setting. | 1074 // The default audio capture device used by the Media content setting. |
| 1088 const char kDefaultAudioCaptureDevice[] = "media.default_audio_capture_device"; | 1075 const char kDefaultAudioCaptureDevice[] = "media.default_audio_capture_device"; |
| 1089 | 1076 |
| 1090 // The default video capture device used by the Media content setting. | 1077 // The default video capture device used by the Media content setting. |
| 1091 const char kDefaultVideoCaptureDevice[] = "media.default_video_capture_Device"; | 1078 const char kDefaultVideoCaptureDevice[] = "media.default_video_capture_Device"; |
| 1092 | 1079 |
| 1093 // The salt used for creating random MediaSource IDs. | 1080 // The salt used for creating random MediaSource IDs. |
| 1094 const char kMediaDeviceIdSalt[] = "media.device_id_salt"; | 1081 const char kMediaDeviceIdSalt[] = "media.device_id_salt"; |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1179 const char kDefaultSupervisedUserFilteringBehavior[] = | 1166 const char kDefaultSupervisedUserFilteringBehavior[] = |
| 1180 "profile.managed.default_filtering_behavior"; | 1167 "profile.managed.default_filtering_behavior"; |
| 1181 | 1168 |
| 1182 // Whether this user is permitted to create supervised users. | 1169 // Whether this user is permitted to create supervised users. |
| 1183 const char kSupervisedUserCreationAllowed[] = | 1170 const char kSupervisedUserCreationAllowed[] = |
| 1184 "profile.managed_user_creation_allowed"; | 1171 "profile.managed_user_creation_allowed"; |
| 1185 | 1172 |
| 1186 // List pref containing the users supervised by this user. | 1173 // List pref containing the users supervised by this user. |
| 1187 const char kSupervisedUsers[] = "profile.managed_users"; | 1174 const char kSupervisedUsers[] = "profile.managed_users"; |
| 1188 | 1175 |
| 1176 // String that indicates that the profile reset prompt has already been shown to | |
| 1177 // the user (profile). | |
| 1178 const char kProfileResetPromptMementoInProfilePrefs[] = | |
| 1179 "profile.reset_prompt_memento"; | |
| 1180 | |
| 1189 // List pref containing the extension ids which are not allowed to send | 1181 // List pref containing the extension ids which are not allowed to send |
| 1190 // notifications to the message center. | 1182 // notifications to the message center. |
| 1191 const char kMessageCenterDisabledExtensionIds[] = | 1183 const char kMessageCenterDisabledExtensionIds[] = |
| 1192 "message_center.disabled_extension_ids"; | 1184 "message_center.disabled_extension_ids"; |
| 1193 | 1185 |
| 1194 // List pref containing the system component ids which are not allowed to send | 1186 // List pref containing the system component ids which are not allowed to send |
| 1195 // notifications to the message center. | 1187 // notifications to the message center. |
| 1196 const char kMessageCenterDisabledSystemComponentIds[] = | 1188 const char kMessageCenterDisabledSystemComponentIds[] = |
| 1197 "message_center.disabled_system_component_ids"; | 1189 "message_center.disabled_system_component_ids"; |
| 1198 | 1190 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1275 // String containing the version of Chrome that the profile was created by. | 1267 // String containing the version of Chrome that the profile was created by. |
| 1276 // If profile was created before this feature was added, this pref will default | 1268 // If profile was created before this feature was added, this pref will default |
| 1277 // to "1.0.0.0". | 1269 // to "1.0.0.0". |
| 1278 const char kProfileCreatedByVersion[] = "profile.created_by_version"; | 1270 const char kProfileCreatedByVersion[] = "profile.created_by_version"; |
| 1279 | 1271 |
| 1280 // A map of profile data directory to cached information. This cache can be | 1272 // A map of profile data directory to cached information. This cache can be |
| 1281 // used to display information about profiles without actually having to load | 1273 // used to display information about profiles without actually having to load |
| 1282 // them. | 1274 // them. |
| 1283 const char kProfileInfoCache[] = "profile.info_cache"; | 1275 const char kProfileInfoCache[] = "profile.info_cache"; |
| 1284 | 1276 |
| 1277 // Dictionary that maps profile keys to strings that indicate that the profile | |
| 1278 // reset prompt has already been shown to the corresponding user (profile). | |
|
gab
2014/09/05 01:00:19
So this means the same thing as the individual per
engedy
2014/09/05 11:45:46
Done.
| |
| 1279 const char kProfileResetPromptMementosInLocalState[] = | |
| 1280 "profile.reset_prompt_mementos"; | |
| 1281 | |
| 1285 // Prefs for SSLConfigServicePref. | 1282 // Prefs for SSLConfigServicePref. |
| 1286 const char kCertRevocationCheckingEnabled[] = "ssl.rev_checking.enabled"; | 1283 const char kCertRevocationCheckingEnabled[] = "ssl.rev_checking.enabled"; |
| 1287 const char kCertRevocationCheckingRequiredLocalAnchors[] = | 1284 const char kCertRevocationCheckingRequiredLocalAnchors[] = |
| 1288 "ssl.rev_checking.required_for_local_anchors"; | 1285 "ssl.rev_checking.required_for_local_anchors"; |
| 1289 const char kSSLVersionMin[] = "ssl.version_min"; | 1286 const char kSSLVersionMin[] = "ssl.version_min"; |
| 1290 const char kSSLVersionMax[] = "ssl.version_max"; | 1287 const char kSSLVersionMax[] = "ssl.version_max"; |
| 1291 const char kCipherSuiteBlacklist[] = "ssl.cipher_suites.blacklist"; | 1288 const char kCipherSuiteBlacklist[] = "ssl.cipher_suites.blacklist"; |
| 1292 const char kDisableSSLRecordSplitting[] = "ssl.ssl_record_splitting.disabled"; | 1289 const char kDisableSSLRecordSplitting[] = "ssl.ssl_record_splitting.disabled"; |
| 1293 | 1290 |
| 1294 // Dictionary of dates when a site's SSL blocking interstitial was proceeded | 1291 // Dictionary of dates when a site's SSL blocking interstitial was proceeded |
| 1295 // through. | 1292 // through. |
| 1296 const char kSSLBlockingBypassed[] = "ssl.ssl_blocking_bypassed"; | 1293 const char kSSLBlockingBypassed[] = "ssl.ssl_blocking_bypassed"; |
| 1297 | 1294 |
| 1298 // A boolean pref of the EULA accepted flag. | 1295 // A boolean pref of the EULA accepted flag. |
| 1299 const char kEulaAccepted[] = "EulaAccepted"; | 1296 const char kEulaAccepted[] = "EulaAccepted"; |
| 1300 | 1297 |
| 1301 // Boolean that specifies whether or not crash reporting and metrics reporting | 1298 // Boolean that specifies whether or not crash reporting and metrics reporting |
| 1302 // are sent over the network for analysis. | 1299 // are sent over the network for analysis. |
| 1303 const char kMetricsReportingEnabled[] = | 1300 const char kMetricsReportingEnabled[] = |
| 1304 "user_experience_metrics.reporting_enabled"; | 1301 "user_experience_metrics.reporting_enabled"; |
| 1305 | 1302 |
| 1306 // Boolean that specifies whether or not crash reports are sent | 1303 // Boolean that specifies whether or not crash reports are sent |
| 1307 // over the network for analysis. | 1304 // over the network for analysis. |
| 1308 #if defined(OS_ANDROID) | 1305 #if defined(OS_ANDROID) |
| 1309 const char kCrashReportingEnabled[] = | 1306 const char kCrashReportingEnabled[] = |
| 1310 "user_experience_metrics_crash.reporting_enabled"; | 1307 "user_experience_metrics_crash.reporting_enabled"; |
| 1311 #endif | 1308 #endif |
| 1312 | 1309 |
| 1313 // 64-bit integer serialization of the base::Time from the last successful seed | 1310 // 64-bit integer serialization of the base::Time from the last successful seed |
| 1314 // fetch (i.e. when the Variations server responds with 200 or 304). | 1311 // fetch (i.e. when the Variations server responds with 200 or 304). |
| 1315 const char kVariationsLastFetchTime[] = "variations_last_fetch_time"; | 1312 const char kVariationsLastFetchTime[] = "variations_last_fetch_time"; |
| 1316 | 1313 |
| 1317 // String for the restrict parameter to be appended to the variations URL. | 1314 // String for the restrict parameter to be appended to the variations URL. |
| 1318 const char kVariationsRestrictParameter[] = "variations_restrict_parameter"; | 1315 const char kVariationsRestrictParameter[] = "variations_restrict_parameter"; |
| 1319 | 1316 |
| 1320 // String serialized form of variations seed protobuf. | 1317 // String serialized form of variations seed protobuf. |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1367 | 1364 |
| 1368 // On Chrome OS, total number of unclean system shutdowns since the | 1365 // On Chrome OS, total number of unclean system shutdowns since the |
| 1369 // last report. | 1366 // last report. |
| 1370 const char kStabilitySystemUncleanShutdownCount[] = | 1367 const char kStabilitySystemUncleanShutdownCount[] = |
| 1371 "user_experience_metrics.stability.system_unclean_shutdowns"; | 1368 "user_experience_metrics.stability.system_unclean_shutdowns"; |
| 1372 | 1369 |
| 1373 #if defined(OS_ANDROID) | 1370 #if defined(OS_ANDROID) |
| 1374 // Activity type that is currently in the foreground for the UMA session. | 1371 // Activity type that is currently in the foreground for the UMA session. |
| 1375 // Uses the ActivityTypeIds::Type enum. | 1372 // Uses the ActivityTypeIds::Type enum. |
| 1376 const char kStabilityForegroundActivityType[] = | 1373 const char kStabilityForegroundActivityType[] = |
| 1377 "user_experience_metrics.stability.current_foreground_activity_type"; | 1374 "user_experience_metrics.stability.current_foreground_activity_type"; |
| 1378 | 1375 |
| 1379 // Tracks which Activities were launched during the last session. | 1376 // Tracks which Activities were launched during the last session. |
| 1380 // See |metrics_service_android.cc| for its usage. | 1377 // See |metrics_service_android.cc| for its usage. |
| 1381 const char kStabilityLaunchedActivityFlags[] = | 1378 const char kStabilityLaunchedActivityFlags[] = |
| 1382 "user_experience_metrics.stability.launched_activity_flags"; | 1379 "user_experience_metrics.stability.launched_activity_flags"; |
| 1383 | 1380 |
| 1384 // List pref: Counts how many times each Activity was launched. | 1381 // List pref: Counts how many times each Activity was launched. |
| 1385 // Indexed into by ActivityTypeIds::Type. | 1382 // Indexed into by ActivityTypeIds::Type. |
| 1386 const char kStabilityLaunchedActivityCounts[] = | 1383 const char kStabilityLaunchedActivityCounts[] = |
| 1387 "user_experience_metrics.stability.launched_activity_counts"; | 1384 "user_experience_metrics.stability.launched_activity_counts"; |
| 1388 | 1385 |
| 1389 // List pref: Counts how many times each Activity type was in the foreground | 1386 // List pref: Counts how many times each Activity type was in the foreground |
| 1390 // when a UMA session failed to be shut down properly. | 1387 // when a UMA session failed to be shut down properly. |
| 1391 // Indexed into by ActivityTypeIds::Type. | 1388 // Indexed into by ActivityTypeIds::Type. |
| 1392 const char kStabilityCrashedActivityCounts[] = | 1389 const char kStabilityCrashedActivityCounts[] = |
| 1393 "user_experience_metrics.stability.crashed_activity_counts"; | 1390 "user_experience_metrics.stability.crashed_activity_counts"; |
| 1394 #endif | 1391 #endif |
| 1395 | 1392 |
| 1396 // The keys below are used for the dictionaries in the | 1393 // The keys below are used for the dictionaries in the |
| 1397 // kStabilityPluginStats list. | 1394 // kStabilityPluginStats list. |
| 1398 const char kStabilityPluginName[] = "name"; | 1395 const char kStabilityPluginName[] = "name"; |
| 1399 const char kStabilityPluginLaunches[] = "launches"; | 1396 const char kStabilityPluginLaunches[] = "launches"; |
| 1400 const char kStabilityPluginInstances[] = "instances"; | 1397 const char kStabilityPluginInstances[] = "instances"; |
| 1401 const char kStabilityPluginCrashes[] = "crashes"; | 1398 const char kStabilityPluginCrashes[] = "crashes"; |
| 1402 const char kStabilityPluginLoadingErrors[] = "loading_errors"; | 1399 const char kStabilityPluginLoadingErrors[] = "loading_errors"; |
| 1403 | 1400 |
| (...skipping 30 matching lines...) Expand all Loading... | |
| 1434 // String which specifies where to download files to by default. | 1431 // String which specifies where to download files to by default. |
| 1435 const char kDownloadDefaultDirectory[] = "download.default_directory"; | 1432 const char kDownloadDefaultDirectory[] = "download.default_directory"; |
| 1436 | 1433 |
| 1437 // Boolean that records if the download directory was changed by an | 1434 // Boolean that records if the download directory was changed by an |
| 1438 // upgrade a unsafe location to a safe location. | 1435 // upgrade a unsafe location to a safe location. |
| 1439 const char kDownloadDirUpgraded[] = "download.directory_upgrade"; | 1436 const char kDownloadDirUpgraded[] = "download.directory_upgrade"; |
| 1440 | 1437 |
| 1441 #if defined(OS_WIN) | 1438 #if defined(OS_WIN) |
| 1442 // Whether downloaded PDFs should be opened in Adobe Acrobat Reader. | 1439 // Whether downloaded PDFs should be opened in Adobe Acrobat Reader. |
| 1443 const char kOpenPdfDownloadInAdobeReader[] = | 1440 const char kOpenPdfDownloadInAdobeReader[] = |
| 1444 "download.open_pdf_in_adobe_reader"; | 1441 "download.open_pdf_in_adobe_reader"; |
| 1445 #endif | 1442 #endif |
| 1446 | 1443 |
| 1447 // String which specifies where to save html files to by default. | 1444 // String which specifies where to save html files to by default. |
| 1448 const char kSaveFileDefaultDirectory[] = "savefile.default_directory"; | 1445 const char kSaveFileDefaultDirectory[] = "savefile.default_directory"; |
| 1449 | 1446 |
| 1450 // The type used to save the page. See the enum SavePackage::SavePackageType in | 1447 // The type used to save the page. See the enum SavePackage::SavePackageType in |
| 1451 // the chrome/browser/download/save_package.h for the possible values. | 1448 // the chrome/browser/download/save_package.h for the possible values. |
| 1452 const char kSaveFileType[] = "savefile.type"; | 1449 const char kSaveFileType[] = "savefile.type"; |
| 1453 | 1450 |
| 1454 // String which specifies the last directory that was chosen for uploading | 1451 // String which specifies the last directory that was chosen for uploading |
| 1455 // or opening a file. | 1452 // or opening a file. |
| 1456 const char kSelectFileLastDirectory[] = "selectfile.last_directory"; | 1453 const char kSelectFileLastDirectory[] = "selectfile.last_directory"; |
| 1457 | 1454 |
| 1458 // Boolean that specifies if file selection dialogs are shown. | 1455 // Boolean that specifies if file selection dialogs are shown. |
| 1459 const char kAllowFileSelectionDialogs[] = "select_file_dialogs.allowed"; | 1456 const char kAllowFileSelectionDialogs[] = "select_file_dialogs.allowed"; |
| 1460 | 1457 |
| 1461 // Map of default tasks, associated by MIME type. | 1458 // Map of default tasks, associated by MIME type. |
| 1462 const char kDefaultTasksByMimeType[] = | 1459 const char kDefaultTasksByMimeType[] = "filebrowser.tasks.default_by_mime_type"; |
| 1463 "filebrowser.tasks.default_by_mime_type"; | |
| 1464 | 1460 |
| 1465 // Map of default tasks, associated by file suffix. | 1461 // Map of default tasks, associated by file suffix. |
| 1466 const char kDefaultTasksBySuffix[] = | 1462 const char kDefaultTasksBySuffix[] = "filebrowser.tasks.default_by_suffix"; |
| 1467 "filebrowser.tasks.default_by_suffix"; | |
| 1468 | 1463 |
| 1469 // Extensions which should be opened upon completion. | 1464 // Extensions which should be opened upon completion. |
| 1470 const char kDownloadExtensionsToOpen[] = "download.extensions_to_open"; | 1465 const char kDownloadExtensionsToOpen[] = "download.extensions_to_open"; |
| 1471 | 1466 |
| 1472 // Integer which specifies the frequency in milliseconds for detecting whether | 1467 // Integer which specifies the frequency in milliseconds for detecting whether |
| 1473 // plugin windows are hung. | 1468 // plugin windows are hung. |
| 1474 const char kHungPluginDetectFrequency[] = "browser.hung_plugin_detect_freq"; | 1469 const char kHungPluginDetectFrequency[] = "browser.hung_plugin_detect_freq"; |
| 1475 | 1470 |
| 1476 // Integer which specifies the timeout value to be used for SendMessageTimeout | 1471 // Integer which specifies the timeout value to be used for SendMessageTimeout |
| 1477 // to detect a hung plugin window. | 1472 // to detect a hung plugin window. |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1602 // Maps of files edited locally using DevTools. | 1597 // Maps of files edited locally using DevTools. |
| 1603 const char kDevToolsEditedFiles[] = "devtools.edited_files"; | 1598 const char kDevToolsEditedFiles[] = "devtools.edited_files"; |
| 1604 | 1599 |
| 1605 // List of file system paths added in DevTools. | 1600 // List of file system paths added in DevTools. |
| 1606 const char kDevToolsFileSystemPaths[] = "devtools.file_system_paths"; | 1601 const char kDevToolsFileSystemPaths[] = "devtools.file_system_paths"; |
| 1607 | 1602 |
| 1608 // A boolean specifying whether dev tools window should be opened docked. | 1603 // A boolean specifying whether dev tools window should be opened docked. |
| 1609 const char kDevToolsOpenDocked[] = "devtools.open_docked"; | 1604 const char kDevToolsOpenDocked[] = "devtools.open_docked"; |
| 1610 | 1605 |
| 1611 // A boolean specifying whether port forwarding should be enabled. | 1606 // A boolean specifying whether port forwarding should be enabled. |
| 1612 const char kDevToolsPortForwardingEnabled[] = | 1607 const char kDevToolsPortForwardingEnabled[] = "devtools.port_forwarding_enabled" ; |
| 1613 "devtools.port_forwarding_enabled"; | |
| 1614 | 1608 |
| 1615 // A boolean specifying whether default port forwarding configuration has been | 1609 // A boolean specifying whether default port forwarding configuration has been |
| 1616 // set. | 1610 // set. |
| 1617 const char kDevToolsPortForwardingDefaultSet[] = | 1611 const char kDevToolsPortForwardingDefaultSet[] = |
| 1618 "devtools.port_forwarding_default_set"; | 1612 "devtools.port_forwarding_default_set"; |
| 1619 | 1613 |
| 1620 // A dictionary of port->location pairs for port forwarding. | 1614 // A dictionary of port->location pairs for port forwarding. |
| 1621 const char kDevToolsPortForwardingConfig[] = "devtools.port_forwarding_config"; | 1615 const char kDevToolsPortForwardingConfig[] = "devtools.port_forwarding_config"; |
| 1622 | 1616 |
| 1623 #if defined(OS_ANDROID) | 1617 #if defined(OS_ANDROID) |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1694 "remote_access.host_allow_gnubby_auth"; | 1688 "remote_access.host_allow_gnubby_auth"; |
| 1695 | 1689 |
| 1696 // Boolean that indicates whether the Chromoting host should allow connections | 1690 // Boolean that indicates whether the Chromoting host should allow connections |
| 1697 // using relay servers. | 1691 // using relay servers. |
| 1698 const char kRemoteAccessHostAllowRelayedConnection[] = | 1692 const char kRemoteAccessHostAllowRelayedConnection[] = |
| 1699 "remote_access.host_allow_relayed_connection"; | 1693 "remote_access.host_allow_relayed_connection"; |
| 1700 | 1694 |
| 1701 // String containing the UDP port range that the Chromoting host should used | 1695 // String containing the UDP port range that the Chromoting host should used |
| 1702 // when connecting to clients. The port range should be in the form: | 1696 // when connecting to clients. The port range should be in the form: |
| 1703 // <min_port>-<max_port>. E.g. 12400-12409. | 1697 // <min_port>-<max_port>. E.g. 12400-12409. |
| 1704 const char kRemoteAccessHostUdpPortRange[] = | 1698 const char kRemoteAccessHostUdpPortRange[] = "remote_access.host_udp_port_range" ; |
| 1705 "remote_access.host_udp_port_range"; | |
| 1706 | 1699 |
| 1707 // The last used printer and its settings. | 1700 // The last used printer and its settings. |
| 1708 const char kPrintPreviewStickySettings[] = | 1701 const char kPrintPreviewStickySettings[] = |
| 1709 "printing.print_preview_sticky_settings"; | 1702 "printing.print_preview_sticky_settings"; |
| 1710 | 1703 |
| 1711 // The last requested size of the dialog as it was closed. | 1704 // The last requested size of the dialog as it was closed. |
| 1712 const char kCloudPrintDialogWidth[] = "cloud_print.dialog_size.width"; | 1705 const char kCloudPrintDialogWidth[] = "cloud_print.dialog_size.width"; |
| 1713 const char kCloudPrintDialogHeight[] = "cloud_print.dialog_size.height"; | 1706 const char kCloudPrintDialogHeight[] = "cloud_print.dialog_size.height"; |
| 1714 const char kCloudPrintSigninDialogWidth[] = | 1707 const char kCloudPrintSigninDialogWidth[] = |
| 1715 "cloud_print.signin_dialog_size.width"; | 1708 "cloud_print.signin_dialog_size.width"; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1792 const char kHotwordAudioLoggingEnabled[] = "hotword.audio_logging_enabled"; | 1785 const char kHotwordAudioLoggingEnabled[] = "hotword.audio_logging_enabled"; |
| 1793 | 1786 |
| 1794 // A string holding the locale information under which Hotword was installed. | 1787 // A string holding the locale information under which Hotword was installed. |
| 1795 // It is used for comparison since the hotword voice search trigger must be | 1788 // It is used for comparison since the hotword voice search trigger must be |
| 1796 // reinstalled to handle a new language. | 1789 // reinstalled to handle a new language. |
| 1797 const char kHotwordPreviousLanguage[] = "hotword.previous_language"; | 1790 const char kHotwordPreviousLanguage[] = "hotword.previous_language"; |
| 1798 | 1791 |
| 1799 #if defined(OS_ANDROID) | 1792 #if defined(OS_ANDROID) |
| 1800 // Boolean that controls the global enabled-state of protected media identifier. | 1793 // Boolean that controls the global enabled-state of protected media identifier. |
| 1801 const char kProtectedMediaIdentifierEnabled[] = | 1794 const char kProtectedMediaIdentifierEnabled[] = |
| 1802 "protected_media_identifier.enabled"; | 1795 "protected_media_identifier.enabled"; |
| 1803 #endif | 1796 #endif |
| 1804 | 1797 |
| 1805 #if defined(OS_CHROMEOS) | 1798 #if defined(OS_CHROMEOS) |
| 1806 // Dictionary for transient storage of settings that should go into device | 1799 // Dictionary for transient storage of settings that should go into device |
| 1807 // settings storage before owner has been assigned. | 1800 // settings storage before owner has been assigned. |
| 1808 const char kDeviceSettingsCache[] = "signed_settings_cache"; | 1801 const char kDeviceSettingsCache[] = "signed_settings_cache"; |
| 1809 | 1802 |
| 1810 // The hardware keyboard layout of the device. This should look like | 1803 // The hardware keyboard layout of the device. This should look like |
| 1811 // "xkb:us::eng". | 1804 // "xkb:us::eng". |
| 1812 const char kHardwareKeyboardLayout[] = "intl.hardware_keyboard"; | 1805 const char kHardwareKeyboardLayout[] = "intl.hardware_keyboard"; |
| 1813 | 1806 |
| 1814 // An integer pref which shows number of times carrier deal promo | 1807 // An integer pref which shows number of times carrier deal promo |
| 1815 // notification has been shown to user. | 1808 // notification has been shown to user. |
| 1816 const char kCarrierDealPromoShown[] = | 1809 const char kCarrierDealPromoShown[] = |
| 1817 "settings.internet.mobile.carrier_deal_promo_shown"; | 1810 "settings.internet.mobile.carrier_deal_promo_shown"; |
| 1818 | 1811 |
| 1819 // A boolean pref of the auto-enrollment decision. Its value is only valid if | 1812 // A boolean pref of the auto-enrollment decision. Its value is only valid if |
| 1820 // it's not the default value; otherwise, no auto-enrollment decision has been | 1813 // it's not the default value; otherwise, no auto-enrollment decision has been |
| 1821 // made yet. | 1814 // made yet. |
| 1822 const char kShouldAutoEnroll[] = "ShouldAutoEnroll"; | 1815 const char kShouldAutoEnroll[] = "ShouldAutoEnroll"; |
| 1823 | 1816 |
| 1824 // An integer pref with the maximum number of bits used by the client in a | 1817 // An integer pref with the maximum number of bits used by the client in a |
| 1825 // previous auto-enrollment request. If the client goes through an auto update | 1818 // previous auto-enrollment request. If the client goes through an auto update |
| 1826 // during OOBE and reboots into a version of the OS with a larger maximum | 1819 // during OOBE and reboots into a version of the OS with a larger maximum |
| 1827 // modulus, then it will retry auto-enrollment using the updated value. | 1820 // modulus, then it will retry auto-enrollment using the updated value. |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1859 | 1852 |
| 1860 // Whether an automatic reboot should be scheduled when an update has been | 1853 // Whether an automatic reboot should be scheduled when an update has been |
| 1861 // applied and a reboot is required to complete the update process. | 1854 // applied and a reboot is required to complete the update process. |
| 1862 const char kRebootAfterUpdate[] = "automatic_reboot.reboot_after_update"; | 1855 const char kRebootAfterUpdate[] = "automatic_reboot.reboot_after_update"; |
| 1863 | 1856 |
| 1864 // An any-api scoped refresh token for enterprise-enrolled devices. Allows | 1857 // An any-api scoped refresh token for enterprise-enrolled devices. Allows |
| 1865 // for connection to Google APIs when the user isn't logged in. Currently used | 1858 // for connection to Google APIs when the user isn't logged in. Currently used |
| 1866 // for for getting a cloudprint scoped token to allow printing in Guest mode, | 1859 // for for getting a cloudprint scoped token to allow printing in Guest mode, |
| 1867 // Public Accounts and kiosks. | 1860 // Public Accounts and kiosks. |
| 1868 const char kDeviceRobotAnyApiRefreshToken[] = | 1861 const char kDeviceRobotAnyApiRefreshToken[] = |
| 1869 "device_robot_refresh_token.any-api"; | 1862 "device_robot_refresh_token.any-api"; |
| 1870 | 1863 |
| 1871 // Device requisition for enterprise enrollment. | 1864 // Device requisition for enterprise enrollment. |
| 1872 const char kDeviceEnrollmentRequisition[] = "enrollment.device_requisition"; | 1865 const char kDeviceEnrollmentRequisition[] = "enrollment.device_requisition"; |
| 1873 | 1866 |
| 1874 // Whether to automatically start the enterprise enrollment step during OOBE. | 1867 // Whether to automatically start the enterprise enrollment step during OOBE. |
| 1875 const char kDeviceEnrollmentAutoStart[] = "enrollment.auto_start"; | 1868 const char kDeviceEnrollmentAutoStart[] = "enrollment.auto_start"; |
| 1876 | 1869 |
| 1877 // Whether the user may exit enrollment. | 1870 // Whether the user may exit enrollment. |
| 1878 const char kDeviceEnrollmentCanExit[] = "enrollment.can_exit"; | 1871 const char kDeviceEnrollmentCanExit[] = "enrollment.can_exit"; |
| 1879 | 1872 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1914 | 1907 |
| 1915 // A dictionary containing server-provided device state pulled form the cloud | 1908 // A dictionary containing server-provided device state pulled form the cloud |
| 1916 // after recovery. | 1909 // after recovery. |
| 1917 const char kServerBackedDeviceState[] = "server_backed_device_state"; | 1910 const char kServerBackedDeviceState[] = "server_backed_device_state"; |
| 1918 | 1911 |
| 1919 // Customized wallpaper URL, which is already downloaded and scaled. | 1912 // Customized wallpaper URL, which is already downloaded and scaled. |
| 1920 // The URL from this preference must never be fetched. It is compared to the | 1913 // The URL from this preference must never be fetched. It is compared to the |
| 1921 // URL from customization document to check if wallpaper URL has changed | 1914 // URL from customization document to check if wallpaper URL has changed |
| 1922 // since wallpaper was cached. | 1915 // since wallpaper was cached. |
| 1923 const char kCustomizationDefaultWallpaperURL[] = | 1916 const char kCustomizationDefaultWallpaperURL[] = |
| 1924 "customization.default_wallpaper_url"; | 1917 "customization.default_wallpaper_url"; |
| 1925 | 1918 |
| 1926 // System uptime, when last logout started. | 1919 // System uptime, when last logout started. |
| 1927 // This is saved to file and cleared after chrome process starts. | 1920 // This is saved to file and cleared after chrome process starts. |
| 1928 const char kLogoutStartedLast[] = "chromeos.logout-started"; | 1921 const char kLogoutStartedLast[] = "chromeos.logout-started"; |
| 1929 | 1922 |
| 1930 // An integer pref of the current consumer management enrollment state. The | 1923 // An integer pref of the current consumer management enrollment state. The |
| 1931 // meaning of the value is defined in the enum EnrollmentState in: | 1924 // meaning of the value is defined in the enum EnrollmentState in: |
| 1932 // chrome/browser/chromeos/policy/consumer_management_service.h | 1925 // chrome/browser/chromeos/policy/consumer_management_service.h |
| 1933 const char kConsumerManagementEnrollmentState[] = | 1926 const char kConsumerManagementEnrollmentState[] = |
| 1934 "consumer_management.enrollment_state"; | 1927 "consumer_management.enrollment_state"; |
| 1935 #endif | 1928 #endif |
| 1936 | 1929 |
| 1937 // Whether there is a Flash version installed that supports clearing LSO data. | 1930 // Whether there is a Flash version installed that supports clearing LSO data. |
| 1938 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; | 1931 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; |
| 1939 | 1932 |
| 1940 // Whether we should show Pepper Flash-specific settings. | 1933 // Whether we should show Pepper Flash-specific settings. |
| 1941 const char kPepperFlashSettingsEnabled[] = | 1934 const char kPepperFlashSettingsEnabled[] = |
| 1942 "browser.pepper_flash_settings_enabled"; | 1935 "browser.pepper_flash_settings_enabled"; |
| 1943 | 1936 |
| 1944 // String which specifies where to store the disk cache. | 1937 // String which specifies where to store the disk cache. |
| 1945 const char kDiskCacheDir[] = "browser.disk_cache_dir"; | 1938 const char kDiskCacheDir[] = "browser.disk_cache_dir"; |
| 1946 // Pref name for the policy specifying the maximal cache size. | 1939 // Pref name for the policy specifying the maximal cache size. |
| 1947 const char kDiskCacheSize[] = "browser.disk_cache_size"; | 1940 const char kDiskCacheSize[] = "browser.disk_cache_size"; |
| 1948 // Pref name for the policy specifying the maximal media cache size. | 1941 // Pref name for the policy specifying the maximal media cache size. |
| 1949 const char kMediaCacheSize[] = "browser.media_cache_size"; | 1942 const char kMediaCacheSize[] = "browser.media_cache_size"; |
| 1950 | 1943 |
| 1951 // Specifies the release channel that the device should be locked to. | 1944 // Specifies the release channel that the device should be locked to. |
| 1952 // Possible values: "stable-channel", "beta-channel", "dev-channel", or an | 1945 // Possible values: "stable-channel", "beta-channel", "dev-channel", or an |
| 1953 // empty string, in which case the value will be ignored. | 1946 // empty string, in which case the value will be ignored. |
| 1954 // TODO(dubroy): This preference may not be necessary once | 1947 // TODO(dubroy): This preference may not be necessary once |
| 1955 // http://crosbug.com/17015 is implemented and the update engine can just | 1948 // http://crosbug.com/17015 is implemented and the update engine can just |
| 1956 // fetch the correct value from the policy. | 1949 // fetch the correct value from the policy. |
| 1957 const char kChromeOsReleaseChannel[] = "cros.system.releaseChannel"; | 1950 const char kChromeOsReleaseChannel[] = "cros.system.releaseChannel"; |
| 1958 | 1951 |
| 1959 const char kPerformanceTracingEnabled[] = | 1952 const char kPerformanceTracingEnabled[] = "feedback.performance_tracing_enabled" ; |
| 1960 "feedback.performance_tracing_enabled"; | |
| 1961 | 1953 |
| 1962 // Boolean indicating whether tabstrip uses stacked layout (on touch devices). | 1954 // Boolean indicating whether tabstrip uses stacked layout (on touch devices). |
| 1963 // Defaults to false. | 1955 // Defaults to false. |
| 1964 const char kTabStripStackedLayout[] = "tab-strip-stacked-layout"; | 1956 const char kTabStripStackedLayout[] = "tab-strip-stacked-layout"; |
| 1965 | 1957 |
| 1966 // Indicates that factory reset was requested from options page or reset screen. | 1958 // Indicates that factory reset was requested from options page or reset screen. |
| 1967 const char kFactoryResetRequested[] = "FactoryResetRequested"; | 1959 const char kFactoryResetRequested[] = "FactoryResetRequested"; |
| 1968 | 1960 |
| 1969 // Indicates that rollback was requested alongside with factory reset. | 1961 // Indicates that rollback was requested alongside with factory reset. |
| 1970 // Makes sense only if kFactoryResetRequested is true. | 1962 // Makes sense only if kFactoryResetRequested is true. |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2075 "profile.managed_auto_select_certificate_for_urls"; | 2067 "profile.managed_auto_select_certificate_for_urls"; |
| 2076 | 2068 |
| 2077 #if defined(OS_MACOSX) | 2069 #if defined(OS_MACOSX) |
| 2078 // Set to true if the user removed our login item so we should not create a new | 2070 // Set to true if the user removed our login item so we should not create a new |
| 2079 // one when uninstalling background apps. | 2071 // one when uninstalling background apps. |
| 2080 const char kUserRemovedLoginItem[] = "background_mode.user_removed_login_item"; | 2072 const char kUserRemovedLoginItem[] = "background_mode.user_removed_login_item"; |
| 2081 | 2073 |
| 2082 // Set to true if Chrome already created a login item, so there's no need to | 2074 // Set to true if Chrome already created a login item, so there's no need to |
| 2083 // create another one. | 2075 // create another one. |
| 2084 const char kChromeCreatedLoginItem[] = | 2076 const char kChromeCreatedLoginItem[] = |
| 2085 "background_mode.chrome_created_login_item"; | 2077 "background_mode.chrome_created_login_item"; |
| 2086 | 2078 |
| 2087 // Set to true once we've initialized kChromeCreatedLoginItem for the first | 2079 // Set to true once we've initialized kChromeCreatedLoginItem for the first |
| 2088 // time. | 2080 // time. |
| 2089 const char kMigratedLoginItemPref[] = | 2081 const char kMigratedLoginItemPref[] = |
| 2090 "background_mode.migrated_login_item_pref"; | 2082 "background_mode.migrated_login_item_pref"; |
| 2091 | 2083 |
| 2092 // A boolean that tracks whether to show a notification when trying to quit | 2084 // A boolean that tracks whether to show a notification when trying to quit |
| 2093 // while there are apps running. | 2085 // while there are apps running. |
| 2094 const char kNotifyWhenAppsKeepChromeAlive[] = | 2086 const char kNotifyWhenAppsKeepChromeAlive[] = |
| 2095 "apps.notify-when-apps-keep-chrome-alive"; | 2087 "apps.notify-when-apps-keep-chrome-alive"; |
| 2096 #endif | 2088 #endif |
| 2097 | 2089 |
| 2098 // Set to true if background mode is enabled on this browser. | 2090 // Set to true if background mode is enabled on this browser. |
| 2099 const char kBackgroundModeEnabled[] = "background_mode.enabled"; | 2091 const char kBackgroundModeEnabled[] = "background_mode.enabled"; |
| 2100 | 2092 |
| 2101 // Set to true if hardware acceleration mode is enabled on this browser. | 2093 // Set to true if hardware acceleration mode is enabled on this browser. |
| 2102 const char kHardwareAccelerationModeEnabled[] = | 2094 const char kHardwareAccelerationModeEnabled[] = |
| 2103 "hardware_acceleration_mode.enabled"; | 2095 "hardware_acceleration_mode.enabled"; |
| 2104 | 2096 |
| 2105 // Hardware acceleration mode from previous browser launch. | 2097 // Hardware acceleration mode from previous browser launch. |
| 2106 const char kHardwareAccelerationModePrevious[] = | 2098 const char kHardwareAccelerationModePrevious[] = |
| 2107 "hardware_acceleration_mode_previous"; | 2099 "hardware_acceleration_mode_previous"; |
| 2108 | 2100 |
| 2109 // List of protocol handlers. | 2101 // List of protocol handlers. |
| 2110 const char kRegisteredProtocolHandlers[] = | 2102 const char kRegisteredProtocolHandlers[] = |
| 2111 "custom_handlers.registered_protocol_handlers"; | 2103 "custom_handlers.registered_protocol_handlers"; |
| 2112 | 2104 |
| 2113 // List of protocol handlers the user has requested not to be asked about again. | 2105 // List of protocol handlers the user has requested not to be asked about again. |
| 2114 const char kIgnoredProtocolHandlers[] = | 2106 const char kIgnoredProtocolHandlers[] = |
| 2115 "custom_handlers.ignored_protocol_handlers"; | 2107 "custom_handlers.ignored_protocol_handlers"; |
| 2116 | 2108 |
| 2117 // List of protocol handlers registered by policy. | 2109 // List of protocol handlers registered by policy. |
| 2118 const char kPolicyRegisteredProtocolHandlers[] = | 2110 const char kPolicyRegisteredProtocolHandlers[] = |
| 2119 "custom_handlers.policy.registered_protocol_handlers"; | 2111 "custom_handlers.policy.registered_protocol_handlers"; |
| 2120 | 2112 |
| 2121 // List of protocol handlers the policy has requested to be ignored. | 2113 // List of protocol handlers the policy has requested to be ignored. |
| 2122 const char kPolicyIgnoredProtocolHandlers[] = | 2114 const char kPolicyIgnoredProtocolHandlers[] = |
| 2123 "custom_handlers.policy.ignored_protocol_handlers"; | 2115 "custom_handlers.policy.ignored_protocol_handlers"; |
| 2124 | 2116 |
| 2125 // Whether user-specified handlers for protocols and content types can be | 2117 // Whether user-specified handlers for protocols and content types can be |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2181 // a confirmation dialog. | 2173 // a confirmation dialog. |
| 2182 const char kLogoutDialogDurationMs[] = "logout_dialog_duration_ms"; | 2174 const char kLogoutDialogDurationMs[] = "logout_dialog_duration_ms"; |
| 2183 const char kPinnedLauncherApps[] = "pinned_launcher_apps"; | 2175 const char kPinnedLauncherApps[] = "pinned_launcher_apps"; |
| 2184 // Boolean value indicating whether to show a logout button in the ash tray. | 2176 // Boolean value indicating whether to show a logout button in the ash tray. |
| 2185 const char kShowLogoutButtonInTray[] = "show_logout_button_in_tray"; | 2177 const char kShowLogoutButtonInTray[] = "show_logout_button_in_tray"; |
| 2186 #endif | 2178 #endif |
| 2187 | 2179 |
| 2188 #if defined(USE_AURA) | 2180 #if defined(USE_AURA) |
| 2189 // Tuning settings for gestures. | 2181 // Tuning settings for gestures. |
| 2190 const char kMaxSeparationForGestureTouchesInPixels[] = | 2182 const char kMaxSeparationForGestureTouchesInPixels[] = |
| 2191 "gesture.max_separation_for_gesture_touches_in_pixels"; | 2183 "gesture.max_separation_for_gesture_touches_in_pixels"; |
| 2192 const char kSemiLongPressTimeInSeconds[] = | 2184 const char kSemiLongPressTimeInSeconds[] = |
| 2193 "gesture.semi_long_press_time_in_seconds"; | 2185 "gesture.semi_long_press_time_in_seconds"; |
| 2194 const char kTabScrubActivationDelayInMS[] = | 2186 const char kTabScrubActivationDelayInMS[] = |
| 2195 "gesture.tab_scrub_activation_delay_in_ms"; | 2187 "gesture.tab_scrub_activation_delay_in_ms"; |
| 2196 const char kFlingAccelerationCurveCoefficient0[] = | 2188 const char kFlingAccelerationCurveCoefficient0[] = |
| 2197 "gesture.fling_acceleration_curve_coefficient_0"; | 2189 "gesture.fling_acceleration_curve_coefficient_0"; |
| 2198 const char kFlingAccelerationCurveCoefficient1[] = | 2190 const char kFlingAccelerationCurveCoefficient1[] = |
| 2199 "gesture.fling_acceleration_curve_coefficient_1"; | 2191 "gesture.fling_acceleration_curve_coefficient_1"; |
| 2200 const char kFlingAccelerationCurveCoefficient2[] = | 2192 const char kFlingAccelerationCurveCoefficient2[] = |
| 2201 "gesture.fling_acceleration_curve_coefficient_2"; | 2193 "gesture.fling_acceleration_curve_coefficient_2"; |
| 2202 const char kFlingAccelerationCurveCoefficient3[] = | 2194 const char kFlingAccelerationCurveCoefficient3[] = |
| 2203 "gesture.fling_acceleration_curve_coefficient_3"; | 2195 "gesture.fling_acceleration_curve_coefficient_3"; |
| 2204 const char kFlingCurveTouchpadAlpha[] = "flingcurve.touchpad_alpha"; | 2196 const char kFlingCurveTouchpadAlpha[] = "flingcurve.touchpad_alpha"; |
| 2205 const char kFlingCurveTouchpadBeta[] = "flingcurve.touchpad_beta"; | 2197 const char kFlingCurveTouchpadBeta[] = "flingcurve.touchpad_beta"; |
| 2206 const char kFlingCurveTouchpadGamma[] = "flingcurve.touchpad_gamma"; | 2198 const char kFlingCurveTouchpadGamma[] = "flingcurve.touchpad_gamma"; |
| 2207 const char kFlingCurveTouchscreenAlpha[] = "flingcurve.touchscreen_alpha"; | 2199 const char kFlingCurveTouchscreenAlpha[] = "flingcurve.touchscreen_alpha"; |
| 2208 const char kFlingCurveTouchscreenBeta[] = "flingcurve.touchscreen_beta"; | 2200 const char kFlingCurveTouchscreenBeta[] = "flingcurve.touchscreen_beta"; |
| 2209 const char kFlingCurveTouchscreenGamma[] = "flingcurve.touchscreen_gamma"; | 2201 const char kFlingCurveTouchscreenGamma[] = "flingcurve.touchscreen_gamma"; |
| 2210 const char kFlingMaxCancelToDownTimeInMs[] = | 2202 const char kFlingMaxCancelToDownTimeInMs[] = |
| 2211 "gesture.fling_max_cancel_to_down_time_in_ms"; | 2203 "gesture.fling_max_cancel_to_down_time_in_ms"; |
| 2212 const char kFlingMaxTapGapTimeInMs[] = | 2204 const char kFlingMaxTapGapTimeInMs[] = |
| 2213 "gesture.fling_max_tap_gap_time_in_ms"; | 2205 "gesture.fling_max_tap_gap_time_in_ms"; |
| 2214 const char kOverscrollHorizontalThresholdComplete[] = | 2206 const char kOverscrollHorizontalThresholdComplete[] = |
| 2215 "overscroll.horizontal_threshold_complete"; | 2207 "overscroll.horizontal_threshold_complete"; |
| 2216 const char kOverscrollVerticalThresholdComplete[] = | 2208 const char kOverscrollVerticalThresholdComplete[] = |
| 2217 "overscroll.vertical_threshold_complete"; | 2209 "overscroll.vertical_threshold_complete"; |
| 2218 const char kOverscrollMinimumThresholdStart[] = | 2210 const char kOverscrollMinimumThresholdStart[] = |
| 2219 "overscroll.minimum_threshold_start"; | 2211 "overscroll.minimum_threshold_start"; |
| 2220 const char kOverscrollMinimumThresholdStartTouchpad[] = | 2212 const char kOverscrollMinimumThresholdStartTouchpad[] = |
| 2221 "overscroll.minimum_threshold_start_touchpad"; | 2213 "overscroll.minimum_threshold_start_touchpad"; |
| 2222 const char kOverscrollVerticalThresholdStart[] = | 2214 const char kOverscrollVerticalThresholdStart[] = |
| 2223 "overscroll.vertical_threshold_start"; | 2215 "overscroll.vertical_threshold_start"; |
| 2224 const char kOverscrollHorizontalResistThreshold[] = | 2216 const char kOverscrollHorizontalResistThreshold[] = |
| 2225 "overscroll.horizontal_resist_threshold"; | 2217 "overscroll.horizontal_resist_threshold"; |
| 2226 const char kOverscrollVerticalResistThreshold[] = | 2218 const char kOverscrollVerticalResistThreshold[] = |
| 2227 "overscroll.vertical_resist_threshold"; | 2219 "overscroll.vertical_resist_threshold"; |
| 2228 #endif | 2220 #endif |
| 2229 | 2221 |
| 2230 // Counts how many more times the 'profile on a network share' warning should be | 2222 // Counts how many more times the 'profile on a network share' warning should be |
| 2231 // shown to the user before the next silence period. | 2223 // shown to the user before the next silence period. |
| 2232 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; | 2224 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; |
| 2233 // Tracks the time of the last shown warning. Used to reset | 2225 // Tracks the time of the last shown warning. Used to reset |
| 2234 // |network_profile.warnings_left| after a silence period. | 2226 // |network_profile.warnings_left| after a silence period. |
| 2235 const char kNetworkProfileLastWarningTime[] = | 2227 const char kNetworkProfileLastWarningTime[] = |
| 2236 "network_profile.last_warning_time"; | 2228 "network_profile.last_warning_time"; |
| 2237 | 2229 |
| (...skipping 14 matching lines...) Expand all Loading... | |
| 2252 const char kAppListLaunchCount[] = "app_list.launch_count"; | 2244 const char kAppListLaunchCount[] = "app_list.launch_count"; |
| 2253 const char kLastAppListLaunchPing[] = "app_list.last_launch_ping"; | 2245 const char kLastAppListLaunchPing[] = "app_list.last_launch_ping"; |
| 2254 | 2246 |
| 2255 // The number of times the an app was launched from the app launcher since last | 2247 // The number of times the an app was launched from the app launcher since last |
| 2256 // ping and the time of the last ping. | 2248 // ping and the time of the last ping. |
| 2257 const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; | 2249 const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; |
| 2258 const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; | 2250 const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; |
| 2259 | 2251 |
| 2260 // A boolean that tracks whether the user has ever enabled the app launcher. | 2252 // A boolean that tracks whether the user has ever enabled the app launcher. |
| 2261 const char kAppLauncherHasBeenEnabled[] = | 2253 const char kAppLauncherHasBeenEnabled[] = |
| 2262 "apps.app_launcher.has_been_enabled"; | 2254 "apps.app_launcher.has_been_enabled"; |
| 2263 | 2255 |
| 2264 // An enum indicating how the app launcher was enabled. E.g., via webstore, app | 2256 // An enum indicating how the app launcher was enabled. E.g., via webstore, app |
| 2265 // install, command line, etc. For UMA. | 2257 // install, command line, etc. For UMA. |
| 2266 const char kAppListEnableMethod[] = "app_list.how_enabled"; | 2258 const char kAppListEnableMethod[] = "app_list.how_enabled"; |
| 2267 | 2259 |
| 2268 // The time that the app launcher was enabled. Cleared when UMA is recorded. | 2260 // The time that the app launcher was enabled. Cleared when UMA is recorded. |
| 2269 const char kAppListEnableTime[] = "app_list.when_enabled"; | 2261 const char kAppListEnableTime[] = "app_list.when_enabled"; |
| 2270 | 2262 |
| 2271 // TODO(calamity): remove this pref since app launcher will always be | 2263 // TODO(calamity): remove this pref since app launcher will always be |
| 2272 // installed. | 2264 // installed. |
| 2273 // Local state caching knowledge of whether the app launcher is installed. | 2265 // Local state caching knowledge of whether the app launcher is installed. |
| 2274 const char kAppLauncherIsEnabled[] = | 2266 const char kAppLauncherIsEnabled[] = |
| 2275 "apps.app_launcher.should_show_apps_page"; | 2267 "apps.app_launcher.should_show_apps_page"; |
| 2276 | 2268 |
| 2277 // Integer representing the version of the app launcher shortcut installed on | 2269 // Integer representing the version of the app launcher shortcut installed on |
| 2278 // the system. Incremented, e.g., when embedded icons change. | 2270 // the system. Incremented, e.g., when embedded icons change. |
| 2279 const char kAppLauncherShortcutVersion[] = "apps.app_launcher.shortcut_version"; | 2271 const char kAppLauncherShortcutVersion[] = "apps.app_launcher.shortcut_version"; |
| 2280 | 2272 |
| 2281 // A boolean identifying if we should show the app launcher promo or not. | 2273 // A boolean identifying if we should show the app launcher promo or not. |
| 2282 const char kShowAppLauncherPromo[] = "app_launcher.show_promo"; | 2274 const char kShowAppLauncherPromo[] = "app_launcher.show_promo"; |
| 2283 | 2275 |
| 2284 // A dictionary that tracks the Drive app to Chrome app mapping. The key is | 2276 // A dictionary that tracks the Drive app to Chrome app mapping. The key is |
| 2285 // a Drive app id and the value is the corresponding Chrome app id. The pref | 2277 // a Drive app id and the value is the corresponding Chrome app id. The pref |
| 2286 // is unsynable and used to track local mappings only. | 2278 // is unsynable and used to track local mappings only. |
| 2287 const char kAppLauncherDriveAppMapping[] = | 2279 const char kAppLauncherDriveAppMapping[] = |
| 2288 "apps.app_launcher.drive_app_mapping"; | 2280 "apps.app_launcher.drive_app_mapping"; |
| 2289 #endif | 2281 #endif |
| 2290 | 2282 |
| 2291 // If set, the user requested to launch the app with this extension id while | 2283 // If set, the user requested to launch the app with this extension id while |
| 2292 // in Metro mode, and then relaunched to Desktop mode to start it. | 2284 // in Metro mode, and then relaunched to Desktop mode to start it. |
| 2293 const char kAppLaunchForMetroRestart[] = "apps.app_launch_for_metro_restart"; | 2285 const char kAppLaunchForMetroRestart[] = "apps.app_launch_for_metro_restart"; |
| 2294 | 2286 |
| 2295 // Set with |kAppLaunchForMetroRestart|, the profile whose loading triggers | 2287 // Set with |kAppLaunchForMetroRestart|, the profile whose loading triggers |
| 2296 // launch of the specified app when restarting Chrome in desktop mode. | 2288 // launch of the specified app when restarting Chrome in desktop mode. |
| 2297 const char kAppLaunchForMetroRestartProfile[] = | 2289 const char kAppLaunchForMetroRestartProfile[] = |
| 2298 "apps.app_launch_for_metro_restart_profile"; | 2290 "apps.app_launch_for_metro_restart_profile"; |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 2328 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; | 2320 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; |
| 2329 #endif | 2321 #endif |
| 2330 | 2322 |
| 2331 // Whether DNS Quick Check is disabled in proxy resolution. | 2323 // Whether DNS Quick Check is disabled in proxy resolution. |
| 2332 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; | 2324 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; |
| 2333 | 2325 |
| 2334 // Whether Guest Mode is enabled within the browser. | 2326 // Whether Guest Mode is enabled within the browser. |
| 2335 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; | 2327 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; |
| 2336 | 2328 |
| 2337 } // namespace prefs | 2329 } // namespace prefs |
| OLD | NEW |