| OLD | NEW |
| 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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 // separated with comma punctuation mark. | 431 // separated with comma punctuation mark. |
| 432 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings"; | 432 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings"; |
| 433 | 433 |
| 434 // Clear Browsing Data dialog preferences. | 434 // Clear Browsing Data dialog preferences. |
| 435 const char kDeleteBrowsingHistory[] = "browser.clear_data.browsing_history"; | 435 const char kDeleteBrowsingHistory[] = "browser.clear_data.browsing_history"; |
| 436 const char kDeleteDownloadHistory[] = "browser.clear_data.download_history"; | 436 const char kDeleteDownloadHistory[] = "browser.clear_data.download_history"; |
| 437 const char kDeleteCache[] = "browser.clear_data.cache"; | 437 const char kDeleteCache[] = "browser.clear_data.cache"; |
| 438 const char kDeleteCookies[] = "browser.clear_data.cookies"; | 438 const char kDeleteCookies[] = "browser.clear_data.cookies"; |
| 439 const char kDeletePasswords[] = "browser.clear_data.passwords"; | 439 const char kDeletePasswords[] = "browser.clear_data.passwords"; |
| 440 const char kDeleteFormData[] = "browser.clear_data.form_data"; | 440 const char kDeleteFormData[] = "browser.clear_data.form_data"; |
| 441 const char kDeleteLSOData[] = "browser.clear_data.lso_data"; |
| 441 const char kDeleteTimePeriod[] = "browser.clear_data.time_period"; | 442 const char kDeleteTimePeriod[] = "browser.clear_data.time_period"; |
| 442 | 443 |
| 444 // Whether there is a Flash version installed that supports clearing LSO data. |
| 445 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; |
| 446 |
| 443 // Boolean pref to define the default values for using spellchecker. | 447 // Boolean pref to define the default values for using spellchecker. |
| 444 const char kEnableSpellCheck[] = "browser.enable_spellchecking"; | 448 const char kEnableSpellCheck[] = "browser.enable_spellchecking"; |
| 445 | 449 |
| 446 // List of names of the enabled labs experiments (see chrome/browser/labs.cc). | 450 // List of names of the enabled labs experiments (see chrome/browser/labs.cc). |
| 447 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments"; | 451 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments"; |
| 448 | 452 |
| 449 // Boolean pref to define the default values for using auto spell correct. | 453 // Boolean pref to define the default values for using auto spell correct. |
| 450 const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect"; | 454 const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect"; |
| 451 | 455 |
| 452 // Boolean controlling whether history saving is disabled. | 456 // Boolean controlling whether history saving is disabled. |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 543 // regardless of other content settings. | 547 // regardless of other content settings. |
| 544 const char kBlockThirdPartyCookies[] = "profile.block_third_party_cookies"; | 548 const char kBlockThirdPartyCookies[] = "profile.block_third_party_cookies"; |
| 545 | 549 |
| 546 // Boolean that is true if non-sandboxed plug-ins should be blocked. | 550 // Boolean that is true if non-sandboxed plug-ins should be blocked. |
| 547 const char kBlockNonsandboxedPlugins[] = "profile.block_nonsandboxed_plugins"; | 551 const char kBlockNonsandboxedPlugins[] = "profile.block_nonsandboxed_plugins"; |
| 548 | 552 |
| 549 // Boolean that is true when all locally stored site data (e.g. cookies, local | 553 // Boolean that is true when all locally stored site data (e.g. cookies, local |
| 550 // storage, etc..) should be deleted on exit. | 554 // storage, etc..) should be deleted on exit. |
| 551 const char kClearSiteDataOnExit[] = "profile.clear_site_data_on_exit"; | 555 const char kClearSiteDataOnExit[] = "profile.clear_site_data_on_exit"; |
| 552 | 556 |
| 557 // Boolean that is true when plug-in locally stored data ("Flash cookies") |
| 558 // should be deleted on exit. |
| 559 const char kClearPluginLSODataOnExit[] = |
| 560 "profile.clear_plugin_lso_data_on_exit"; |
| 561 |
| 553 // Double that indicates the default zoom level. | 562 // Double that indicates the default zoom level. |
| 554 const char kDefaultZoomLevel[] = "profile.default_zoom_level"; | 563 const char kDefaultZoomLevel[] = "profile.default_zoom_level"; |
| 555 | 564 |
| 556 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will | 565 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will |
| 557 // be displayed at the default zoom level. | 566 // be displayed at the default zoom level. |
| 558 const char kPerHostZoomLevels[] = "profile.per_host_zoom_levels"; | 567 const char kPerHostZoomLevels[] = "profile.per_host_zoom_levels"; |
| 559 | 568 |
| 560 // Boolean that is true if AutoFill is enabled and allowed to save profile data. | 569 // Boolean that is true if AutoFill is enabled and allowed to save profile data. |
| 561 const char kAutoFillEnabled[] = "autofill.enabled"; | 570 const char kAutoFillEnabled[] = "autofill.enabled"; |
| 562 | 571 |
| (...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1105 const char kManagedDefaultImagesSetting[] = | 1114 const char kManagedDefaultImagesSetting[] = |
| 1106 "profile.managed_default_content_settings.images"; | 1115 "profile.managed_default_content_settings.images"; |
| 1107 const char kManagedDefaultJavaScriptSetting[] = | 1116 const char kManagedDefaultJavaScriptSetting[] = |
| 1108 "profile.managed_default_content_settings.javascript"; | 1117 "profile.managed_default_content_settings.javascript"; |
| 1109 const char kManagedDefaultPluginsSetting[] = | 1118 const char kManagedDefaultPluginsSetting[] = |
| 1110 "profile.managed_default_content_settings.plugins"; | 1119 "profile.managed_default_content_settings.plugins"; |
| 1111 const char kManagedDefaultPopupsSetting[] = | 1120 const char kManagedDefaultPopupsSetting[] = |
| 1112 "profile.managed_default_content_settings.popups"; | 1121 "profile.managed_default_content_settings.popups"; |
| 1113 | 1122 |
| 1114 } // namespace prefs | 1123 } // namespace prefs |
| OLD | NEW |