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 #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 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
904 | 904 |
905 // List pref containing names of plugins that are enabled by policy. | 905 // List pref containing names of plugins that are enabled by policy. |
906 const char kPluginsEnabledPlugins[] = "plugins.plugins_enabled"; | 906 const char kPluginsEnabledPlugins[] = "plugins.plugins_enabled"; |
907 | 907 |
908 // When bundled NPAPI Flash is removed, if at that point it is enabled while | 908 // When bundled NPAPI Flash is removed, if at that point it is enabled while |
909 // Pepper Flash is disabled, we would like to turn on Pepper Flash. And we will | 909 // Pepper Flash is disabled, we would like to turn on Pepper Flash. And we will |
910 // want to do so in M45, once, for realz. | 910 // want to do so in M45, once, for realz. |
911 const char kNpapiFlashMigratedToPepperFlash[] = | 911 const char kNpapiFlashMigratedToPepperFlash[] = |
912 "plugins.npapi_flash_migrated_to_pepper_flash"; | 912 "plugins.npapi_flash_migrated_to_pepper_flash"; |
913 | 913 |
914 #if !defined(OS_ANDROID) | 914 #if defined(ENABLE_PLUGINS) |
915 // Whether about:plugins is shown in the details mode or not. | 915 // Whether about:plugins is shown in the details mode or not. |
916 const char kPluginsShowDetails[] = "plugins.show_details"; | 916 const char kPluginsShowDetails[] = "plugins.show_details"; |
917 #endif | 917 #endif |
918 | 918 |
919 // Boolean that indicates whether outdated plugins are allowed or not. | 919 // Boolean that indicates whether outdated plugins are allowed or not. |
920 const char kPluginsAllowOutdated[] = "plugins.allow_outdated"; | 920 const char kPluginsAllowOutdated[] = "plugins.allow_outdated"; |
921 | 921 |
922 // Boolean that indicates whether plugins that require authorization should | 922 // Boolean that indicates whether plugins that require authorization should |
923 // be always allowed or not. | 923 // be always allowed or not. |
924 const char kPluginsAlwaysAuthorize[] = "plugins.always_authorize"; | 924 const char kPluginsAlwaysAuthorize[] = "plugins.always_authorize"; |
(...skipping 20 matching lines...) Expand all Loading... |
945 // asking the user to set up automatic updates when Keystone promotion is | 945 // asking the user to set up automatic updates when Keystone promotion is |
946 // required. | 946 // required. |
947 const char kShowUpdatePromotionInfoBar[] = | 947 const char kShowUpdatePromotionInfoBar[] = |
948 "browser.show_update_promotion_info_bar"; | 948 "browser.show_update_promotion_info_bar"; |
949 #endif | 949 #endif |
950 | 950 |
951 // Boolean that is false if we should show window manager decorations. If | 951 // Boolean that is false if we should show window manager decorations. If |
952 // true, we draw a custom chrome frame (thicker title bar and blue border). | 952 // true, we draw a custom chrome frame (thicker title bar and blue border). |
953 const char kUseCustomChromeFrame[] = "browser.custom_chrome_frame"; | 953 const char kUseCustomChromeFrame[] = "browser.custom_chrome_frame"; |
954 | 954 |
955 #if !defined(OS_ANDROID) | 955 #if defined(ENABLE_PLUGINS) |
956 // Which plugins have been whitelisted manually by the user. | 956 // Which plugins have been whitelisted manually by the user. |
957 const char kContentSettingsPluginWhitelist[] = | 957 const char kContentSettingsPluginWhitelist[] = |
958 "profile.content_settings.plugin_whitelist"; | 958 "profile.content_settings.plugin_whitelist"; |
959 #endif | 959 #endif |
960 | 960 |
961 // Boolean that is true when all locally stored site data (e.g. cookies, local | 961 // Boolean that is true when all locally stored site data (e.g. cookies, local |
962 // storage, etc..) should be deleted on exit. | 962 // storage, etc..) should be deleted on exit. |
963 const char kClearSiteDataOnExit[] = "profile.clear_site_data_on_exit"; | 963 const char kClearSiteDataOnExit[] = "profile.clear_site_data_on_exit"; |
964 | 964 |
965 // Double that indicates the default zoom level. | 965 // Double that indicates the default zoom level. |
(...skipping 1246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2212 "supervised_users.whitelists"; | 2212 "supervised_users.whitelists"; |
2213 | 2213 |
2214 #if defined(ENABLE_EXTENSIONS) | 2214 #if defined(ENABLE_EXTENSIONS) |
2215 // Policy that indicates how to handle animated images. | 2215 // Policy that indicates how to handle animated images. |
2216 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; | 2216 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; |
2217 #endif | 2217 #endif |
2218 | 2218 |
2219 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload"; | 2219 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload"; |
2220 | 2220 |
2221 } // namespace prefs | 2221 } // namespace prefs |
OLD | NEW |