| 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 // separated with comma punctuation mark. | 439 // separated with comma punctuation mark. |
| 440 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings"; | 440 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings"; |
| 441 | 441 |
| 442 // Clear Browsing Data dialog preferences. | 442 // Clear Browsing Data dialog preferences. |
| 443 const char kDeleteBrowsingHistory[] = "browser.clear_data.browsing_history"; | 443 const char kDeleteBrowsingHistory[] = "browser.clear_data.browsing_history"; |
| 444 const char kDeleteDownloadHistory[] = "browser.clear_data.download_history"; | 444 const char kDeleteDownloadHistory[] = "browser.clear_data.download_history"; |
| 445 const char kDeleteCache[] = "browser.clear_data.cache"; | 445 const char kDeleteCache[] = "browser.clear_data.cache"; |
| 446 const char kDeleteCookies[] = "browser.clear_data.cookies"; | 446 const char kDeleteCookies[] = "browser.clear_data.cookies"; |
| 447 const char kDeletePasswords[] = "browser.clear_data.passwords"; | 447 const char kDeletePasswords[] = "browser.clear_data.passwords"; |
| 448 const char kDeleteFormData[] = "browser.clear_data.form_data"; | 448 const char kDeleteFormData[] = "browser.clear_data.form_data"; |
| 449 const char kDeleteLSOData[] = "browser.clear_data.lso_data"; |
| 449 const char kDeleteTimePeriod[] = "browser.clear_data.time_period"; | 450 const char kDeleteTimePeriod[] = "browser.clear_data.time_period"; |
| 450 | 451 |
| 452 // Whether there is a Flash version installed that supports clearing LSO data. |
| 453 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; |
| 454 |
| 451 // Boolean pref to define the default values for using spellchecker. | 455 // Boolean pref to define the default values for using spellchecker. |
| 452 const char kEnableSpellCheck[] = "browser.enable_spellchecking"; | 456 const char kEnableSpellCheck[] = "browser.enable_spellchecking"; |
| 453 | 457 |
| 454 // List of names of the enabled labs experiments (see chrome/browser/labs.cc). | 458 // List of names of the enabled labs experiments (see chrome/browser/labs.cc). |
| 455 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments"; | 459 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments"; |
| 456 | 460 |
| 457 // Boolean pref to define the default values for using auto spell correct. | 461 // Boolean pref to define the default values for using auto spell correct. |
| 458 const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect"; | 462 const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect"; |
| 459 | 463 |
| 460 // Boolean controlling whether history saving is disabled. | 464 // Boolean controlling whether history saving is disabled. |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 551 // regardless of other content settings. | 555 // regardless of other content settings. |
| 552 const char kBlockThirdPartyCookies[] = "profile.block_third_party_cookies"; | 556 const char kBlockThirdPartyCookies[] = "profile.block_third_party_cookies"; |
| 553 | 557 |
| 554 // Boolean that is true if non-sandboxed plug-ins should be blocked. | 558 // Boolean that is true if non-sandboxed plug-ins should be blocked. |
| 555 const char kBlockNonsandboxedPlugins[] = "profile.block_nonsandboxed_plugins"; | 559 const char kBlockNonsandboxedPlugins[] = "profile.block_nonsandboxed_plugins"; |
| 556 | 560 |
| 557 // Boolean that is true when all locally stored site data (e.g. cookies, local | 561 // Boolean that is true when all locally stored site data (e.g. cookies, local |
| 558 // storage, etc..) should be deleted on exit. | 562 // storage, etc..) should be deleted on exit. |
| 559 const char kClearSiteDataOnExit[] = "profile.clear_site_data_on_exit"; | 563 const char kClearSiteDataOnExit[] = "profile.clear_site_data_on_exit"; |
| 560 | 564 |
| 565 // Boolean that is true when plug-in locally stored data ("Flash cookies") |
| 566 // should be deleted on exit. |
| 567 const char kClearPluginLSODataOnExit[] = |
| 568 "profile.clear_plugin_lso_data_on_exit"; |
| 569 |
| 561 // Double that indicates the default zoom level. | 570 // Double that indicates the default zoom level. |
| 562 const char kDefaultZoomLevel[] = "profile.default_zoom_level"; | 571 const char kDefaultZoomLevel[] = "profile.default_zoom_level"; |
| 563 | 572 |
| 564 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will | 573 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will |
| 565 // be displayed at the default zoom level. | 574 // be displayed at the default zoom level. |
| 566 const char kPerHostZoomLevels[] = "profile.per_host_zoom_levels"; | 575 const char kPerHostZoomLevels[] = "profile.per_host_zoom_levels"; |
| 567 | 576 |
| 568 // Boolean that is true if AutoFill is enabled and allowed to save profile data. | 577 // Boolean that is true if AutoFill is enabled and allowed to save profile data. |
| 569 const char kAutoFillEnabled[] = "autofill.enabled"; | 578 const char kAutoFillEnabled[] = "autofill.enabled"; |
| 570 | 579 |
| (...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1127 const char kManagedDefaultPluginsSetting[] = | 1136 const char kManagedDefaultPluginsSetting[] = |
| 1128 "profile.managed_default_content_settings.plugins"; | 1137 "profile.managed_default_content_settings.plugins"; |
| 1129 const char kManagedDefaultPopupsSetting[] = | 1138 const char kManagedDefaultPopupsSetting[] = |
| 1130 "profile.managed_default_content_settings.popups"; | 1139 "profile.managed_default_content_settings.popups"; |
| 1131 | 1140 |
| 1132 // Dictionary for storing the set of known background pages (keys are extension | 1141 // Dictionary for storing the set of known background pages (keys are extension |
| 1133 // IDs of background page owners, value is a boolean that is true if the user | 1142 // IDs of background page owners, value is a boolean that is true if the user |
| 1134 // needs to acknowledge this page. | 1143 // needs to acknowledge this page. |
| 1135 const char kKnownBackgroundPages[] = "background_pages.known"; | 1144 const char kKnownBackgroundPages[] = "background_pages.known"; |
| 1136 } // namespace prefs | 1145 } // namespace prefs |
| OLD | NEW |