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 // Constants for the names of various preferences, for easier changing. | 5 // Constants for the names of various preferences, for easier changing. |
6 | 6 |
7 #ifndef CHROME_COMMON_PREF_NAMES_H_ | 7 #ifndef CHROME_COMMON_PREF_NAMES_H_ |
8 #define CHROME_COMMON_PREF_NAMES_H_ | 8 #define CHROME_COMMON_PREF_NAMES_H_ |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 extern const char kCurrentThemeDisplayProperties[]; | 306 extern const char kCurrentThemeDisplayProperties[]; |
307 extern const char kExtensionsUIDeveloperMode[]; | 307 extern const char kExtensionsUIDeveloperMode[]; |
308 extern const char kExtensionsUIDismissedADTPromo[]; | 308 extern const char kExtensionsUIDismissedADTPromo[]; |
309 extern const char kExtensionCommands[]; | 309 extern const char kExtensionCommands[]; |
310 extern const char kPluginsLastInternalDirectory[]; | 310 extern const char kPluginsLastInternalDirectory[]; |
311 extern const char kPluginsPluginsList[]; | 311 extern const char kPluginsPluginsList[]; |
312 extern const char kPluginsDisabledPlugins[]; | 312 extern const char kPluginsDisabledPlugins[]; |
313 extern const char kPluginsDisabledPluginsExceptions[]; | 313 extern const char kPluginsDisabledPluginsExceptions[]; |
314 extern const char kPluginsEnabledPlugins[]; | 314 extern const char kPluginsEnabledPlugins[]; |
315 extern const char kNpapiFlashMigratedToPepperFlash[]; | 315 extern const char kNpapiFlashMigratedToPepperFlash[]; |
316 #if !defined(OS_ANDROID) | |
317 extern const char kPluginsShowDetails[]; | 316 extern const char kPluginsShowDetails[]; |
318 #endif | |
319 extern const char kPluginsAllowOutdated[]; | 317 extern const char kPluginsAllowOutdated[]; |
320 extern const char kPluginsAlwaysAuthorize[]; | 318 extern const char kPluginsAlwaysAuthorize[]; |
321 #if defined(ENABLE_PLUGIN_INSTALLATION) | 319 #if defined(ENABLE_PLUGIN_INSTALLATION) |
322 extern const char kPluginsMetadata[]; | 320 extern const char kPluginsMetadata[]; |
323 extern const char kPluginsResourceCacheUpdate[]; | 321 extern const char kPluginsResourceCacheUpdate[]; |
324 #endif | 322 #endif |
325 extern const char kCheckDefaultBrowser[]; | 323 extern const char kCheckDefaultBrowser[]; |
326 extern const char kDefaultBrowserSettingEnabled[]; | 324 extern const char kDefaultBrowserSettingEnabled[]; |
327 #if defined(OS_MACOSX) | 325 #if defined(OS_MACOSX) |
328 extern const char kShowUpdatePromotionInfoBar[]; | 326 extern const char kShowUpdatePromotionInfoBar[]; |
329 #endif | 327 #endif |
330 extern const char kUseCustomChromeFrame[]; | 328 extern const char kUseCustomChromeFrame[]; |
331 #if !defined(OS_ANDROID) | |
332 extern const char kContentSettingsPluginWhitelist[]; | 329 extern const char kContentSettingsPluginWhitelist[]; |
333 #endif | |
334 extern const char kClearSiteDataOnExit[]; | 330 extern const char kClearSiteDataOnExit[]; |
335 extern const char kPartitionDefaultZoomLevel[]; | 331 extern const char kPartitionDefaultZoomLevel[]; |
336 extern const char kDefaultZoomLevelDeprecated[]; | 332 extern const char kDefaultZoomLevelDeprecated[]; |
337 extern const char kPartitionPerHostZoomLevels[]; | 333 extern const char kPartitionPerHostZoomLevels[]; |
338 extern const char kPerHostZoomLevelsDeprecated[]; | 334 extern const char kPerHostZoomLevelsDeprecated[]; |
339 extern const char kAutofillDialogAutofillDefault[]; | 335 extern const char kAutofillDialogAutofillDefault[]; |
340 extern const char kAutofillDialogPayWithoutWallet[]; | 336 extern const char kAutofillDialogPayWithoutWallet[]; |
341 extern const char kAutofillDialogWalletLocationAcceptance[]; | 337 extern const char kAutofillDialogWalletLocationAcceptance[]; |
342 extern const char kAutofillDialogSaveData[]; | 338 extern const char kAutofillDialogSaveData[]; |
343 extern const char kAutofillDialogWalletShippingSameAsBilling[]; | 339 extern const char kAutofillDialogWalletShippingSameAsBilling[]; |
344 extern const char kAutofillGeneratedCardBubbleTimesShown[]; | 340 extern const char kAutofillGeneratedCardBubbleTimesShown[]; |
345 #if defined(OS_ANDROID) | 341 #if defined(OS_ANDROID) |
346 extern const char kAutofillDialogDefaults[]; | 342 extern const char kAutofillDialogDefaults[]; |
347 #endif | 343 #endif |
348 | 344 |
349 #if !defined(OS_ANDROID) | |
350 extern const char kPinnedTabs[]; | 345 extern const char kPinnedTabs[]; |
351 #endif | |
352 | 346 |
353 extern const char kDisable3DAPIs[]; | 347 extern const char kDisable3DAPIs[]; |
354 extern const char kEnableDeprecatedWebPlatformFeatures[]; | 348 extern const char kEnableDeprecatedWebPlatformFeatures[]; |
355 extern const char kEnableHyperlinkAuditing[]; | 349 extern const char kEnableHyperlinkAuditing[]; |
356 extern const char kEnableReferrers[]; | 350 extern const char kEnableReferrers[]; |
357 extern const char kEnableDoNotTrack[]; | 351 extern const char kEnableDoNotTrack[]; |
358 | 352 |
359 extern const char kImportAutofillFormData[]; | 353 extern const char kImportAutofillFormData[]; |
360 extern const char kImportBookmarks[]; | 354 extern const char kImportBookmarks[]; |
361 extern const char kImportHistory[]; | 355 extern const char kImportHistory[]; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 extern const char kLocalDiscoveryNotificationsEnabled[]; | 394 extern const char kLocalDiscoveryNotificationsEnabled[]; |
401 | 395 |
402 extern const char kPushMessagingRegistrationCount[]; | 396 extern const char kPushMessagingRegistrationCount[]; |
403 extern const char kPushMessagingAppIdentifierMap[]; | 397 extern const char kPushMessagingAppIdentifierMap[]; |
404 | 398 |
405 extern const char kEasyUnlockAllowed[]; | 399 extern const char kEasyUnlockAllowed[]; |
406 extern const char kEasyUnlockEnabled[]; | 400 extern const char kEasyUnlockEnabled[]; |
407 extern const char kEasyUnlockPairing[]; | 401 extern const char kEasyUnlockPairing[]; |
408 extern const char kEasyUnlockProximityRequired[]; | 402 extern const char kEasyUnlockProximityRequired[]; |
409 | 403 |
410 #if defined(ENABLE_EXTENSIONS) && !defined(OS_ANDROID) && !defined(OS_IOS) | 404 #if defined(ENABLE_EXTENSIONS) && !defined(OS_IOS) |
411 extern const char kCopresenceAuthenticatedDeviceId[]; | 405 extern const char kCopresenceAuthenticatedDeviceId[]; |
412 extern const char kCopresenceAnonymousDeviceId[]; | 406 extern const char kCopresenceAnonymousDeviceId[]; |
413 extern const char kToolbarIconSurfacingBubbleAcknowledged[]; | 407 extern const char kToolbarIconSurfacingBubbleAcknowledged[]; |
414 extern const char kToolbarIconSurfacingBubbleLastShowTime[]; | 408 extern const char kToolbarIconSurfacingBubbleLastShowTime[]; |
415 #endif | 409 #endif |
416 | 410 |
417 #if defined(ENABLE_WEBRTC) | 411 #if defined(ENABLE_WEBRTC) |
418 extern const char kWebRTCMultipleRoutesEnabled[]; | 412 extern const char kWebRTCMultipleRoutesEnabled[]; |
419 #endif | 413 #endif |
420 | 414 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
557 extern const char kDevToolsPortForwardingConfig[]; | 551 extern const char kDevToolsPortForwardingConfig[]; |
558 extern const char kDevToolsPreferences[]; | 552 extern const char kDevToolsPreferences[]; |
559 #if defined(OS_ANDROID) | 553 #if defined(OS_ANDROID) |
560 extern const char kDevToolsRemoteEnabled[]; | 554 extern const char kDevToolsRemoteEnabled[]; |
561 #endif | 555 #endif |
562 | 556 |
563 extern const char kGoogleServicesPasswordHash[]; | 557 extern const char kGoogleServicesPasswordHash[]; |
564 | 558 |
565 extern const char kInvalidationServiceUseGCMChannel[]; | 559 extern const char kInvalidationServiceUseGCMChannel[]; |
566 | 560 |
567 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 561 #if !defined(OS_IOS) |
568 extern const char kSignInPromoStartupCount[]; | 562 extern const char kSignInPromoStartupCount[]; |
569 extern const char kSignInPromoUserSkipped[]; | 563 extern const char kSignInPromoUserSkipped[]; |
570 extern const char kSignInPromoShowOnFirstRunAllowed[]; | 564 extern const char kSignInPromoShowOnFirstRunAllowed[]; |
571 extern const char kSignInPromoShowNTPBubble[]; | 565 extern const char kSignInPromoShowNTPBubble[]; |
572 #endif | 566 #endif |
573 | 567 |
574 #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) && !defined(OS_IOS) | 568 #if (!defined(OS_CHROMEOS) && !defined(OS_ANDROID) && !defined(OS_IOS)) || (defi
ned(OS_ANDROID) && defined(USE_AURA)) |
575 extern const char kCrossDevicePromoOptedOut[]; | 569 extern const char kCrossDevicePromoOptedOut[]; |
576 extern const char kCrossDevicePromoShouldBeShown[]; | 570 extern const char kCrossDevicePromoShouldBeShown[]; |
577 extern const char kCrossDevicePromoObservedSingleAccountCookie[]; | 571 extern const char kCrossDevicePromoObservedSingleAccountCookie[]; |
578 extern const char kCrossDevicePromoNextFetchListDevicesTime[]; | 572 extern const char kCrossDevicePromoNextFetchListDevicesTime[]; |
579 extern const char kCrossDevicePromoNumDevices[]; | 573 extern const char kCrossDevicePromoNumDevices[]; |
580 extern const char kCrossDevicePromoLastDeviceActiveTime[]; | 574 extern const char kCrossDevicePromoLastDeviceActiveTime[]; |
581 #endif | 575 #endif |
582 | 576 |
583 extern const char kWebAppCreateOnDesktop[]; | 577 extern const char kWebAppCreateOnDesktop[]; |
584 extern const char kWebAppCreateInAppsMenu[]; | 578 extern const char kWebAppCreateInAppsMenu[]; |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
821 | 815 |
822 #if defined(ENABLE_EXTENSIONS) | 816 #if defined(ENABLE_EXTENSIONS) |
823 extern const char kAnimationPolicy[]; | 817 extern const char kAnimationPolicy[]; |
824 #endif | 818 #endif |
825 | 819 |
826 extern const char kBackgroundTracingLastUpload[]; | 820 extern const char kBackgroundTracingLastUpload[]; |
827 | 821 |
828 } // namespace prefs | 822 } // namespace prefs |
829 | 823 |
830 #endif // CHROME_COMMON_PREF_NAMES_H_ | 824 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |