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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 L"webkit.webprefs.java_enabled"; | 98 L"webkit.webprefs.java_enabled"; |
99 const wchar_t kWebkitTabsToLinks[] = L"webkit.webprefs.tabs_to_links"; | 99 const wchar_t kWebkitTabsToLinks[] = L"webkit.webprefs.tabs_to_links"; |
100 | 100 |
101 // Boolean which specifies whether the bookmark bar is visible on all tabs. | 101 // Boolean which specifies whether the bookmark bar is visible on all tabs. |
102 const wchar_t kShowBookmarkBar[] = L"bookmark_bar.show_on_all_tabs"; | 102 const wchar_t kShowBookmarkBar[] = L"bookmark_bar.show_on_all_tabs"; |
103 | 103 |
104 // Boolean that is true if the password manager is on (will record new | 104 // Boolean that is true if the password manager is on (will record new |
105 // passwords and fill in known passwords). | 105 // passwords and fill in known passwords). |
106 const wchar_t kPasswordManagerEnabled[] = L"profile.password_manager_enabled"; | 106 const wchar_t kPasswordManagerEnabled[] = L"profile.password_manager_enabled"; |
107 | 107 |
108 // OBSOLETE. Boolean that is true if the form autofill is on (will record | 108 // OBSOLETE. Boolean that is true if the form AutoFill is on (will record |
109 // values entered in text inputs in forms and shows them in a popup when user | 109 // values entered in text inputs in forms and shows them in a popup when user |
110 // type in a text input with the same name later on). This has been superseded | 110 // type in a text input with the same name later on). This has been superseded |
111 // by kAutoFillEnabled. | 111 // by kAutoFillEnabled. |
112 const wchar_t kFormAutofillEnabled[] = L"profile.form_autofill_enabled"; | 112 const wchar_t kFormAutofillEnabled[] = L"profile.form_autofill_enabled"; |
113 | 113 |
114 // Boolean that is true when SafeBrowsing is enabled. | 114 // Boolean that is true when SafeBrowsing is enabled. |
115 const wchar_t kSafeBrowsingEnabled[] = L"safebrowsing.enabled"; | 115 const wchar_t kSafeBrowsingEnabled[] = L"safebrowsing.enabled"; |
116 | 116 |
117 // Boolean that is true when Suggest support is enabled. | 117 // Boolean that is true when Suggest support is enabled. |
118 const wchar_t kSearchSuggestEnabled[] = L"search.suggest_enabled"; | 118 const wchar_t kSearchSuggestEnabled[] = L"search.suggest_enabled"; |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 const wchar_t kBlockThirdPartyCookies[] = L"profile.block_third_party_cookies"; | 449 const wchar_t kBlockThirdPartyCookies[] = L"profile.block_third_party_cookies"; |
450 | 450 |
451 // Boolean that is true when all locally stored site data (e.g. cookies, local | 451 // Boolean that is true when all locally stored site data (e.g. cookies, local |
452 // storage, etc..) should be deleted on exit. | 452 // storage, etc..) should be deleted on exit. |
453 const wchar_t kClearSiteDataOnExit[] = L"profile.clear_site_data_on_exit"; | 453 const wchar_t kClearSiteDataOnExit[] = L"profile.clear_site_data_on_exit"; |
454 | 454 |
455 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will | 455 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will |
456 // be displayed at the default zoom level. | 456 // be displayed at the default zoom level. |
457 const wchar_t kPerHostZoomLevels[] = L"profile.per_host_zoom_levels"; | 457 const wchar_t kPerHostZoomLevels[] = L"profile.per_host_zoom_levels"; |
458 | 458 |
459 // Boolean that is true if the autofill infobar has been shown to the user. | 459 // Boolean that is true if AutoFill is enabled and allowed to save profile data. |
460 const wchar_t kAutoFillInfoBarShown[] = L"autofill.infobar_shown"; | |
461 | |
462 // Boolean that is true if autofill is enabled and allowed to save profile data. | |
463 const wchar_t kAutoFillEnabled[] = L"autofill.enabled"; | 460 const wchar_t kAutoFillEnabled[] = L"autofill.enabled"; |
464 | 461 |
465 // Boolean that is true when auxiliary autofill profiles are enabled. | 462 // Boolean that is true when auxiliary AutoFill profiles are enabled. |
466 // Currently applies to Address Book "me" card on Mac. False on Win and Linux. | 463 // Currently applies to Address Book "me" card on Mac. False on Win and Linux. |
467 const wchar_t kAutoFillAuxiliaryProfilesEnabled[] = | 464 const wchar_t kAutoFillAuxiliaryProfilesEnabled[] = |
468 L"autofill.auxiliary_profiles_enabled"; | 465 L"autofill.auxiliary_profiles_enabled"; |
469 | 466 |
470 // Position and size of the autofill dialog. | 467 // Position and size of the AutoFill dialog. |
471 const wchar_t kAutoFillDialogPlacement[] = L"autofill.dialog_placement"; | 468 const wchar_t kAutoFillDialogPlacement[] = L"autofill.dialog_placement"; |
472 | 469 |
473 // Double that indicates positive (for matched forms) upload rate. | 470 // Double that indicates positive (for matched forms) upload rate. |
474 const wchar_t kAutoFillPositiveUploadRate[] = L"autofill.positive_upload_rate"; | 471 const wchar_t kAutoFillPositiveUploadRate[] = L"autofill.positive_upload_rate"; |
475 | 472 |
476 // Double that indicates negative (for not matched forms) upload rate. | 473 // Double that indicates negative (for not matched forms) upload rate. |
477 const wchar_t kAutoFillNegativeUploadRate[] = L"autofill.negative_upload_rate"; | 474 const wchar_t kAutoFillNegativeUploadRate[] = L"autofill.negative_upload_rate"; |
478 | 475 |
479 // Dictionary that maps providers to lists of filter rules. | 476 // Dictionary that maps providers to lists of filter rules. |
480 const wchar_t kPrivacyFilterRules[] = L"profile.privacy_filter_rules"; | 477 const wchar_t kPrivacyFilterRules[] = L"profile.privacy_filter_rules"; |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 // String specifying the proxy server. For a specification of the expected | 906 // String specifying the proxy server. For a specification of the expected |
910 // syntax see net::ProxyConfig::ProxyRules::ParseFromString(). | 907 // syntax see net::ProxyConfig::ProxyRules::ParseFromString(). |
911 const wchar_t kProxyServer[] = L"proxy.server"; | 908 const wchar_t kProxyServer[] = L"proxy.server"; |
912 // URL to the proxy .pac file. | 909 // URL to the proxy .pac file. |
913 const wchar_t kProxyPacUrl[] = L"proxy.pac_url"; | 910 const wchar_t kProxyPacUrl[] = L"proxy.pac_url"; |
914 // String containing proxy bypass rules. For a specification of the | 911 // String containing proxy bypass rules. For a specification of the |
915 // expected syntax see net::ProxyBypassRules::ParseFromString(). | 912 // expected syntax see net::ProxyBypassRules::ParseFromString(). |
916 const wchar_t kProxyBypassList[] = L"proxy.bypass_list"; | 913 const wchar_t kProxyBypassList[] = L"proxy.bypass_list"; |
917 | 914 |
918 } // namespace prefs | 915 } // namespace prefs |
OLD | NEW |