Roll src/third_party/skia a6ae14e:85693c1
[chromium-blink-merge.git] / chrome / common / pref_names.h
blob68fc5f84bf9618e8fcf96b3994895b56ec7581e7
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/content_settings/core/common/pref_names.h"
17 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h"
18 #include "components/metrics/metrics_pref_names.h"
19 #include "components/password_manager/core/common/password_manager_pref_names.h"
20 #include "components/signin/core/common/signin_pref_names.h"
22 namespace prefs {
24 // Profile prefs. Please add Local State prefs below instead.
25 extern const char kChildAccountStatusKnown[];
26 extern const char kDefaultApps[];
27 extern const char kDisableScreenshots[];
28 extern const char kForceEphemeralProfiles[];
29 extern const char kHomePageIsNewTabPage[];
30 extern const char kHomePage[];
31 extern const char kProfileIconVersion[];
32 extern const char kRestoreOnStartup[];
33 extern const char kRestoreOnStartupMigrated[];
34 extern const char kRestoreStartupURLsMigrationTime[];
35 extern const char kSessionExitedCleanly[];
36 extern const char kSessionExitType[];
37 extern const char kSupervisedUserCustodianEmail[];
38 extern const char kSupervisedUserCustodianName[];
39 extern const char kSupervisedUserCustodianProfileImageURL[];
40 extern const char kSupervisedUserCustodianProfileURL[];
41 extern const char kSupervisedUserManualHosts[];
42 extern const char kSupervisedUserManualURLs[];
43 extern const char kSupervisedUserSecondCustodianEmail[];
44 extern const char kSupervisedUserSecondCustodianName[];
45 extern const char kSupervisedUserSecondCustodianProfileImageURL[];
46 extern const char kSupervisedUserSecondCustodianProfileURL[];
47 extern const char kSupervisedUserSharedSettings[];
48 extern const char kSupervisedUserWhitelists[];
49 extern const char kURLsToRestoreOnStartup[];
50 extern const char kURLsToRestoreOnStartupOld[];
52 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state
53 // and user's profile. Global property determines locale of login screen,
54 // while user's profile determines his personal locale preference.
55 extern const char kApplicationLocale[];
56 #if defined(OS_CHROMEOS)
57 extern const char kApplicationLocaleBackup[];
58 extern const char kApplicationLocaleAccepted[];
59 extern const char kOwnerLocale[];
60 #endif
62 extern const char kDefaultCharset[];
63 extern const char kAcceptLanguages[];
64 extern const char kStaticEncodings[];
65 extern const char kWebKitCommonScript[];
66 extern const char kWebKitStandardFontFamily[];
67 extern const char kWebKitFixedFontFamily[];
68 extern const char kWebKitSerifFontFamily[];
69 extern const char kWebKitSansSerifFontFamily[];
70 extern const char kWebKitCursiveFontFamily[];
71 extern const char kWebKitFantasyFontFamily[];
72 extern const char kWebKitPictographFontFamily[];
74 // ISO 15924 four-letter script codes that per-script font prefs are supported
75 // for.
76 extern const char* const kWebKitScriptsForFontFamilyMaps[];
77 extern const size_t kWebKitScriptsForFontFamilyMapsLength;
79 // Per-script font pref prefixes.
80 extern const char kWebKitStandardFontFamilyMap[];
81 extern const char kWebKitFixedFontFamilyMap[];
82 extern const char kWebKitSerifFontFamilyMap[];
83 extern const char kWebKitSansSerifFontFamilyMap[];
84 extern const char kWebKitCursiveFontFamilyMap[];
85 extern const char kWebKitFantasyFontFamilyMap[];
86 extern const char kWebKitPictographFontFamilyMap[];
88 // Per-script font prefs that have defaults, for easy reference when registering
89 // the defaults.
90 extern const char kWebKitStandardFontFamilyArabic[];
91 #if defined(OS_WIN)
92 extern const char kWebKitFixedFontFamilyArabic[];
93 #endif
94 extern const char kWebKitSerifFontFamilyArabic[];
95 extern const char kWebKitSansSerifFontFamilyArabic[];
96 #if defined(OS_WIN)
97 extern const char kWebKitStandardFontFamilyCyrillic[];
98 extern const char kWebKitFixedFontFamilyCyrillic[];
99 extern const char kWebKitSerifFontFamilyCyrillic[];
100 extern const char kWebKitSansSerifFontFamilyCyrillic[];
101 extern const char kWebKitStandardFontFamilyGreek[];
102 extern const char kWebKitFixedFontFamilyGreek[];
103 extern const char kWebKitSerifFontFamilyGreek[];
104 extern const char kWebKitSansSerifFontFamilyGreek[];
105 #endif
106 extern const char kWebKitStandardFontFamilyJapanese[];
107 extern const char kWebKitFixedFontFamilyJapanese[];
108 extern const char kWebKitSerifFontFamilyJapanese[];
109 extern const char kWebKitSansSerifFontFamilyJapanese[];
110 extern const char kWebKitStandardFontFamilyKorean[];
111 extern const char kWebKitFixedFontFamilyKorean[];
112 extern const char kWebKitSerifFontFamilyKorean[];
113 extern const char kWebKitSansSerifFontFamilyKorean[];
114 #if defined(OS_WIN)
115 extern const char kWebKitCursiveFontFamilyKorean[];
116 #endif
117 extern const char kWebKitStandardFontFamilySimplifiedHan[];
118 extern const char kWebKitFixedFontFamilySimplifiedHan[];
119 extern const char kWebKitSerifFontFamilySimplifiedHan[];
120 extern const char kWebKitSansSerifFontFamilySimplifiedHan[];
121 extern const char kWebKitStandardFontFamilyTraditionalHan[];
122 extern const char kWebKitFixedFontFamilyTraditionalHan[];
123 extern const char kWebKitSerifFontFamilyTraditionalHan[];
124 extern const char kWebKitSansSerifFontFamilyTraditionalHan[];
126 extern const char kWebKitDefaultFontSize[];
127 extern const char kWebKitDefaultFixedFontSize[];
128 extern const char kWebKitMinimumFontSize[];
129 extern const char kWebKitMinimumLogicalFontSize[];
130 extern const char kWebKitJavascriptEnabled[];
131 extern const char kWebKitWebSecurityEnabled[];
132 extern const char kWebKitJavascriptCanOpenWindowsAutomatically[];
133 extern const char kWebKitLoadsImagesAutomatically[];
134 extern const char kWebKitPluginsEnabled[];
135 extern const char kWebKitDomPasteEnabled[];
136 extern const char kWebKitUsesUniversalDetector[];
137 extern const char kWebKitTextAreasAreResizable[];
138 extern const char kWebKitJavaEnabled[];
139 extern const char kWebkitTabsToLinks[];
140 extern const char kWebKitAllowDisplayingInsecureContent[];
141 extern const char kWebKitAllowRunningInsecureContent[];
142 #if defined(OS_ANDROID)
143 extern const char kWebKitFontScaleFactor[];
144 extern const char kWebKitForceEnableZoom[];
145 extern const char kWebKitPasswordEchoEnabled[];
146 #endif
147 extern const char kSafeBrowsingEnabled[];
148 extern const char kSafeBrowsingExtendedReportingEnabled[];
149 extern const char kSafeBrowsingProceedAnywayDisabled[];
150 extern const char kSafeBrowsingIncidentsSent[];
151 extern const char kSafeBrowsingExtendedReportingOptInAllowed[];
152 extern const char kSSLErrorOverrideAllowed[];
153 extern const char kIncognitoModeAvailability[];
154 extern const char kSearchSuggestEnabled[];
155 #if defined(OS_ANDROID)
156 extern const char kContextualSearchEnabled[];
157 #endif
158 #if defined(OS_MACOSX)
159 extern const char kConfirmToQuitEnabled[];
160 #endif
161 extern const char kPromptForDownload[];
162 extern const char kAlternateErrorPagesEnabled[];
163 extern const char kDnsPrefetchingStartupList[];
164 extern const char kDnsPrefetchingHostReferralList[];
165 extern const char kDisableSpdy[];
166 extern const char kHttpServerProperties[];
167 #if defined(OS_ANDROID) || defined(OS_IOS)
168 extern const char kLastPolicyCheckTime[];
169 #endif
170 extern const char kInstantUIZeroSuggestUrlPrefix[];
171 extern const char kNetworkPredictionEnabled[];
172 extern const char kNetworkPredictionOptions[];
173 extern const char kDefaultAppsInstallState[];
174 extern const char kHideWebStoreIcon[];
175 #if defined(OS_CHROMEOS)
176 extern const char kTapToClickEnabled[];
177 extern const char kTapDraggingEnabled[];
178 extern const char kEnableTouchpadThreeFingerClick[];
179 extern const char kNaturalScroll[];
180 extern const char kPrimaryMouseButtonRight[];
181 extern const char kMouseSensitivity[];
182 extern const char kTouchpadSensitivity[];
183 extern const char kUse24HourClock[];
184 extern const char kResolveTimezoneByGeolocation[];
185 // TODO(yusukes): Change "kLanguageABC" to "kABC". The current form is too long
186 // to remember and confusing. The prefs are actually for input methods and i18n
187 // keyboards, not UI languages.
188 extern const char kLanguageCurrentInputMethod[];
189 extern const char kLanguagePreviousInputMethod[];
190 extern const char kLanguagePreferredLanguages[];
191 extern const char kLanguagePreferredLanguagesSyncable[];
192 extern const char kLanguagePreloadEngines[];
193 extern const char kLanguagePreloadEnginesSyncable[];
194 extern const char kLanguageEnabledExtensionImes[];
195 extern const char kLanguageEnabledExtensionImesSyncable[];
196 extern const char kLanguageShouldMergeInputMethods[];
197 extern const char kLanguageRemapCapsLockKeyTo[];
198 extern const char kLanguageRemapSearchKeyTo[];
199 extern const char kLanguageRemapControlKeyTo[];
200 extern const char kLanguageRemapAltKeyTo[];
201 extern const char kLanguageRemapDiamondKeyTo[];
202 extern const char kLanguageSendFunctionKeys[];
203 extern const char kLanguageXkbAutoRepeatEnabled[];
204 extern const char kLanguageXkbAutoRepeatDelay[];
205 extern const char kLanguageXkbAutoRepeatInterval[];
206 extern const char kAccessibilityLargeCursorEnabled[];
207 extern const char kAccessibilityStickyKeysEnabled[];
208 extern const char kAccessibilitySpokenFeedbackEnabled[];
209 extern const char kAccessibilityHighContrastEnabled[];
210 extern const char kAccessibilityScreenMagnifierCenterFocus[];
211 extern const char kAccessibilityScreenMagnifierEnabled[];
212 extern const char kAccessibilityScreenMagnifierType[];
213 extern const char kAccessibilityScreenMagnifierScale[];
214 extern const char kAccessibilityVirtualKeyboardEnabled[];
215 extern const char kAccessibilityAutoclickEnabled[];
216 extern const char kAccessibilityAutoclickDelayMs[];
217 extern const char kShouldAlwaysShowAccessibilityMenu[];
218 extern const char kLabsAdvancedFilesystemEnabled[];
219 extern const char kLabsMediaplayerEnabled[];
220 extern const char kEnableAutoScreenLock[];
221 extern const char kShow3gPromoNotification[];
222 extern const char kDataSaverPromptsShown[];
223 extern const char kChromeOSReleaseNotesVersion[];
224 extern const char kUseSharedProxies[];
225 extern const char kDisplayPowerState[];
226 extern const char kDisplayProperties[];
227 extern const char kSecondaryDisplays[];
228 extern const char kDisplayRotationLock[];
229 extern const char kSessionUserActivitySeen[];
230 extern const char kSessionStartTime[];
231 extern const char kSessionLengthLimit[];
232 extern const char kSessionWaitForInitialUserActivity[];
233 extern const char kPowerAcScreenDimDelayMs[];
234 extern const char kPowerAcScreenOffDelayMs[];
235 extern const char kPowerAcScreenLockDelayMs[];
236 extern const char kPowerAcIdleWarningDelayMs[];
237 extern const char kPowerAcIdleDelayMs[];
238 extern const char kPowerBatteryScreenDimDelayMs[];
239 extern const char kPowerBatteryScreenOffDelayMs[];
240 extern const char kPowerBatteryScreenLockDelayMs[];
241 extern const char kPowerBatteryIdleWarningDelayMs[];
242 extern const char kPowerBatteryIdleDelayMs[];
243 extern const char kPowerLockScreenDimDelayMs[];
244 extern const char kPowerLockScreenOffDelayMs[];
245 extern const char kPowerAcIdleAction[];
246 extern const char kPowerBatteryIdleAction[];
247 extern const char kPowerLidClosedAction[];
248 extern const char kPowerUseAudioActivity[];
249 extern const char kPowerUseVideoActivity[];
250 extern const char kPowerAllowScreenWakeLocks[];
251 extern const char kPowerPresentationScreenDimDelayFactor[];
252 extern const char kPowerUserActivityScreenDimDelayFactor[];
253 extern const char kPowerWaitForInitialUserActivity[];
254 extern const char kPowerForceNonzeroBrightnessForUserActivity[];
255 extern const char kTermsOfServiceURL[];
256 extern const char kUsedPolicyCertificatesOnce[];
257 extern const char kAttestationEnabled[];
258 extern const char kAttestationExtensionWhitelist[];
259 extern const char kTouchHudProjectionEnabled[];
260 extern const char kOpenNetworkConfiguration[];
261 extern const char kMultiProfileNeverShowIntro[];
262 extern const char kMultiProfileWarningShowDismissed[];
263 extern const char kMultiProfileUserBehavior[];
264 extern const char kFirstRunTutorialShown[];
265 extern const char kSAMLOfflineSigninTimeLimit[];
266 extern const char kSAMLLastGAIASignInTime[];
267 extern const char kTimeOnOobe[];
268 extern const char kCurrentWallpaperAppName[];
269 extern const char kFileSystemProviderMounted[];
270 extern const char kTouchVirtualKeyboardEnabled[];
271 extern const char kWakeOnWifiSsid[];
272 extern const char kCaptivePortalAuthenticationIgnoresProxy[];
273 extern const char kForceMaximizeOnFirstRun[];
274 extern const char kPlatformKeys[];
275 #endif // defined(OS_CHROMEOS)
276 extern const char kShowHomeButton[];
277 extern const char kRecentlySelectedEncoding[];
278 extern const char kDeleteBrowsingHistory[];
279 extern const char kDeleteDownloadHistory[];
280 extern const char kDeleteCache[];
281 extern const char kDeleteCookies[];
282 extern const char kDeletePasswords[];
283 extern const char kDeleteFormData[];
284 extern const char kDeleteHostedAppsData[];
285 extern const char kDeauthorizeContentLicenses[];
286 extern const char kEnableContinuousSpellcheck[];
287 extern const char kSpeechRecognitionFilterProfanities[];
288 extern const char kEnabledLabsExperiments[];
289 extern const char kEnableAutoSpellCorrect[];
290 extern const char kSavingBrowserHistoryDisabled[];
291 extern const char kAllowDeletingBrowserHistory[];
292 extern const char kForceGoogleSafeSearch[];
293 extern const char kForceYouTubeSafetyMode[];
294 extern const char kRecordHistory[];
295 extern const char kDeleteTimePeriod[];
296 extern const char kLastClearBrowsingDataTime[];
297 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
298 extern const char kUsesSystemTheme[];
299 #endif
300 extern const char kCurrentThemePackFilename[];
301 extern const char kCurrentThemeID[];
302 extern const char kCurrentThemeImages[];
303 extern const char kCurrentThemeColors[];
304 extern const char kCurrentThemeTints[];
305 extern const char kCurrentThemeDisplayProperties[];
306 extern const char kExtensionsUIDeveloperMode[];
307 extern const char kExtensionsUIDismissedADTPromo[];
308 extern const char kExtensionCommands[];
309 extern const char kPluginsLastInternalDirectory[];
310 extern const char kPluginsPluginsList[];
311 extern const char kPluginsDisabledPlugins[];
312 extern const char kPluginsDisabledPluginsExceptions[];
313 extern const char kPluginsEnabledPlugins[];
314 extern const char kPluginsMigratedToPepperFlash[];
315 extern const char kPluginsRemovedOldComponentPepperFlashSettings[];
316 #if !defined(OS_ANDROID)
317 extern const char kPluginsShowDetails[];
318 #endif
319 extern const char kPluginsAllowOutdated[];
320 extern const char kPluginsAlwaysAuthorize[];
321 #if defined(ENABLE_PLUGIN_INSTALLATION)
322 extern const char kPluginsMetadata[];
323 extern const char kPluginsResourceCacheUpdate[];
324 #endif
325 extern const char kCheckDefaultBrowser[];
326 extern const char kDefaultBrowserSettingEnabled[];
327 #if defined(OS_MACOSX)
328 extern const char kShowUpdatePromotionInfoBar[];
329 #endif
330 extern const char kUseCustomChromeFrame[];
331 #if !defined(OS_ANDROID)
332 extern const char kContentSettingsPluginWhitelist[];
333 #endif
334 extern const char kClearSiteDataOnExit[];
335 extern const char kPartitionDefaultZoomLevel[];
336 extern const char kDefaultZoomLevelDeprecated[];
337 extern const char kPartitionPerHostZoomLevels[];
338 extern const char kPerHostZoomLevelsDeprecated[];
339 extern const char kAutofillDialogAutofillDefault[];
340 extern const char kAutofillDialogPayWithoutWallet[];
341 extern const char kAutofillDialogWalletLocationAcceptance[];
342 extern const char kAutofillDialogSaveData[];
343 extern const char kAutofillDialogWalletShippingSameAsBilling[];
344 extern const char kAutofillGeneratedCardBubbleTimesShown[];
345 #if defined(OS_ANDROID)
346 extern const char kAutofillDialogDefaults[];
347 #endif
349 #if !defined(OS_ANDROID)
350 extern const char kPinnedTabs[];
351 #endif
353 extern const char kDisable3DAPIs[];
354 extern const char kEnableDeprecatedWebPlatformFeatures[];
355 extern const char kEnableHyperlinkAuditing[];
356 extern const char kEnableReferrers[];
357 extern const char kEnableDoNotTrack[];
359 extern const char kImportAutofillFormData[];
360 extern const char kImportBookmarks[];
361 extern const char kImportHistory[];
362 extern const char kImportHomepage[];
363 extern const char kImportSavedPasswords[];
364 extern const char kImportSearchEngine[];
366 extern const char kProfileAvatarIndex[];
367 extern const char kProfileUsingDefaultName[];
368 extern const char kProfileName[];
369 extern const char kProfileUsingDefaultAvatar[];
370 extern const char kProfileUsingGAIAAvatar[];
371 extern const char kSupervisedUserId[];
373 extern const char kProfileGAIAInfoUpdateTime[];
374 extern const char kProfileGAIAInfoPictureURL[];
376 extern const char kProfileAvatarTutorialShown[];
377 extern const char kProfileAvatarRightClickTutorialDismissed[];
379 extern const char kInvertNotificationShown[];
381 extern const char kPrintingEnabled[];
382 extern const char kPrintPreviewDisabled[];
384 extern const char kDefaultSupervisedUserFilteringBehavior[];
386 extern const char kSupervisedUserCreationAllowed[];
387 extern const char kSupervisedUsers[];
389 extern const char kProfileResetPromptMementoInProfilePrefs[];
391 extern const char kMessageCenterDisabledExtensionIds[];
392 extern const char kMessageCenterDisabledSystemComponentIds[];
393 extern const char kWelcomeNotificationDismissed[];
394 extern const char kWelcomeNotificationDismissedLocal[];
395 extern const char kWelcomeNotificationPreviouslyPoppedUp[];
396 extern const char kWelcomeNotificationExpirationTimestamp[];
398 extern const char kFullscreenAllowed[];
400 extern const char kLocalDiscoveryNotificationsEnabled[];
402 extern const char kPreferenceResetTime[];
404 extern const char kPushMessagingRegistrationCount[];
405 extern const char kPushMessagingAppIdentifierMap[];
407 extern const char kEasyUnlockAllowed[];
408 extern const char kEasyUnlockEnabled[];
409 extern const char kEasyUnlockPairing[];
410 extern const char kEasyUnlockProximityRequired[];
412 #if defined(ENABLE_EXTENSIONS) && !defined(OS_ANDROID) && !defined(OS_IOS)
413 extern const char kCopresenceAuthenticatedDeviceId[];
414 extern const char kCopresenceAnonymousDeviceId[];
415 extern const char kToolbarIconSurfacingBubbleAcknowledged[];
416 extern const char kToolbarIconSurfacingBubbleLastShowTime[];
417 #endif
419 #if defined(ENABLE_WEBRTC)
420 extern const char kWebRTCMultipleRoutesEnabled[];
421 #endif
423 // Local state prefs. Please add Profile prefs above instead.
424 extern const char kCertRevocationCheckingEnabled[];
425 extern const char kCertRevocationCheckingRequiredLocalAnchors[];
426 extern const char kSSLVersionMin[];
427 extern const char kSSLVersionMax[];
428 extern const char kSSLVersionFallbackMin[];
429 extern const char kCipherSuiteBlacklist[];
430 extern const char kDisableSSLRecordSplitting[];
432 extern const char kGLVendorString[];
433 extern const char kGLRendererString[];
434 extern const char kGLVersionString[];
436 extern const char kMetricsReportingEnabled[];
438 // Android has it's own metric / crash reporting implemented in Android
439 // Java code so kMetricsReportingEnabled doesn't make sense. We use this
440 // to inform crashes_ui that we have enabled crash reporting.
441 #if defined(OS_ANDROID)
442 extern const char kCrashReportingEnabled[];
443 #endif
445 extern const char kVariationsCompressedSeed[];
446 extern const char kVariationsLastFetchTime[];
447 extern const char kVariationsPermanentConsistencyCountry[];
448 extern const char kVariationsRestrictParameter[];
449 extern const char kVariationsSeed[];
450 extern const char kVariationsSeedDate[];
451 extern const char kVariationsSeedSignature[];
453 extern const char kDeviceOpenNetworkConfiguration[];
455 extern const char kProfileLastUsed[];
456 extern const char kProfilesLastActive[];
457 extern const char kProfilesNumCreated[];
458 extern const char kProfileInfoCache[];
459 extern const char kProfileCreatedByVersion[];
460 extern const char kProfileResetPromptMementosInLocalState[];
462 extern const char kStabilityPageLoadCount[];
463 extern const char kStabilityRendererCrashCount[];
464 extern const char kStabilityExtensionRendererCrashCount[];
465 extern const char kStabilityRendererHangCount[];
466 extern const char kStabilityChildProcessCrashCount[];
467 extern const char kStabilityOtherUserCrashCount[];
468 extern const char kStabilityKernelCrashCount[];
469 extern const char kStabilitySystemUncleanShutdownCount[];
470 #if defined(OS_ANDROID)
471 extern const char kStabilityForegroundActivityType[];
472 extern const char kStabilityLaunchedActivityFlags[];
473 extern const char kStabilityLaunchedActivityCounts[];
474 extern const char kStabilityCrashedActivityCounts[];
475 #endif
477 extern const char kStabilityPluginStats[];
478 extern const char kStabilityPluginName[];
479 extern const char kStabilityPluginLaunches[];
480 extern const char kStabilityPluginInstances[];
481 extern const char kStabilityPluginCrashes[];
482 extern const char kStabilityPluginLoadingErrors[];
484 extern const char kUninstallMetricsPageLoadCount[];
485 extern const char kUninstallLastLaunchTimeSec[];
486 extern const char kUninstallLastObservedRunTimeSec[];
488 extern const char kBrowserSuppressDefaultBrowserPrompt[];
490 extern const char kBrowserWindowPlacement[];
491 extern const char kBrowserWindowPlacementPopup[];
492 extern const char kTaskManagerWindowPlacement[];
493 extern const char kAppWindowPlacement[];
495 extern const char kDownloadDefaultDirectory[];
496 extern const char kDownloadExtensionsToOpen[];
497 extern const char kDownloadDirUpgraded[];
498 #if defined(OS_WIN) || defined(OS_LINUX) || \
499 (defined(OS_MACOSX) && !defined(OS_IOS))
500 extern const char kOpenPdfDownloadInSystemReader[];
501 #endif
503 extern const char kSaveFileDefaultDirectory[];
504 extern const char kSaveFileType[];
506 extern const char kAllowFileSelectionDialogs[];
507 extern const char kDefaultTasksByMimeType[];
508 extern const char kDefaultTasksBySuffix[];
510 extern const char kSelectFileLastDirectory[];
512 extern const char kHungPluginDetectFrequency[];
513 extern const char kPluginMessageResponseTimeout[];
515 extern const char kSpellCheckDictionaries[];
516 extern const char kSpellCheckDictionary[];
517 extern const char kSpellCheckUseSpellingService[];
519 extern const char kExcludedSchemes[];
521 extern const char kOptionsWindowLastTabIndex[];
522 extern const char kShowFirstRunBubbleOption[];
524 extern const char kLastKnownIntranetRedirectOrigin[];
526 extern const char kShutdownType[];
527 extern const char kShutdownNumProcesses[];
528 extern const char kShutdownNumProcessesSlow[];
530 extern const char kRestartLastSessionOnShutdown[];
531 extern const char kWasRestarted[];
532 #if defined(OS_WIN)
533 extern const char kRelaunchMode[];
534 #endif
536 extern const char kDisableExtensions[];
537 extern const char kDisablePluginFinder[];
539 extern const char kNtpAppPageNames[];
540 #if defined(OS_ANDROID)
541 extern const char kNtpCollapsedCurrentlyOpenTabs[];
542 #endif
543 extern const char kNtpCollapsedForeignSessions[];
544 #if defined(OS_ANDROID)
545 extern const char kNtpCollapsedRecentlyClosedTabs[];
546 extern const char kNtpCollapsedSnapshotDocument[];
547 extern const char kNtpCollapsedSyncPromo[];
548 #endif
549 extern const char kNtpShownPage[];
551 extern const char kDevToolsAdbKey[];
552 extern const char kDevToolsDisabled[];
553 extern const char kDevToolsDiscoverUsbDevicesEnabled[];
554 extern const char kDevToolsEditedFiles[];
555 extern const char kDevToolsFileSystemPaths[];
556 extern const char kDevToolsPortForwardingEnabled[];
557 extern const char kDevToolsPortForwardingDefaultSet[];
558 extern const char kDevToolsPortForwardingConfig[];
559 extern const char kDevToolsPreferences[];
560 #if defined(OS_ANDROID)
561 extern const char kDevToolsRemoteEnabled[];
562 #endif
564 extern const char kGoogleServicesPasswordHash[];
566 extern const char kInvalidationServiceUseGCMChannel[];
568 #if !defined(OS_ANDROID) && !defined(OS_IOS)
569 extern const char kSignInPromoStartupCount[];
570 extern const char kSignInPromoUserSkipped[];
571 extern const char kSignInPromoShowOnFirstRunAllowed[];
572 extern const char kSignInPromoShowNTPBubble[];
573 #endif
575 #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) && !defined(OS_IOS)
576 extern const char kCrossDevicePromoOptedOut[];
577 extern const char kCrossDevicePromoShouldBeShown[];
578 extern const char kCrossDevicePromoObservedSingleAccountCookie[];
579 extern const char kCrossDevicePromoNextFetchListDevicesTime[];
580 extern const char kCrossDevicePromoNumDevices[];
581 extern const char kCrossDevicePromoLastDeviceActiveTime[];
582 #endif
584 extern const char kWebAppCreateOnDesktop[];
585 extern const char kWebAppCreateInAppsMenu[];
586 extern const char kWebAppCreateInQuickLaunchBar[];
588 extern const char kGeolocationAccessToken[];
589 #if defined(OS_ANDROID)
590 extern const char kGeolocationEnabled[];
591 #endif
593 #if defined(ENABLE_GOOGLE_NOW)
594 extern const char kGoogleGeolocationAccessEnabled[];
595 #endif
596 extern const char kGoogleNowLauncherEnabled[];
598 extern const char kDefaultAudioCaptureDevice[];
599 extern const char kDefaultVideoCaptureDevice[];
600 extern const char kMediaDeviceIdSalt[];
602 extern const char kPrintPreviewStickySettings[];
603 extern const char kCloudPrintRoot[];
604 extern const char kCloudPrintProxyEnabled[];
605 extern const char kCloudPrintProxyId[];
606 extern const char kCloudPrintAuthToken[];
607 extern const char kCloudPrintEmail[];
608 extern const char kCloudPrintPrintSystemSettings[];
609 extern const char kCloudPrintEnableJobPoll[];
610 extern const char kCloudPrintRobotRefreshToken[];
611 extern const char kCloudPrintRobotEmail[];
612 extern const char kCloudPrintConnectNewPrinters[];
613 extern const char kCloudPrintXmppPingEnabled[];
614 extern const char kCloudPrintXmppPingTimeout[];
615 extern const char kCloudPrintPrinters[];
616 extern const char kCloudPrintSubmitEnabled[];
617 extern const char kCloudPrintUserSettings[];
619 extern const char kProxy[];
620 extern const char kMaxConnectionsPerProxy[];
622 extern const char kAudioCaptureAllowed[];
623 extern const char kAudioCaptureAllowedUrls[];
624 extern const char kVideoCaptureAllowed[];
625 extern const char kVideoCaptureAllowedUrls[];
627 extern const char kHotwordSearchEnabled[];
628 extern const char kHotwordAlwaysOnSearchEnabled[];
629 extern const char kHotwordAlwaysOnNotificationSeen[];
630 extern const char kHotwordAudioLoggingEnabled[];
631 extern const char kHotwordPreviousLanguage[];
633 #if defined(OS_ANDROID)
634 extern const char kProtectedMediaIdentifierEnabled[];
635 #endif
637 #if defined(OS_CHROMEOS)
638 extern const char kDeviceSettingsCache[];
639 extern const char kHardwareKeyboardLayout[];
640 extern const char kCarrierDealPromoShown[];
641 extern const char kShouldAutoEnroll[];
642 extern const char kAutoEnrollmentPowerLimit[];
643 extern const char kDeviceActivityTimes[];
644 extern const char kDeviceLocation[];
645 extern const char kExternalStorageDisabled[];
646 extern const char kOwnerPrimaryMouseButtonRight[];
647 extern const char kOwnerTapToClickEnabled[];
648 extern const char kUptimeLimit[];
649 extern const char kRebootAfterUpdate[];
650 extern const char kDeviceRobotAnyApiRefreshToken[];
651 extern const char kDeviceEnrollmentRequisition[];
652 extern const char kDeviceEnrollmentAutoStart[];
653 extern const char kDeviceEnrollmentCanExit[];
654 extern const char kTimesHIDDialogShown[];
655 extern const char kUsersLRUInputMethod[];
656 extern const char kEchoCheckedOffers[];
657 extern const char kCachedMultiProfileUserBehavior[];
658 extern const char kInitialLocale[];
659 extern const char kOobeComplete[];
660 extern const char kOobeScreenPending[];
661 extern const char kDeviceRegistered[];
662 extern const char kEnrollmentRecoveryRequired[];
663 extern const char kUsedPolicyCertificates[];
664 extern const char kServerBackedDeviceState[];
665 extern const char kCustomizationDefaultWallpaperURL[];
666 extern const char kLogoutStartedLast[];
667 extern const char kConsumerManagementStage[];
668 extern const char kWebviewSigninDisabled[];
669 extern const char kNewLoginUIPopup[];
670 #endif // defined(OS_CHROMEOS)
672 extern const char kClearPluginLSODataEnabled[];
673 extern const char kPepperFlashSettingsEnabled[];
674 extern const char kDiskCacheDir[];
675 extern const char kDiskCacheSize[];
676 extern const char kMediaCacheSize[];
678 extern const char kChromeOsReleaseChannel[];
680 extern const char kPerformanceTracingEnabled[];
682 extern const char kTabStripStackedLayout[];
684 extern const char kRegisteredBackgroundContents[];
686 #if defined(OS_WIN)
687 extern const char kLastWelcomedOSVersion[];
688 extern const char kShownAutoLaunchInfobar[];
689 extern const char kWelcomePageOnOSUpgradeEnabled[];
690 #endif
692 extern const char kAuthSchemes[];
693 extern const char kDisableAuthNegotiateCnameLookup[];
694 extern const char kEnableAuthNegotiatePort[];
695 extern const char kAuthServerWhitelist[];
696 extern const char kAuthNegotiateDelegateWhitelist[];
697 extern const char kGSSAPILibraryName[];
698 extern const char kAuthAndroidNegotiateAccountType[];
699 extern const char kAllowCrossOriginAuthPrompt[];
701 extern const char kBuiltInDnsClientEnabled[];
703 extern const char kRegisteredProtocolHandlers[];
704 extern const char kIgnoredProtocolHandlers[];
705 extern const char kPolicyRegisteredProtocolHandlers[];
706 extern const char kPolicyIgnoredProtocolHandlers[];
707 extern const char kCustomHandlersEnabled[];
709 #if defined(OS_MACOSX)
710 extern const char kUserRemovedLoginItem[];
711 extern const char kChromeCreatedLoginItem[];
712 extern const char kMigratedLoginItemPref[];
713 extern const char kNotifyWhenAppsKeepChromeAlive[];
714 #endif
716 extern const char kBackgroundModeEnabled[];
717 extern const char kHardwareAccelerationModeEnabled[];
718 extern const char kHardwareAccelerationModePrevious[];
720 extern const char kDevicePolicyRefreshRate[];
722 extern const char kFactoryResetRequested[];
723 extern const char kDebuggingFeaturesRequested[];
725 extern const char kMessageCenterShowedFirstRunBalloon[];
726 extern const char kMessageCenterShowIcon[];
727 extern const char kMessageCenterForcedOnTaskbar[];
729 #if defined(OS_CHROMEOS)
730 extern const char kResolveDeviceTimezoneByGeolocation[];
731 #endif // defined(OS_CHROMEOS)
733 extern const char kAttemptedToEnableAutoupdate[];
735 extern const char kMediaGalleriesUniqueId[];
736 extern const char kMediaGalleriesRememberedGalleries[];
737 extern const char kMediaGalleriesLastScanTime[];
739 #if defined(USE_ASH)
740 extern const char kShelfAlignment[];
741 extern const char kShelfAlignmentLocal[];
742 extern const char kShelfAutoHideBehavior[];
743 extern const char kShelfAutoHideBehaviorLocal[];
744 extern const char kShelfChromeIconIndex[];
745 extern const char kShelfPreferences[];
747 extern const char kLogoutDialogDurationMs[];
748 extern const char kPinnedLauncherApps[];
749 extern const char kShowLogoutButtonInTray[];
750 #endif
752 #if defined(USE_AURA)
753 extern const char kMaxSeparationForGestureTouchesInPixels[];
754 extern const char kSemiLongPressTimeInMs[];
755 extern const char kTabScrubActivationDelayInMs[];
756 extern const char kFlingMaxCancelToDownTimeInMs[];
757 extern const char kFlingMaxTapGapTimeInMs[];
758 extern const char kOverscrollHorizontalThresholdComplete[];
759 extern const char kOverscrollVerticalThresholdComplete[];
760 extern const char kOverscrollMinimumThresholdStart[];
761 extern const char kOverscrollMinimumThresholdStartTouchpad[];
762 extern const char kOverscrollVerticalThresholdStart[];
763 extern const char kOverscrollHorizontalResistThreshold[];
764 extern const char kOverscrollVerticalResistThreshold[];
765 #endif
767 #if defined(OS_WIN)
768 extern const char kNetworkProfileWarningsLeft[];
769 extern const char kNetworkProfileLastWarningTime[];
770 #endif
772 #if defined(OS_CHROMEOS)
773 extern const char kRLZBrand[];
774 extern const char kRLZDisabled[];
775 #endif
777 #if defined(ENABLE_APP_LIST)
778 extern const char kAppListProfile[];
779 extern const char kLastAppListLaunchPing[];
780 extern const char kAppListLaunchCount[];
781 extern const char kLastAppListAppLaunchPing[];
782 extern const char kAppListAppLaunchCount[];
783 extern const char kAppLauncherHasBeenEnabled[];
784 extern const char kAppListEnableMethod[];
785 extern const char kAppListEnableTime[];
786 extern const char kAppListLastLaunchTime[];
787 #if defined(OS_MACOSX)
788 extern const char kAppLauncherShortcutVersion[];
789 #endif
790 extern const char kShowAppLauncherPromo[];
791 extern const char kAppLauncherDriveAppMapping[];
792 extern const char kAppLauncherUninstalledDriveApps[];
793 #endif // defined(ENABLE_APP_LIST)
795 #if defined(OS_WIN)
796 extern const char kAppLaunchForMetroRestart[];
797 extern const char kAppLaunchForMetroRestartProfile[];
798 #endif
799 extern const char kAppShortcutsVersion[];
801 extern const char kModuleConflictBubbleShown[];
803 extern const char kDRMSalt[];
804 extern const char kEnableDRM[];
806 extern const char kWatchdogExtensionActive[];
808 #if defined(OS_ANDROID)
809 extern const char kPartnerBookmarkMappings[];
810 #endif
812 extern const char kQuickCheckEnabled[];
813 extern const char kBrowserGuestModeEnabled[];
814 extern const char kBrowserAddPersonEnabled[];
816 extern const char kEasyUnlockDeviceId[];
817 extern const char kEasyUnlockHardlockState[];
818 extern const char kEasyUnlockLocalStateTpmKeys[];
819 extern const char kEasyUnlockLocalStateUserPrefs[];
821 extern const char kRecoveryComponentNeedsElevation[];
823 extern const char kRegisteredSupervisedUserWhitelists[];
825 #if defined(ENABLE_EXTENSIONS)
826 extern const char kAnimationPolicy[];
827 #endif
829 extern const char kBackgroundTracingLastUpload[];
831 } // namespace prefs
833 #endif // CHROME_COMMON_PREF_NAMES_H_