No longer register app window placement preference keys on
[chromium-blink-merge.git] / chrome / common / pref_names.h
blob83e6cac96011a23847563b1c13206e435ba4eff7
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
3 // found in the LICENSE file.
5 // Constants for the names of various preferences, for easier changing.
7 #ifndef CHROME_COMMON_PREF_NAMES_H_
8 #define CHROME_COMMON_PREF_NAMES_H_
10 #include <stddef.h>
12 #include "build/build_config.h"
14 #include "components/autofill/core/common/autofill_pref_names.h"
15 #include "components/bookmarks/common/bookmark_pref_names.h"
16 #include "components/data_reduction_proxy/common/data_reduction_proxy_pref_names.h"
17 #include "components/metrics/metrics_pref_names.h"
18 #include "components/password_manager/core/common/password_manager_pref_names.h"
19 #include "components/signin/core/common/signin_pref_names.h"
21 namespace prefs {
23 // Profile prefs. Please add Local State prefs below instead.
24 extern const char kDefaultApps[];
25 extern const char kDefaultAppsInstalled[];
26 extern const char kDisableScreenshots[];
27 extern const char kForceEphemeralProfiles[];
28 extern const char kHomePageIsNewTabPage[];
29 extern const char kHomePage[];
30 extern const char kProfileIconVersion[];
31 extern const char kRestoreOnStartup[];
32 extern const char kRestoreOnStartupMigrated[];
33 extern const char kRestoreStartupURLsMigrationTime[];
34 extern const char kSessionExitedCleanly[];
35 extern const char kSessionExitType[];
36 extern const char kSupervisedUserCustodianEmail[];
37 extern const char kSupervisedUserCustodianName[];
38 extern const char kSupervisedUserCustodianProfileImageURL[];
39 extern const char kSupervisedUserCustodianProfileURL[];
40 extern const char kSupervisedUserManualHosts[];
41 extern const char kSupervisedUserManualURLs[];
42 extern const char kSupervisedUserSecondCustodianEmail[];
43 extern const char kSupervisedUserSecondCustodianName[];
44 extern const char kSupervisedUserSecondCustodianProfileImageURL[];
45 extern const char kSupervisedUserSecondCustodianProfileURL[];
46 extern const char kSupervisedUserSharedSettings[];
47 extern const char kURLsToRestoreOnStartup[];
48 extern const char kURLsToRestoreOnStartupOld[];
50 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state
51 // and user's profile. Global property determines locale of login screen,
52 // while user's profile determines his personal locale preference.
53 extern const char kApplicationLocale[];
54 #if defined(OS_CHROMEOS)
55 extern const char kApplicationLocaleBackup[];
56 extern const char kApplicationLocaleAccepted[];
57 extern const char kOwnerLocale[];
58 #endif
60 extern const char kDefaultCharset[];
61 extern const char kAcceptLanguages[];
62 extern const char kStaticEncodings[];
63 extern const char kWebKitCommonScript[];
64 extern const char kWebKitStandardFontFamily[];
65 extern const char kWebKitFixedFontFamily[];
66 extern const char kWebKitSerifFontFamily[];
67 extern const char kWebKitSansSerifFontFamily[];
68 extern const char kWebKitCursiveFontFamily[];
69 extern const char kWebKitFantasyFontFamily[];
70 extern const char kWebKitPictographFontFamily[];
72 // ISO 15924 four-letter script codes that per-script font prefs are supported
73 // for.
74 extern const char* const kWebKitScriptsForFontFamilyMaps[];
75 extern const size_t kWebKitScriptsForFontFamilyMapsLength;
77 // Per-script font pref prefixes.
78 extern const char kWebKitStandardFontFamilyMap[];
79 extern const char kWebKitFixedFontFamilyMap[];
80 extern const char kWebKitSerifFontFamilyMap[];
81 extern const char kWebKitSansSerifFontFamilyMap[];
82 extern const char kWebKitCursiveFontFamilyMap[];
83 extern const char kWebKitFantasyFontFamilyMap[];
84 extern const char kWebKitPictographFontFamilyMap[];
86 // Per-script font prefs that have defaults, for easy reference when registering
87 // the defaults.
88 extern const char kWebKitStandardFontFamilyArabic[];
89 extern const char kWebKitFixedFontFamilyArabic[];
90 extern const char kWebKitSerifFontFamilyArabic[];
91 extern const char kWebKitSansSerifFontFamilyArabic[];
92 extern const char kWebKitStandardFontFamilyCyrillic[];
93 extern const char kWebKitFixedFontFamilyCyrillic[];
94 extern const char kWebKitSerifFontFamilyCyrillic[];
95 extern const char kWebKitSansSerifFontFamilyCyrillic[];
96 extern const char kWebKitStandardFontFamilyGreek[];
97 extern const char kWebKitFixedFontFamilyGreek[];
98 extern const char kWebKitSerifFontFamilyGreek[];
99 extern const char kWebKitSansSerifFontFamilyGreek[];
100 extern const char kWebKitStandardFontFamilyJapanese[];
101 extern const char kWebKitFixedFontFamilyJapanese[];
102 extern const char kWebKitSerifFontFamilyJapanese[];
103 extern const char kWebKitSansSerifFontFamilyJapanese[];
104 extern const char kWebKitStandardFontFamilyKorean[];
105 extern const char kWebKitFixedFontFamilyKorean[];
106 extern const char kWebKitSerifFontFamilyKorean[];
107 extern const char kWebKitSansSerifFontFamilyKorean[];
108 extern const char kWebKitCursiveFontFamilyKorean[];
109 extern const char kWebKitStandardFontFamilySimplifiedHan[];
110 extern const char kWebKitFixedFontFamilySimplifiedHan[];
111 extern const char kWebKitSerifFontFamilySimplifiedHan[];
112 extern const char kWebKitSansSerifFontFamilySimplifiedHan[];
113 extern const char kWebKitStandardFontFamilyTraditionalHan[];
114 extern const char kWebKitFixedFontFamilyTraditionalHan[];
115 extern const char kWebKitSerifFontFamilyTraditionalHan[];
116 extern const char kWebKitSansSerifFontFamilyTraditionalHan[];
118 extern const char kWebKitDefaultFontSize[];
119 extern const char kWebKitDefaultFixedFontSize[];
120 extern const char kWebKitMinimumFontSize[];
121 extern const char kWebKitMinimumLogicalFontSize[];
122 extern const char kWebKitJavascriptEnabled[];
123 extern const char kWebKitWebSecurityEnabled[];
124 extern const char kWebKitJavascriptCanOpenWindowsAutomatically[];
125 extern const char kWebKitLoadsImagesAutomatically[];
126 extern const char kWebKitPluginsEnabled[];
127 extern const char kWebKitDomPasteEnabled[];
128 extern const char kWebKitShrinksStandaloneImagesToFit[];
129 extern const char kWebKitUsesUniversalDetector[];
130 extern const char kWebKitTextAreasAreResizable[];
131 extern const char kWebKitJavaEnabled[];
132 extern const char kWebkitTabsToLinks[];
133 extern const char kWebKitAllowDisplayingInsecureContent[];
134 extern const char kWebKitAllowRunningInsecureContent[];
135 #if defined(OS_ANDROID)
136 extern const char kWebKitFontScaleFactor[];
137 extern const char kWebKitForceEnableZoom[];
138 extern const char kWebKitPasswordEchoEnabled[];
139 #endif
140 extern const char kSafeBrowsingEnabled[];
141 extern const char kSafeBrowsingExtendedReportingEnabled[];
142 extern const char kSafeBrowsingProceedAnywayDisabled[];
143 extern const char kSafeBrowsingIncidentReportSent[];
144 extern const char kSafeBrowsingIncidentsSent[];
145 extern const char kIncognitoModeAvailability[];
146 extern const char kSearchSuggestEnabled[];
147 #if defined(OS_ANDROID)
148 extern const char kContextualSearchEnabled[];
149 #endif
150 extern const char kConfirmToQuitEnabled[];
151 extern const char kCookieBehavior[]; // OBSOLETE
152 extern const char kPromptForDownload[];
153 extern const char kAlternateErrorPagesEnabled[];
154 extern const char kDnsStartupPrefetchList[]; // OBSOLETE
155 extern const char kDnsPrefetchingStartupList[];
156 extern const char kDnsHostReferralList[]; // OBSOLETE
157 extern const char kDnsPrefetchingHostReferralList[];
158 extern const char kDisableSpdy[];
159 extern const char kHttpServerProperties[];
160 extern const char kSpdyServers[];
161 extern const char kAlternateProtocolServers[];
162 extern const char kDisabledSchemes[];
163 #if defined(OS_ANDROID) || defined(OS_IOS)
164 extern const char kLastPolicyCheckTime[];
165 #endif
166 extern const char kInstantUIZeroSuggestUrlPrefix[];
167 extern const char kMultipleProfilePrefMigration[];
168 extern const char kNetworkPredictionEnabled[];
169 extern const char kNetworkPredictionOptions[];
170 extern const char kDefaultAppsInstallState[];
171 extern const char kHideWebStoreIcon[];
172 #if defined(OS_CHROMEOS)
173 extern const char kAudioDevicesMute[];
174 extern const char kAudioDevicesVolumePercent[];
175 extern const char kAudioMute[];
176 extern const char kAudioVolumePercent[];
177 extern const char kSpringChargerCheck[];
178 extern const char kTapToClickEnabled[];
179 extern const char kTapDraggingEnabled[];
180 extern const char kEnableTouchpadThreeFingerClick[];
181 extern const char kNaturalScroll[];
182 extern const char kPrimaryMouseButtonRight[];
183 extern const char kMouseSensitivity[];
184 extern const char kTouchpadSensitivity[];
185 extern const char kUse24HourClock[];
186 extern const char kDisableDrive[];
187 extern const char kDisableDriveOverCellular[];
188 extern const char kDisableDriveHostedFiles[];
189 // TODO(yusukes): Change "kLanguageABC" to "kABC". The current form is too long
190 // to remember and confusing. The prefs are actually for input methods and i18n
191 // keyboards, not UI languages.
192 extern const char kLanguageCurrentInputMethod[];
193 extern const char kLanguagePreviousInputMethod[];
194 extern const char kLanguageHotkeyNextEngineInMenu[];
195 extern const char kLanguageHotkeyPreviousEngine[];
196 extern const char kLanguagePreferredLanguages[];
197 extern const char kLanguagePreloadEngines[];
198 extern const char kLanguageEnabledExtensionImes[];
199 extern const char kLanguageRemapCapsLockKeyTo[];
200 extern const char kLanguageRemapSearchKeyTo[];
201 extern const char kLanguageRemapControlKeyTo[];
202 extern const char kLanguageRemapAltKeyTo[];
203 extern const char kLanguageRemapDiamondKeyTo[];
204 extern const char kLanguageSendFunctionKeys[];
205 extern const char kLanguageXkbAutoRepeatEnabled[];
206 extern const char kLanguageXkbAutoRepeatDelay[];
207 extern const char kLanguageXkbAutoRepeatInterval[];
208 extern const char kAccessibilityLargeCursorEnabled[];
209 extern const char kAccessibilityStickyKeysEnabled[];
210 extern const char kAccessibilitySpokenFeedbackEnabled[];
211 extern const char kAccessibilityHighContrastEnabled[];
212 extern const char kAccessibilityScreenMagnifierEnabled[];
213 extern const char kAccessibilityScreenMagnifierType[];
214 extern const char kAccessibilityScreenMagnifierScale[];
215 extern const char kAccessibilityVirtualKeyboardEnabled[];
216 extern const char kAccessibilityAutoclickEnabled[];
217 extern const char kAccessibilityAutoclickDelayMs[];
218 extern const char kShouldAlwaysShowAccessibilityMenu[];
219 extern const char kLabsAdvancedFilesystemEnabled[];
220 extern const char kLabsMediaplayerEnabled[];
221 extern const char kEnableAutoScreenLock[];
222 extern const char kShowPlanNotifications[];
223 extern const char kShow3gPromoNotification[];
224 extern const char kChromeOSReleaseNotesVersion[];
225 extern const char kUseSharedProxies[];
226 extern const char kDisplayPowerState[];
227 extern const char kDisplayProperties[];
228 extern const char kSecondaryDisplays[];
229 extern const char kDisplayRotationLock[];
230 extern const char kSessionUserActivitySeen[];
231 extern const char kSessionStartTime[];
232 extern const char kSessionLengthLimit[];
233 extern const char kSessionWaitForInitialUserActivity[];
234 extern const char kPowerAcScreenDimDelayMs[];
235 extern const char kPowerAcScreenOffDelayMs[];
236 extern const char kPowerAcScreenLockDelayMs[];
237 extern const char kPowerAcIdleWarningDelayMs[];
238 extern const char kPowerAcIdleDelayMs[];
239 extern const char kPowerBatteryScreenDimDelayMs[];
240 extern const char kPowerBatteryScreenOffDelayMs[];
241 extern const char kPowerBatteryScreenLockDelayMs[];
242 extern const char kPowerBatteryIdleWarningDelayMs[];
243 extern const char kPowerBatteryIdleDelayMs[];
244 extern const char kPowerAcIdleAction[];
245 extern const char kPowerBatteryIdleAction[];
246 extern const char kPowerLidClosedAction[];
247 extern const char kPowerUseAudioActivity[];
248 extern const char kPowerUseVideoActivity[];
249 extern const char kPowerAllowScreenWakeLocks[];
250 extern const char kPowerPresentationScreenDimDelayFactor[];
251 extern const char kPowerUserActivityScreenDimDelayFactor[];
252 extern const char kPowerWaitForInitialUserActivity[];
253 extern const char kTermsOfServiceURL[];
254 extern const char kUsedPolicyCertificatesOnce[];
255 extern const char kAttestationEnabled[];
256 extern const char kAttestationExtensionWhitelist[];
257 extern const char kTouchHudProjectionEnabled[];
258 extern const char kOpenNetworkConfiguration[];
259 extern const char kRAConsentFirstTime[];
260 extern const char kMultiProfileNeverShowIntro[];
261 extern const char kMultiProfileWarningShowDismissed[];
262 extern const char kMultiProfileUserBehavior[];
263 extern const char kFirstRunTutorialShown[];
264 extern const char kSAMLOfflineSigninTimeLimit[];
265 extern const char kSAMLLastGAIASignInTime[];
266 extern const char kTimeOnOobe[];
267 extern const char kCurrentWallpaperAppName[];
268 extern const char kFileSystemProviderMounted[];
269 extern const char kTouchVirtualKeyboardEnabled[];
270 #endif // defined(OS_CHROMEOS)
271 extern const char kIpcDisabledMessages[];
272 extern const char kShowHomeButton[];
273 extern const char kRecentlySelectedEncoding[];
274 extern const char kDeleteBrowsingHistory[];
275 extern const char kDeleteDownloadHistory[];
276 extern const char kDeleteCache[];
277 extern const char kDeleteCookies[];
278 extern const char kDeletePasswords[];
279 extern const char kDeleteFormData[];
280 extern const char kDeleteHostedAppsData[];
281 extern const char kDeauthorizeContentLicenses[];
282 extern const char kEnableContinuousSpellcheck[];
283 extern const char kSpeechRecognitionFilterProfanities[];
284 extern const char kSpeechRecognitionTrayNotificationShownContexts[];
285 extern const char kEnabledLabsExperiments[];
286 extern const char kEnableAutoSpellCorrect[];
287 extern const char kSavingBrowserHistoryDisabled[];
288 extern const char kAllowDeletingBrowserHistory[];
289 extern const char kForceSafeSearch[];
290 extern const char kDeleteTimePeriod[];
291 extern const char kLastClearBrowsingDataTime[];
292 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
293 extern const char kUsesSystemTheme[];
294 #endif
295 extern const char kCurrentThemePackFilename[];
296 extern const char kCurrentThemeID[];
297 extern const char kCurrentThemeImages[];
298 extern const char kCurrentThemeColors[];
299 extern const char kCurrentThemeTints[];
300 extern const char kCurrentThemeDisplayProperties[];
301 extern const char kExtensionsUIDeveloperMode[];
302 extern const char kExtensionsUIDismissedADTPromo[];
303 extern const char kExtensionCommands[];
304 extern const char kPluginsLastInternalDirectory[];
305 extern const char kPluginsPluginsList[];
306 extern const char kPluginsDisabledPlugins[];
307 extern const char kPluginsDisabledPluginsExceptions[];
308 extern const char kPluginsEnabledPlugins[];
309 extern const char kPluginsMigratedToPepperFlash[];
310 extern const char kPluginsRemovedOldComponentPepperFlashSettings[];
311 extern const char kPluginsShowDetails[];
312 extern const char kPluginsAllowOutdated[];
313 extern const char kPluginsAlwaysAuthorize[];
314 #if defined(ENABLE_PLUGIN_INSTALLATION)
315 extern const char kPluginsMetadata[];
316 extern const char kPluginsResourceCacheUpdate[];
317 #endif
318 extern const char kCheckDefaultBrowser[];
319 extern const char kDefaultBrowserSettingEnabled[];
320 #if defined(OS_MACOSX)
321 extern const char kShowUpdatePromotionInfoBar[];
322 #endif
323 extern const char kUseCustomChromeFrame[];
324 extern const char kDefaultContentSettings[];
325 extern const char kContentSettingsClearOnExitMigrated[];
326 extern const char kContentSettingsVersion[];
327 extern const char kContentSettingsPatternPairs[];
328 extern const char kContentSettingsPluginWhitelist[];
329 extern const char kBlockThirdPartyCookies[];
330 extern const char kClearSiteDataOnExit[];
331 extern const char kDefaultZoomLevel[];
332 extern const char kPerHostZoomLevels[];
333 extern const char kAutofillDialogAutofillDefault[];
334 extern const char kAutofillDialogPayWithoutWallet[];
335 extern const char kAutofillDialogWalletLocationAcceptance[];
336 extern const char kAutofillDialogSaveData[];
337 extern const char kAutofillDialogWalletShippingSameAsBilling[];
338 extern const char kAutofillGeneratedCardBubbleTimesShown[];
339 extern const char kAutofillDialogDefaults[];
341 extern const char kPinnedTabs[];
343 extern const char kDisable3DAPIs[];
344 extern const char kEnableDeprecatedWebPlatformFeatures[];
345 extern const char kEnableHyperlinkAuditing[];
346 extern const char kEnableReferrers[];
347 extern const char kEnableDoNotTrack[];
349 extern const char kImportAutofillFormData[];
350 extern const char kImportBookmarks[];
351 extern const char kImportHistory[];
352 extern const char kImportHomepage[];
353 extern const char kImportSavedPasswords[];
354 extern const char kImportSearchEngine[];
356 extern const char kProfileAvatarIndex[];
357 extern const char kProfileUsingDefaultName[];
358 extern const char kProfileName[];
359 extern const char kProfileUsingDefaultAvatar[];
360 extern const char kProfileUsingGAIAAvatar[];
361 extern const char kSupervisedUserId[];
363 extern const char kProfileGAIAInfoUpdateTime[];
364 extern const char kProfileGAIAInfoPictureURL[];
366 extern const char kProfileAvatarTutorialShown[];
368 extern const char kInvertNotificationShown[];
370 extern const char kPrintingEnabled[];
372 extern const char kDefaultSupervisedUserFilteringBehavior[];
374 extern const char kSupervisedUserCreationAllowed[];
375 extern const char kSupervisedUsers[];
377 extern const char kMessageCenterDisabledExtensionIds[];
378 extern const char kMessageCenterDisabledSystemComponentIds[];
379 extern const char kWelcomeNotificationDismissed[];
380 extern const char kWelcomeNotificationDismissedLocal[];
381 extern const char kWelcomeNotificationPreviouslyPoppedUp[];
382 extern const char kWelcomeNotificationExpirationTimestamp[];
384 extern const char kFullscreenAllowed[];
386 extern const char kLocalDiscoveryNotificationsEnabled[];
388 extern const char kPreferenceResetTime[];
390 extern const char kGCMChannelEnabled[];
391 extern const char kPushMessagingRegistrationCount[];
393 extern const char kEasyUnlockEnabled[];
394 extern const char kEasyUnlockShowTutorial[];
395 extern const char kEasyUnlockPairing[];
396 extern const char kEasyUnlockAllowed[];
398 extern const char kZeroSuggestCachedResults[];
400 // Local state prefs. Please add Profile prefs above instead.
401 extern const char kCertRevocationCheckingEnabled[];
402 extern const char kCertRevocationCheckingRequiredLocalAnchors[];
403 extern const char kSSLVersionMin[];
404 extern const char kSSLVersionMax[];
405 extern const char kCipherSuiteBlacklist[];
406 extern const char kDisableSSLRecordSplitting[];
408 extern const char kSSLBlockingBypassed[];
410 extern const char kGLVendorString[];
411 extern const char kGLRendererString[];
412 extern const char kGLVersionString[];
414 extern const char kEulaAccepted[];
416 extern const char kMetricsReportingEnabled[];
418 // Android has it's own metric / crash reporting implemented in Android
419 // Java code so kMetricsReportingEnabled doesn't make sense. We use this
420 // to inform crashes_ui that we have enabled crash reporting.
421 #if defined(OS_ANDROID)
422 extern const char kCrashReportingEnabled[];
423 #endif
425 extern const char kVariationsLastFetchTime[];
426 extern const char kVariationsRestrictParameter[];
427 extern const char kVariationsSeed[];
428 extern const char kVariationsSeedDate[];
429 extern const char kVariationsSeedHash[];
430 extern const char kVariationsSeedSignature[];
432 extern const char kDeviceOpenNetworkConfiguration[];
434 extern const char kProfileLastUsed[];
435 extern const char kProfilesLastActive[];
436 extern const char kProfilesNumCreated[];
437 extern const char kProfileInfoCache[];
438 extern const char kProfileCreatedByVersion[];
440 extern const char kStabilityPageLoadCount[];
441 extern const char kStabilityRendererCrashCount[];
442 extern const char kStabilityExtensionRendererCrashCount[];
443 extern const char kStabilityRendererHangCount[];
444 extern const char kStabilityChildProcessCrashCount[];
445 extern const char kStabilityOtherUserCrashCount[];
446 extern const char kStabilityKernelCrashCount[];
447 extern const char kStabilitySystemUncleanShutdownCount[];
448 #if defined(OS_ANDROID)
449 extern const char kStabilityForegroundActivityType[];
450 extern const char kStabilityLaunchedActivityFlags[];
451 extern const char kStabilityLaunchedActivityCounts[];
452 extern const char kStabilityCrashedActivityCounts[];
453 #endif
455 extern const char kStabilityPluginStats[];
456 extern const char kStabilityPluginName[];
457 extern const char kStabilityPluginLaunches[];
458 extern const char kStabilityPluginInstances[];
459 extern const char kStabilityPluginCrashes[];
460 extern const char kStabilityPluginLoadingErrors[];
462 extern const char kUninstallMetricsPageLoadCount[];
463 extern const char kUninstallLastLaunchTimeSec[];
464 extern const char kUninstallLastObservedRunTimeSec[];
466 extern const char kBrowserSuppressDefaultBrowserPrompt[];
468 extern const char kBrowserWindowPlacement[];
469 extern const char kBrowserWindowPlacementPopup[];
470 extern const char kTaskManagerWindowPlacement[];
471 extern const char kAppWindowPlacement[];
472 extern const char kMemoryCacheSize[];
474 extern const char kDownloadDefaultDirectory[];
475 extern const char kDownloadExtensionsToOpen[];
476 extern const char kDownloadDirUpgraded[];
477 #if defined(OS_WIN)
478 extern const char kOpenPdfDownloadInAdobeReader[];
479 #endif
481 extern const char kSaveFileDefaultDirectory[];
482 extern const char kSaveFileType[];
484 extern const char kAllowFileSelectionDialogs[];
485 extern const char kDefaultTasksByMimeType[];
486 extern const char kDefaultTasksBySuffix[];
488 extern const char kSelectFileLastDirectory[];
490 extern const char kHungPluginDetectFrequency[];
491 extern const char kPluginMessageResponseTimeout[];
493 extern const char kSpellCheckDictionary[];
494 extern const char kSpellCheckUseSpellingService[];
496 extern const char kExcludedSchemes[];
498 extern const char kSafeBrowsingClientKey[];
499 extern const char kSafeBrowsingWrappedKey[];
501 extern const char kOptionsWindowLastTabIndex[];
502 extern const char kContentSettingsWindowLastTabIndex[];
503 extern const char kCertificateManagerWindowLastTabIndex[];
504 extern const char kShowFirstRunBubbleOption[];
506 extern const char kLastKnownIntranetRedirectOrigin[];
508 extern const char kShutdownType[];
509 extern const char kShutdownNumProcesses[];
510 extern const char kShutdownNumProcessesSlow[];
512 extern const char kRestartLastSessionOnShutdown[];
513 extern const char kWasRestarted[];
514 #if defined(OS_WIN)
515 extern const char kRelaunchMode[];
516 #endif
518 extern const char kDisableVideoAndChat[];
520 extern const char kDisableExtensions[];
521 extern const char kDisablePluginFinder[];
523 extern const char kNtpAppPageNames[];
524 extern const char kNtpCollapsedCurrentlyOpenTabs[];
525 extern const char kNtpCollapsedForeignSessions[];
526 extern const char kNtpCollapsedRecentlyClosedTabs[];
527 extern const char kNtpCollapsedSnapshotDocument[];
528 extern const char kNtpCollapsedSyncPromo[];
529 extern const char kNtpDateResourceServer[];
530 extern const char kNtpMostVisitedURLsBlacklist[];
531 extern const char kNtpPromoDesktopSessionFound[];
532 extern const char kNtpPromoResourceCacheUpdate[];
533 extern const char kNtpShownBookmarksFolder[];
534 extern const char kNtpShownPage[];
535 extern const char kNtpTipsResourceServer[];
536 extern const char kNtpWebStoreEnabled[];
538 extern const char kDevToolsAdbKey[];
539 extern const char kDevToolsDisabled[];
540 extern const char kDevToolsDiscoverUsbDevicesEnabled[];
541 extern const char kDevToolsEditedFiles[];
542 extern const char kDevToolsFileSystemPaths[];
543 extern const char kDevToolsOpenDocked[];
544 extern const char kDevToolsPortForwardingEnabled[];
545 extern const char kDevToolsPortForwardingDefaultSet[];
546 extern const char kDevToolsPortForwardingConfig[];
547 #if defined(OS_ANDROID)
548 extern const char kDevToolsRemoteEnabled[];
549 #endif
551 extern const char kGoogleServicesPasswordHash[];
553 extern const char kInvalidationServiceUseGCMChannel[];
555 extern const char kSignInPromoStartupCount[];
556 extern const char kSignInPromoUserSkipped[];
557 extern const char kSignInPromoShowOnFirstRunAllowed[];
558 extern const char kSignInPromoShowNTPBubble[];
560 extern const char kWebAppCreateOnDesktop[];
561 extern const char kWebAppCreateInAppsMenu[];
562 extern const char kWebAppCreateInQuickLaunchBar[];
564 extern const char kGeolocationAccessToken[];
565 #if defined(OS_ANDROID)
566 extern const char kGeolocationEnabled[];
567 #endif
569 #if defined(ENABLE_GOOGLE_NOW)
570 extern const char kGoogleGeolocationAccessEnabled[];
571 #endif
573 extern const char kDefaultAudioCaptureDevice[];
574 extern const char kDefaultVideoCaptureDevice[];
575 extern const char kMediaDeviceIdSalt[];
577 extern const char kRemoteAccessHostFirewallTraversal[];
578 extern const char kRemoteAccessHostRequireTwoFactor[];
579 extern const char kRemoteAccessHostDomain[];
580 extern const char kRemoteAccessHostTalkGadgetPrefix[];
581 extern const char kRemoteAccessHostRequireCurtain[];
582 extern const char kRemoteAccessHostAllowClientPairing[];
583 extern const char kRemoteAccessHostAllowGnubbyAuth[];
584 extern const char kRemoteAccessHostAllowRelayedConnection[];
585 extern const char kRemoteAccessHostUdpPortRange[];
587 extern const char kPrintPreviewStickySettings[];
588 extern const char kCloudPrintRoot[];
589 extern const char kCloudPrintDialogWidth[];
590 extern const char kCloudPrintDialogHeight[];
591 extern const char kCloudPrintSigninDialogWidth[];
592 extern const char kCloudPrintSigninDialogHeight[];
593 extern const char kCloudPrintProxyEnabled[];
594 extern const char kCloudPrintProxyId[];
595 extern const char kCloudPrintAuthToken[];
596 extern const char kCloudPrintXMPPAuthToken[];
597 extern const char kCloudPrintEmail[];
598 extern const char kCloudPrintPrintSystemSettings[];
599 extern const char kCloudPrintEnableJobPoll[];
600 extern const char kCloudPrintRobotRefreshToken[];
601 extern const char kCloudPrintRobotEmail[];
602 extern const char kCloudPrintConnectNewPrinters[];
603 extern const char kCloudPrintXmppPingEnabled[];
604 extern const char kCloudPrintXmppPingTimeout[];
605 extern const char kCloudPrintPrinters[];
606 extern const char kCloudPrintSubmitEnabled[];
607 extern const char kCloudPrintUserSettings[];
609 extern const char kProxy[];
610 extern const char kMaxConnectionsPerProxy[];
612 extern const char kManagedDefaultCookiesSetting[];
613 extern const char kManagedDefaultImagesSetting[];
614 extern const char kManagedDefaultJavaScriptSetting[];
615 extern const char kManagedDefaultPluginsSetting[];
616 extern const char kManagedDefaultPopupsSetting[];
617 extern const char kManagedDefaultGeolocationSetting[];
618 extern const char kManagedDefaultNotificationsSetting[];
619 extern const char kManagedDefaultMediaStreamSetting[];
621 extern const char kManagedCookiesAllowedForUrls[];
622 extern const char kManagedCookiesBlockedForUrls[];
623 extern const char kManagedCookiesSessionOnlyForUrls[];
624 extern const char kManagedImagesAllowedForUrls[];
625 extern const char kManagedImagesBlockedForUrls[];
626 extern const char kManagedJavaScriptAllowedForUrls[];
627 extern const char kManagedJavaScriptBlockedForUrls[];
628 extern const char kManagedPluginsAllowedForUrls[];
629 extern const char kManagedPluginsBlockedForUrls[];
630 extern const char kManagedPopupsAllowedForUrls[];
631 extern const char kManagedPopupsBlockedForUrls[];
632 extern const char kManagedNotificationsAllowedForUrls[];
633 extern const char kManagedNotificationsBlockedForUrls[];
634 extern const char kManagedAutoSelectCertificateForUrls[];
636 extern const char kAudioCaptureAllowed[];
637 extern const char kAudioCaptureAllowedUrls[];
638 extern const char kVideoCaptureAllowed[];
639 extern const char kVideoCaptureAllowedUrls[];
641 extern const char kHotwordSearchEnabled[];
642 extern const char kHotwordAlwaysOnSearchEnabled[];
643 extern const char kHotwordAudioLoggingEnabled[];
644 extern const char kHotwordPreviousLanguage[];
646 #if defined(OS_ANDROID)
647 extern const char kProtectedMediaIdentifierEnabled[];
648 #endif
650 #if defined(OS_CHROMEOS)
651 extern const char kDeviceSettingsCache[];
652 extern const char kHardwareKeyboardLayout[];
653 extern const char kCarrierDealPromoShown[];
654 extern const char kShouldAutoEnroll[];
655 extern const char kAutoEnrollmentPowerLimit[];
656 extern const char kDeviceActivityTimes[];
657 extern const char kDeviceLocation[];
658 extern const char kExternalStorageDisabled[];
659 extern const char kUsersWallpaperInfo[];
660 extern const char kAudioOutputAllowed[];
661 extern const char kOwnerPrimaryMouseButtonRight[];
662 extern const char kOwnerTapToClickEnabled[];
663 extern const char kUptimeLimit[];
664 extern const char kRebootAfterUpdate[];
665 extern const char kDeviceRobotAnyApiRefreshToken[];
666 extern const char kDeviceEnrollmentRequisition[];
667 extern const char kDeviceEnrollmentAutoStart[];
668 extern const char kDeviceEnrollmentCanExit[];
669 extern const char kTimesHIDDialogShown[];
670 extern const char kUsersLRUInputMethod[];
671 extern const char kEchoCheckedOffers[];
672 extern const char kCachedMultiProfileUserBehavior[];
673 extern const char kInitialLocale[];
674 extern const char kOobeComplete[];
675 extern const char kOobeScreenPending[];
676 extern const char kDeviceRegistered[];
677 extern const char kEnrollmentRecoveryRequired[];
678 extern const char kUsedPolicyCertificates[];
679 extern const char kServerBackedDeviceState[];
680 extern const char kCustomizationDefaultWallpaperURL[];
681 extern const char kLogoutStartedLast[];
682 extern const char kConsumerManagementEnrollmentStage[];
683 #endif
685 extern const char kClearPluginLSODataEnabled[];
686 extern const char kPepperFlashSettingsEnabled[];
687 extern const char kDiskCacheDir[];
688 extern const char kDiskCacheSize[];
689 extern const char kMediaCacheSize[];
691 extern const char kChromeOsReleaseChannel[];
693 extern const char kPerformanceTracingEnabled[];
695 extern const char kTabStripStackedLayout[];
697 extern const char kRegisteredBackgroundContents[];
699 extern const char kShownAutoLaunchInfobar[];
701 extern const char kAuthSchemes[];
702 extern const char kDisableAuthNegotiateCnameLookup[];
703 extern const char kEnableAuthNegotiatePort[];
704 extern const char kAuthServerWhitelist[];
705 extern const char kAuthNegotiateDelegateWhitelist[];
706 extern const char kGSSAPILibraryName[];
707 extern const char kAllowCrossOriginAuthPrompt[];
709 extern const char kBuiltInDnsClientEnabled[];
711 extern const char kRegisteredProtocolHandlers[];
712 extern const char kIgnoredProtocolHandlers[];
713 extern const char kPolicyRegisteredProtocolHandlers[];
714 extern const char kPolicyIgnoredProtocolHandlers[];
715 extern const char kCustomHandlersEnabled[];
717 #if defined(OS_MACOSX)
718 extern const char kUserRemovedLoginItem[];
719 extern const char kChromeCreatedLoginItem[];
720 extern const char kMigratedLoginItemPref[];
721 extern const char kNotifyWhenAppsKeepChromeAlive[];
722 #endif
724 extern const char kBackgroundModeEnabled[];
725 extern const char kHardwareAccelerationModeEnabled[];
726 extern const char kHardwareAccelerationModePrevious[];
728 extern const char kDevicePolicyRefreshRate[];
730 extern const char kFactoryResetRequested[];
732 extern const char kMessageCenterShowedFirstRunBalloon[];
733 extern const char kMessageCenterShowIcon[];
734 extern const char kMessageCenterForcedOnTaskbar[];
736 extern const char kAttemptedToEnableAutoupdate[];
738 extern const char kMediaGalleriesUniqueId[];
739 extern const char kMediaGalleriesRememberedGalleries[];
740 extern const char kMediaGalleriesLastScanTime[];
742 #if defined(USE_ASH)
743 extern const char kShelfAlignment[];
744 extern const char kShelfAlignmentLocal[];
745 extern const char kShelfAutoHideBehavior[];
746 extern const char kShelfAutoHideBehaviorLocal[];
747 extern const char kShelfChromeIconIndex[];
748 extern const char kShelfPreferences[];
750 extern const char kLogoutDialogDurationMs[];
751 extern const char kPinnedLauncherApps[];
752 extern const char kShowLogoutButtonInTray[];
753 #endif
755 #if defined(USE_AURA)
756 extern const char kMaxSeparationForGestureTouchesInPixels[];
757 extern const char kSemiLongPressTimeInSeconds[];
758 extern const char kTabScrubActivationDelayInMS[];
759 extern const char kFlingAccelerationCurveCoefficient0[];
760 extern const char kFlingAccelerationCurveCoefficient1[];
761 extern const char kFlingAccelerationCurveCoefficient2[];
762 extern const char kFlingAccelerationCurveCoefficient3[];
763 extern const char kFlingCurveTouchpadAlpha[];
764 extern const char kFlingCurveTouchpadBeta[];
765 extern const char kFlingCurveTouchpadGamma[];
766 extern const char kFlingCurveTouchscreenAlpha[];
767 extern const char kFlingCurveTouchscreenBeta[];
768 extern const char kFlingCurveTouchscreenGamma[];
769 extern const char kFlingMaxCancelToDownTimeInMs[];
770 extern const char kFlingMaxTapGapTimeInMs[];
771 extern const char kOverscrollHorizontalThresholdComplete[];
772 extern const char kOverscrollVerticalThresholdComplete[];
773 extern const char kOverscrollMinimumThresholdStart[];
774 extern const char kOverscrollMinimumThresholdStartTouchpad[];
775 extern const char kOverscrollVerticalThresholdStart[];
776 extern const char kOverscrollHorizontalResistThreshold[];
777 extern const char kOverscrollVerticalResistThreshold[];
778 #endif
780 extern const char kNetworkProfileWarningsLeft[];
781 extern const char kNetworkProfileLastWarningTime[];
783 #if defined(OS_CHROMEOS)
784 extern const char kRLZBrand[];
785 extern const char kRLZDisabled[];
786 #endif
788 #if defined(ENABLE_APP_LIST)
789 extern const char kAppListProfile[];
790 extern const char kLastAppListLaunchPing[];
791 extern const char kAppListLaunchCount[];
792 extern const char kLastAppListAppLaunchPing[];
793 extern const char kAppListAppLaunchCount[];
794 extern const char kAppLauncherHasBeenEnabled[];
795 extern const char kAppListEnableMethod[];
796 extern const char kAppListEnableTime[];
797 extern const char kAppLauncherIsEnabled[];
798 extern const char kAppLauncherShortcutVersion[];
799 extern const char kShowAppLauncherPromo[];
800 extern const char kAppLauncherDriveAppMapping[];
801 #endif
803 extern const char kAppLaunchForMetroRestart[];
804 extern const char kAppLaunchForMetroRestartProfile[];
805 extern const char kAppShortcutsVersion[];
807 extern const char kModuleConflictBubbleShown[];
809 extern const char kDRMSalt[];
810 extern const char kEnableDRM[];
812 extern const char kWatchdogExtensionActive[];
813 // TODO(felt): Remove old string in M34.
814 extern const char kWatchdogExtensionActiveOld[];
816 #if defined(OS_ANDROID)
817 extern const char kPartnerBookmarkMappings[];
818 #endif
820 extern const char kQuickCheckEnabled[];
821 extern const char kBrowserGuestModeEnabled[];
822 extern const char kBrowserAddPersonEnabled[];
824 } // namespace prefs
826 #endif // CHROME_COMMON_PREF_NAMES_H_