Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: chrome/common/pref_names.cc

Issue 1391893003: NOT FOR REVIEW: Aura on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 894 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 905
906 // List pref containing names of plugins that are enabled by policy. 906 // List pref containing names of plugins that are enabled by policy.
907 const char kPluginsEnabledPlugins[] = "plugins.plugins_enabled"; 907 const char kPluginsEnabledPlugins[] = "plugins.plugins_enabled";
908 908
909 // When bundled NPAPI Flash is removed, if at that point it is enabled while 909 // When bundled NPAPI Flash is removed, if at that point it is enabled while
910 // Pepper Flash is disabled, we would like to turn on Pepper Flash. And we will 910 // Pepper Flash is disabled, we would like to turn on Pepper Flash. And we will
911 // want to do so in M45, once, for realz. 911 // want to do so in M45, once, for realz.
912 const char kNpapiFlashMigratedToPepperFlash[] = 912 const char kNpapiFlashMigratedToPepperFlash[] =
913 "plugins.npapi_flash_migrated_to_pepper_flash"; 913 "plugins.npapi_flash_migrated_to_pepper_flash";
914 914
915 #if !defined(OS_ANDROID)
916 // Whether about:plugins is shown in the details mode or not. 915 // Whether about:plugins is shown in the details mode or not.
917 const char kPluginsShowDetails[] = "plugins.show_details"; 916 const char kPluginsShowDetails[] = "plugins.show_details";
918 #endif
919 917
920 // Boolean that indicates whether outdated plugins are allowed or not. 918 // Boolean that indicates whether outdated plugins are allowed or not.
921 const char kPluginsAllowOutdated[] = "plugins.allow_outdated"; 919 const char kPluginsAllowOutdated[] = "plugins.allow_outdated";
922 920
923 // Boolean that indicates whether plugins that require authorization should 921 // Boolean that indicates whether plugins that require authorization should
924 // be always allowed or not. 922 // be always allowed or not.
925 const char kPluginsAlwaysAuthorize[] = "plugins.always_authorize"; 923 const char kPluginsAlwaysAuthorize[] = "plugins.always_authorize";
926 924
927 #if defined(ENABLE_PLUGIN_INSTALLATION) 925 #if defined(ENABLE_PLUGIN_INSTALLATION)
928 // Dictionary holding plugins metadata. 926 // Dictionary holding plugins metadata.
(...skipping 17 matching lines...) Expand all
946 // asking the user to set up automatic updates when Keystone promotion is 944 // asking the user to set up automatic updates when Keystone promotion is
947 // required. 945 // required.
948 const char kShowUpdatePromotionInfoBar[] = 946 const char kShowUpdatePromotionInfoBar[] =
949 "browser.show_update_promotion_info_bar"; 947 "browser.show_update_promotion_info_bar";
950 #endif 948 #endif
951 949
952 // Boolean that is false if we should show window manager decorations. If 950 // Boolean that is false if we should show window manager decorations. If
953 // true, we draw a custom chrome frame (thicker title bar and blue border). 951 // true, we draw a custom chrome frame (thicker title bar and blue border).
954 const char kUseCustomChromeFrame[] = "browser.custom_chrome_frame"; 952 const char kUseCustomChromeFrame[] = "browser.custom_chrome_frame";
955 953
956 #if !defined(OS_ANDROID)
957 // Which plugins have been whitelisted manually by the user. 954 // Which plugins have been whitelisted manually by the user.
958 const char kContentSettingsPluginWhitelist[] = 955 const char kContentSettingsPluginWhitelist[] =
959 "profile.content_settings.plugin_whitelist"; 956 "profile.content_settings.plugin_whitelist";
960 #endif
961 957
962 // Boolean that is true when all locally stored site data (e.g. cookies, local 958 // Boolean that is true when all locally stored site data (e.g. cookies, local
963 // storage, etc..) should be deleted on exit. 959 // storage, etc..) should be deleted on exit.
964 const char kClearSiteDataOnExit[] = "profile.clear_site_data_on_exit"; 960 const char kClearSiteDataOnExit[] = "profile.clear_site_data_on_exit";
965 961
966 // Double that indicates the default zoom level. 962 // Double that indicates the default zoom level.
967 const char kPartitionDefaultZoomLevel[] = "partition.default_zoom_level"; 963 const char kPartitionDefaultZoomLevel[] = "partition.default_zoom_level";
968 // TODO(wjmaclean): Remove this once sufficient users have migrated to the 964 // TODO(wjmaclean): Remove this once sufficient users have migrated to the
969 // per-StoragePartition zoom levels. http://crbug.com/420643. 965 // per-StoragePartition zoom levels. http://crbug.com/420643.
970 const char kDefaultZoomLevelDeprecated[] = "profile.default_zoom_level"; 966 const char kDefaultZoomLevelDeprecated[] = "profile.default_zoom_level";
(...skipping 29 matching lines...) Expand all
1000 // The number of times the generated credit card bubble has been shown. 996 // The number of times the generated credit card bubble has been shown.
1001 const char kAutofillGeneratedCardBubbleTimesShown[] = 997 const char kAutofillGeneratedCardBubbleTimesShown[] =
1002 "autofill.generated_card_bubble_times_shown"; 998 "autofill.generated_card_bubble_times_shown";
1003 999
1004 #if defined(OS_ANDROID) 1000 #if defined(OS_ANDROID)
1005 // A dictionary that tracks the defaults to be set on the next invocation 1001 // A dictionary that tracks the defaults to be set on the next invocation
1006 // of the requestAutocomplete dialog. 1002 // of the requestAutocomplete dialog.
1007 const char kAutofillDialogDefaults[] = "autofill.rac_dialog_defaults"; 1003 const char kAutofillDialogDefaults[] = "autofill.rac_dialog_defaults";
1008 #endif 1004 #endif
1009 1005
1010 #if !defined(OS_ANDROID)
1011 const char kPinnedTabs[] = "pinned_tabs"; 1006 const char kPinnedTabs[] = "pinned_tabs";
1012 #endif
1013 1007
1014 // Preference to disable 3D APIs (WebGL, Pepper 3D). 1008 // Preference to disable 3D APIs (WebGL, Pepper 3D).
1015 const char kDisable3DAPIs[] = "disable_3d_apis"; 1009 const char kDisable3DAPIs[] = "disable_3d_apis";
1016 1010
1017 const char kEnableDeprecatedWebPlatformFeatures[] = 1011 const char kEnableDeprecatedWebPlatformFeatures[] =
1018 "enable_deprecated_web_platform_features"; 1012 "enable_deprecated_web_platform_features";
1019 1013
1020 // Whether to enable hyperlink auditing ("<a ping>"). 1014 // Whether to enable hyperlink auditing ("<a ping>").
1021 const char kEnableHyperlinkAuditing[] = "enable_a_ping"; 1015 const char kEnableHyperlinkAuditing[] = "enable_a_ping";
1022 1016
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
1175 // Whether Easy Unlock is enabled. 1169 // Whether Easy Unlock is enabled.
1176 const char kEasyUnlockEnabled[] = "easy_unlock.enabled"; 1170 const char kEasyUnlockEnabled[] = "easy_unlock.enabled";
1177 1171
1178 // Preference storing Easy Unlock pairing data. 1172 // Preference storing Easy Unlock pairing data.
1179 const char kEasyUnlockPairing[] = "easy_unlock.pairing"; 1173 const char kEasyUnlockPairing[] = "easy_unlock.pairing";
1180 1174
1181 // Whether close proximity between the remote and the local device is required 1175 // Whether close proximity between the remote and the local device is required
1182 // in order to use Easy Unlock. 1176 // in order to use Easy Unlock.
1183 const char kEasyUnlockProximityRequired[] = "easy_unlock.proximity_required"; 1177 const char kEasyUnlockProximityRequired[] = "easy_unlock.proximity_required";
1184 1178
1185 #if defined(ENABLE_EXTENSIONS) && !defined(OS_ANDROID) && !defined(OS_IOS) 1179 #if defined(ENABLE_EXTENSIONS) && !defined(OS_IOS)
1186 // These device IDs are used by the copresence component, to uniquely identify 1180 // These device IDs are used by the copresence component, to uniquely identify
1187 // this device to the server. For privacy, authenticated and unauthenticated 1181 // this device to the server. For privacy, authenticated and unauthenticated
1188 // calls are made using different device IDs. 1182 // calls are made using different device IDs.
1189 const char kCopresenceAuthenticatedDeviceId[] = 1183 const char kCopresenceAuthenticatedDeviceId[] =
1190 "apps.copresence.auth_device_id"; 1184 "apps.copresence.auth_device_id";
1191 const char kCopresenceAnonymousDeviceId[] = "apps.copresence.unauth_device_id"; 1185 const char kCopresenceAnonymousDeviceId[] = "apps.copresence.unauth_device_id";
1192 1186
1193 // Used to indicate whether or not the toolbar redesign bubble has been shown 1187 // Used to indicate whether or not the toolbar redesign bubble has been shown
1194 // and acknowledged, and the last time the bubble was shown. 1188 // and acknowledged, and the last time the bubble was shown.
1195 const char kToolbarIconSurfacingBubbleAcknowledged[] = 1189 const char kToolbarIconSurfacingBubbleAcknowledged[] =
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
1560 1554
1561 // Boolean indicating that TiclInvalidationService should use GCM channel. 1555 // Boolean indicating that TiclInvalidationService should use GCM channel.
1562 // False or lack of settings means XMPPPushClient channel. 1556 // False or lack of settings means XMPPPushClient channel.
1563 const char kInvalidationServiceUseGCMChannel[] = 1557 const char kInvalidationServiceUseGCMChannel[] =
1564 "invalidation_service.use_gcm_channel"; 1558 "invalidation_service.use_gcm_channel";
1565 1559
1566 // Local hash of authentication password, used for off-line authentication 1560 // Local hash of authentication password, used for off-line authentication
1567 // when on-line authentication is not available. 1561 // when on-line authentication is not available.
1568 const char kGoogleServicesPasswordHash[] = "google.services.password_hash"; 1562 const char kGoogleServicesPasswordHash[] = "google.services.password_hash";
1569 1563
1570 #if !defined(OS_ANDROID) && !defined(OS_IOS) 1564 #if !defined(OS_IOS)
1571 // Tracks the number of times that we have shown the sign in promo at startup. 1565 // Tracks the number of times that we have shown the sign in promo at startup.
1572 const char kSignInPromoStartupCount[] = "sync_promo.startup_count"; 1566 const char kSignInPromoStartupCount[] = "sync_promo.startup_count";
1573 1567
1574 // Boolean tracking whether the user chose to skip the sign in promo. 1568 // Boolean tracking whether the user chose to skip the sign in promo.
1575 const char kSignInPromoUserSkipped[] = "sync_promo.user_skipped"; 1569 const char kSignInPromoUserSkipped[] = "sync_promo.user_skipped";
1576 1570
1577 // Boolean that specifies if the sign in promo is allowed to show on first run. 1571 // Boolean that specifies if the sign in promo is allowed to show on first run.
1578 // This preference is specified in the master preference file to suppress the 1572 // This preference is specified in the master preference file to suppress the
1579 // sign in promo for some installations. 1573 // sign in promo for some installations.
1580 const char kSignInPromoShowOnFirstRunAllowed[] = 1574 const char kSignInPromoShowOnFirstRunAllowed[] =
1581 "sync_promo.show_on_first_run_allowed"; 1575 "sync_promo.show_on_first_run_allowed";
1582 1576
1583 // Boolean that specifies if we should show a bubble in the new tab page. 1577 // Boolean that specifies if we should show a bubble in the new tab page.
1584 // The bubble is used to confirm that the user is signed into sync. 1578 // The bubble is used to confirm that the user is signed into sync.
1585 const char kSignInPromoShowNTPBubble[] = "sync_promo.show_ntp_bubble"; 1579 const char kSignInPromoShowNTPBubble[] = "sync_promo.show_ntp_bubble";
1586 #endif 1580 #endif
1587 1581
1588 #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) && !defined(OS_IOS) 1582 #if (!defined(OS_CHROMEOS) && !defined(OS_ANDROID) && !defined(OS_IOS)) || (defi ned(OS_ANDROID) && defined(USE_AURA))
1589 // Boolean tracking whether the user chose to opt out of the x-device promo. 1583 // Boolean tracking whether the user chose to opt out of the x-device promo.
1590 const char kCrossDevicePromoOptedOut[] = "x_device_promo.opted_out"; 1584 const char kCrossDevicePromoOptedOut[] = "x_device_promo.opted_out";
1591 1585
1592 // Boolean tracking whether the x-device promo should be shown. 1586 // Boolean tracking whether the x-device promo should be shown.
1593 const char kCrossDevicePromoShouldBeShown[] = "x_device_promo.should_be_shown"; 1587 const char kCrossDevicePromoShouldBeShown[] = "x_device_promo.should_be_shown";
1594 1588
1595 // Int64, representing the time when we first observed a single GAIA account in 1589 // Int64, representing the time when we first observed a single GAIA account in
1596 // the cookie. If the most recent observation does not contain exactly one 1590 // the cookie. If the most recent observation does not contain exactly one
1597 // account, this pref does not exist. 1591 // account, this pref does not exist.
1598 const char kCrossDevicePromoObservedSingleAccountCookie[] = 1592 const char kCrossDevicePromoObservedSingleAccountCookie[] =
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
2251 "supervised_users.whitelists"; 2245 "supervised_users.whitelists";
2252 2246
2253 #if defined(ENABLE_EXTENSIONS) 2247 #if defined(ENABLE_EXTENSIONS)
2254 // Policy that indicates how to handle animated images. 2248 // Policy that indicates how to handle animated images.
2255 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; 2249 const char kAnimationPolicy[] = "settings.a11y.animation_policy";
2256 #endif 2250 #endif
2257 2251
2258 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload"; 2252 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload";
2259 2253
2260 } // namespace prefs 2254 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698