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

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

Issue 1085003: Implement chrome://plugins page that can disable plugins. (Closed)
Patch Set: merge ToT again Created 10 years, 9 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') | chrome/common/url_constants.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 namespace prefs { 7 namespace prefs {
8 8
9 // *************** PROFILE PREFS *************** 9 // *************** PROFILE PREFS ***************
10 // These are attached to the user profile 10 // These are attached to the user profile
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 const wchar_t kDnsPrefetchingEnabled[] = L"dns_prefetching.enabled"; 156 const wchar_t kDnsPrefetchingEnabled[] = L"dns_prefetching.enabled";
157 157
158 // An adaptively identified list of domain names to be pre-fetched during the 158 // An adaptively identified list of domain names to be pre-fetched during the
159 // next startup, based on what was actually needed during this startup. 159 // next startup, based on what was actually needed during this startup.
160 const wchar_t kDnsStartupPrefetchList[] = L"StartupDNSPrefetchList"; 160 const wchar_t kDnsStartupPrefetchList[] = L"StartupDNSPrefetchList";
161 161
162 // A list of host names used to fetch web pages, and their commonly used 162 // A list of host names used to fetch web pages, and their commonly used
163 // sub-resource hostnames (and expected latency benefits from pre-resolving such 163 // sub-resource hostnames (and expected latency benefits from pre-resolving such
164 // sub-resource hostnames). 164 // sub-resource hostnames).
165 // This list is adaptively grown and pruned. 165 // This list is adaptively grown and pruned.
166 extern const wchar_t kDnsHostReferralList[] = L"HostReferralList"; 166 const wchar_t kDnsHostReferralList[] = L"HostReferralList";
167 167
168 // Is the cookie prompt expanded? 168 // Is the cookie prompt expanded?
169 extern const wchar_t kCookiePromptExpanded[] = L"cookieprompt.expanded"; 169 const wchar_t kCookiePromptExpanded[] = L"cookieprompt.expanded";
170 170
171 #if defined(USE_NSS) 171 #if defined(USE_NSS)
172 // Prefs for SSLConfigServicePref. Currently, these are only present on 172 // Prefs for SSLConfigServicePref. Currently, these are only present on
173 // and used by NSS-using OSes. 173 // and used by NSS-using OSes.
174 extern const wchar_t kCertRevocationCheckingEnabled[] = 174 const wchar_t kCertRevocationCheckingEnabled[] = L"ssl.rev_checking.enabled";
175 L"ssl.rev_checking.enabled"; 175 const wchar_t kSSL2Enabled[] = L"ssl.ssl2.enabled";
176 extern const wchar_t kSSL2Enabled[] = L"ssl.ssl2.enabled"; 176 const wchar_t kSSL3Enabled[] = L"ssl.ssl3.enabled";
177 extern const wchar_t kSSL3Enabled[] = L"ssl.ssl3.enabled"; 177 const wchar_t kTLS1Enabled[] = L"ssl.tls1.enabled";
178 extern const wchar_t kTLS1Enabled[] = L"ssl.tls1.enabled";
179 #endif 178 #endif
180 179
181 #if defined(OS_CHROMEOS) 180 #if defined(OS_CHROMEOS)
182 // A string pref set to the timezone. 181 // A string pref set to the timezone.
183 extern const wchar_t kTimeZone[] = L"settings.datetime.timezone"; 182 const wchar_t kTimeZone[] = L"settings.datetime.timezone";
184 183
185 // A boolean pref set to true if TapToClick is being done in browser. 184 // A boolean pref set to true if TapToClick is being done in browser.
186 extern const wchar_t kTapToClickEnabled[] = 185 const wchar_t kTapToClickEnabled[] = L"settings.touchpad.enable_tap_to_click";
187 L"settings.touchpad.enable_tap_to_click";
188 186
189 // A boolean pref set to true if VertEdgeScroll is being done in browser. 187 // A boolean pref set to true if VertEdgeScroll is being done in browser.
190 extern const wchar_t kVertEdgeScrollEnabled[] = 188 const wchar_t kVertEdgeScrollEnabled[] =
191 L"settings.touchpad.enable_vert_edge_scroll"; 189 L"settings.touchpad.enable_vert_edge_scroll";
192 190
193 // A integer pref for the touchpad speed factor. 191 // A integer pref for the touchpad speed factor.
194 extern const wchar_t kTouchpadSpeedFactor[] = L"settings.touchpad.speed_factor"; 192 const wchar_t kTouchpadSpeedFactor[] = L"settings.touchpad.speed_factor";
195 193
196 // A integer pref for the touchpad sensitivity. 194 // A integer pref for the touchpad sensitivity.
197 extern const wchar_t kTouchpadSensitivity[] = L"settings.touchpad.sensitivity"; 195 const wchar_t kTouchpadSensitivity[] = L"settings.touchpad.sensitivity";
198 #endif 196 #endif
199 197
200 // The disabled messages in IPC logging. 198 // The disabled messages in IPC logging.
201 const wchar_t kIpcDisabledMessages[] = L"ipc_log_disabled_messages"; 199 const wchar_t kIpcDisabledMessages[] = L"ipc_log_disabled_messages";
202 200
203 // A boolean pref set to true if a Home button to open the Home pages should be 201 // A boolean pref set to true if a Home button to open the Home pages should be
204 // visible on the toolbar. 202 // visible on the toolbar.
205 const wchar_t kShowHomeButton[] = L"browser.show_home_button"; 203 const wchar_t kShowHomeButton[] = L"browser.show_home_button";
206 204
207 // A boolean pref set to true if the Page and Options menu buttons should be 205 // A boolean pref set to true if the Page and Options menu buttons should be
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 L"extensions.theme.properties"; 264 L"extensions.theme.properties";
267 265
268 // Boolean pref which persists whether the extensions_ui is in developer mode 266 // Boolean pref which persists whether the extensions_ui is in developer mode
269 // (showing developer packing tools and extensions details) 267 // (showing developer packing tools and extensions details)
270 const wchar_t kExtensionsUIDeveloperMode[] = L"extensions.ui.developer_mode"; 268 const wchar_t kExtensionsUIDeveloperMode[] = L"extensions.ui.developer_mode";
271 269
272 // Integer pref that tracks the number of browser actions visible in the browser 270 // Integer pref that tracks the number of browser actions visible in the browser
273 // actions toolbar. 271 // actions toolbar.
274 const wchar_t kExtensionToolbarSize[] = L"extensions.toolbarsize"; 272 const wchar_t kExtensionToolbarSize[] = L"extensions.toolbarsize";
275 273
274 // List pref containing information (dictionaries) on plugins.
275 const wchar_t kPluginsPluginsList[] = L"plugins.plugins_list";
276
276 // Boolean that indicates whether we should check if we are the default browser 277 // Boolean that indicates whether we should check if we are the default browser
277 // on start-up. 278 // on start-up.
278 const wchar_t kCheckDefaultBrowser[] = L"browser.check_default_browser"; 279 const wchar_t kCheckDefaultBrowser[] = L"browser.check_default_browser";
279 280
280 #if defined(OS_MACOSX) 281 #if defined(OS_MACOSX)
281 // Boolean that indicates whether the application should show the info bar 282 // Boolean that indicates whether the application should show the info bar
282 // asking the user to set up automatic updates when Keystone promotion is 283 // asking the user to set up automatic updates when Keystone promotion is
283 // required. 284 // required.
284 const wchar_t kShowUpdatePromotionInfoBar[] = 285 const wchar_t kShowUpdatePromotionInfoBar[] =
285 L"browser.show_update_promotion_info_bar"; 286 L"browser.show_update_promotion_info_bar";
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 const wchar_t kStabilityExitedCleanly[] = 401 const wchar_t kStabilityExitedCleanly[] =
401 L"user_experience_metrics.stability.exited_cleanly"; 402 L"user_experience_metrics.stability.exited_cleanly";
402 403
403 // Version string of previous run, which is used to assure that stability 404 // Version string of previous run, which is used to assure that stability
404 // metrics reported under current version reflect stability of the same version. 405 // metrics reported under current version reflect stability of the same version.
405 const wchar_t kStabilityStatsVersion[] = 406 const wchar_t kStabilityStatsVersion[] =
406 L"user_experience_metrics.stability.stats_version"; 407 L"user_experience_metrics.stability.stats_version";
407 408
408 // Build time, in seconds since an epoch, which is used to assure that stability 409 // Build time, in seconds since an epoch, which is used to assure that stability
409 // metrics reported reflect stability of the same build. 410 // metrics reported reflect stability of the same build.
410 extern const wchar_t kStabilityStatsBuildTime[] = 411 const wchar_t kStabilityStatsBuildTime[] =
411 L"user_experience_metrics.stability.stats_buildtime"; 412 L"user_experience_metrics.stability.stats_buildtime";
412 413
413 // False if we received a session end and either we crashed during processing 414 // False if we received a session end and either we crashed during processing
414 // the session end or ran out of time and windows terminated us. 415 // the session end or ran out of time and windows terminated us.
415 const wchar_t kStabilitySessionEndCompleted[] = 416 const wchar_t kStabilitySessionEndCompleted[] =
416 L"user_experience_metrics.stability.session_end_completed"; 417 L"user_experience_metrics.stability.session_end_completed";
417 418
418 // Number of times the application was launched since last report. 419 // Number of times the application was launched since last report.
419 const wchar_t kStabilityLaunchCount[] = 420 const wchar_t kStabilityLaunchCount[] =
420 L"user_experience_metrics.stability.launch_count"; 421 L"user_experience_metrics.stability.launch_count";
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 const wchar_t kWebAppCreateInAppsMenu[] = 686 const wchar_t kWebAppCreateInAppsMenu[] =
686 L"browser.web_app.create_in_apps_menu"; 687 L"browser.web_app.create_in_apps_menu";
687 const wchar_t kWebAppCreateInQuickLaunchBar[] = 688 const wchar_t kWebAppCreateInQuickLaunchBar[] =
688 L"browser.web_app.create_in_quick_launch_bar"; 689 L"browser.web_app.create_in_quick_launch_bar";
689 690
690 // Dictionary that maps Geolocation network provider server URLs to 691 // Dictionary that maps Geolocation network provider server URLs to
691 // corresponding access token. 692 // corresponding access token.
692 const wchar_t kGeolocationAccessToken[] = L"geolocation.access_token"; 693 const wchar_t kGeolocationAccessToken[] = L"geolocation.access_token";
693 694
694 } // namespace prefs 695 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698