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> |
11 | 11 |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 #include "chrome/common/features.h" | 13 #include "chrome/common/features.h" |
14 #include "extensions/features/features.h" | 14 #include "extensions/features/features.h" |
| 15 #include "ppapi/features/features.h" |
15 | 16 |
16 namespace prefs { | 17 namespace prefs { |
17 | 18 |
18 // Profile prefs. Please add Local State prefs below instead. | 19 // Profile prefs. Please add Local State prefs below instead. |
19 #if defined(OS_CHROMEOS) && BUILDFLAG(ENABLE_APP_LIST) | 20 #if defined(OS_CHROMEOS) && BUILDFLAG(ENABLE_APP_LIST) |
20 extern const char kArcApps[]; | 21 extern const char kArcApps[]; |
21 extern const char kArcBackupRestoreEnabled[]; | 22 extern const char kArcBackupRestoreEnabled[]; |
22 extern const char kArcEnabled[]; | 23 extern const char kArcEnabled[]; |
23 extern const char kArcPolicyCompliant[]; | 24 extern const char kArcPolicyCompliant[]; |
24 extern const char kArcTermsAccepted[]; | 25 extern const char kArcTermsAccepted[]; |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 extern const char kCurrentThemeDisplayProperties[]; | 333 extern const char kCurrentThemeDisplayProperties[]; |
333 extern const char kExtensionsUIDeveloperMode[]; | 334 extern const char kExtensionsUIDeveloperMode[]; |
334 extern const char kExtensionsUIDismissedADTPromo[]; | 335 extern const char kExtensionsUIDismissedADTPromo[]; |
335 extern const char kExtensionCommands[]; | 336 extern const char kExtensionCommands[]; |
336 extern const char kPluginsLastInternalDirectory[]; | 337 extern const char kPluginsLastInternalDirectory[]; |
337 extern const char kPluginsPluginsList[]; | 338 extern const char kPluginsPluginsList[]; |
338 extern const char kPluginsDisabledPlugins[]; | 339 extern const char kPluginsDisabledPlugins[]; |
339 extern const char kPluginsDisabledPluginsExceptions[]; | 340 extern const char kPluginsDisabledPluginsExceptions[]; |
340 extern const char kPluginsEnabledPlugins[]; | 341 extern const char kPluginsEnabledPlugins[]; |
341 extern const char kPluginsAlwaysOpenPdfExternally[]; | 342 extern const char kPluginsAlwaysOpenPdfExternally[]; |
342 #if defined(ENABLE_PLUGINS) | 343 #if BUILDFLAG(ENABLE_PLUGINS) |
343 extern const char kPluginsShowDetails[]; | 344 extern const char kPluginsShowDetails[]; |
344 #endif | 345 #endif |
345 extern const char kPluginsAllowOutdated[]; | 346 extern const char kPluginsAllowOutdated[]; |
346 extern const char kPluginsAlwaysAuthorize[]; | 347 extern const char kPluginsAlwaysAuthorize[]; |
347 #if BUILDFLAG(ENABLE_PLUGIN_INSTALLATION) | 348 #if BUILDFLAG(ENABLE_PLUGIN_INSTALLATION) |
348 extern const char kPluginsMetadata[]; | 349 extern const char kPluginsMetadata[]; |
349 extern const char kPluginsResourceCacheUpdate[]; | 350 extern const char kPluginsResourceCacheUpdate[]; |
350 #endif | 351 #endif |
351 extern const char kDefaultBrowserLastDeclined[]; | 352 extern const char kDefaultBrowserLastDeclined[]; |
352 extern const char kResetCheckDefaultBrowser[]; | 353 extern const char kResetCheckDefaultBrowser[]; |
353 extern const char kDefaultBrowserSettingEnabled[]; | 354 extern const char kDefaultBrowserSettingEnabled[]; |
354 #if defined(OS_MACOSX) | 355 #if defined(OS_MACOSX) |
355 extern const char kShowUpdatePromotionInfoBar[]; | 356 extern const char kShowUpdatePromotionInfoBar[]; |
356 #endif | 357 #endif |
357 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) | 358 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) |
358 extern const char kUseCustomChromeFrame[]; | 359 extern const char kUseCustomChromeFrame[]; |
359 #endif | 360 #endif |
360 extern const char kBackShortcutBubbleShownCount[]; | 361 extern const char kBackShortcutBubbleShownCount[]; |
361 #if defined(ENABLE_PLUGINS) | 362 #if BUILDFLAG(ENABLE_PLUGINS) |
362 extern const char kContentSettingsPluginWhitelist[]; | 363 extern const char kContentSettingsPluginWhitelist[]; |
363 #endif | 364 #endif |
364 extern const char kPartitionDefaultZoomLevel[]; | 365 extern const char kPartitionDefaultZoomLevel[]; |
365 extern const char kPartitionPerHostZoomLevels[]; | 366 extern const char kPartitionPerHostZoomLevels[]; |
366 | 367 |
367 #if !defined(OS_ANDROID) | 368 #if !defined(OS_ANDROID) |
368 extern const char kPinnedTabs[]; | 369 extern const char kPinnedTabs[]; |
369 #endif | 370 #endif |
370 | 371 |
371 extern const char kDisable3DAPIs[]; | 372 extern const char kDisable3DAPIs[]; |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
845 | 846 |
846 #if defined(OS_ANDROID) | 847 #if defined(OS_ANDROID) |
847 extern const char kSearchGeolocationDisclosureDismissed[]; | 848 extern const char kSearchGeolocationDisclosureDismissed[]; |
848 extern const char kSearchGeolocationDisclosureShownCount[]; | 849 extern const char kSearchGeolocationDisclosureShownCount[]; |
849 extern const char kSearchGeolocationDisclosureLastShowDate[]; | 850 extern const char kSearchGeolocationDisclosureLastShowDate[]; |
850 #endif | 851 #endif |
851 | 852 |
852 } // namespace prefs | 853 } // namespace prefs |
853 | 854 |
854 #endif // CHROME_COMMON_PREF_NAMES_H_ | 855 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |