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

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

Issue 1318143002: Always use ENABLE_PLUGINS to indicate plugins support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tryjob failures: forgot to set/check ENABLE_PDF in a couple places. Created 5 years, 3 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 893 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698