OLD | NEW |
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 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1021 | 1021 |
1022 // Boolean that is true if we should unconditionally block third-party cookies, | 1022 // Boolean that is true if we should unconditionally block third-party cookies, |
1023 // regardless of other content settings. | 1023 // regardless of other content settings. |
1024 const char kBlockThirdPartyCookies[] = "profile.block_third_party_cookies"; | 1024 const char kBlockThirdPartyCookies[] = "profile.block_third_party_cookies"; |
1025 | 1025 |
1026 // Boolean that is true when all locally stored site data (e.g. cookies, local | 1026 // Boolean that is true when all locally stored site data (e.g. cookies, local |
1027 // storage, etc..) should be deleted on exit. | 1027 // storage, etc..) should be deleted on exit. |
1028 const char kClearSiteDataOnExit[] = "profile.clear_site_data_on_exit"; | 1028 const char kClearSiteDataOnExit[] = "profile.clear_site_data_on_exit"; |
1029 | 1029 |
1030 // Double that indicates the default zoom level. | 1030 // Double that indicates the default zoom level. |
1031 const char kDefaultZoomLevel[] = "profile.default_zoom_level"; | 1031 const char kPartitionDefaultZoomLevel[] = "partition.default_zoom_level"; |
| 1032 // TODO(wjmaclean): Remove this once sufficient users have migrated to the |
| 1033 // per-StoragePartition zoom levels. http://crbug.com/420643. |
| 1034 const char kDefaultZoomLevelDeprecated[] = "profile.default_zoom_level"; |
1032 | 1035 |
1033 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will | 1036 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will |
1034 // be displayed at the default zoom level. | 1037 // be displayed at the default zoom level. |
1035 const char kPerHostZoomLevels[] = "profile.per_host_zoom_levels"; | 1038 const char kPartitionPerHostZoomLevels[] = "partition.per_host_zoom_levels"; |
| 1039 // TODO(wjmaclean): Remove this. |
| 1040 const char kPerHostZoomLevelsDeprecated[] = "profile.per_host_zoom_levels"; |
1036 | 1041 |
1037 // A dictionary that tracks the default data model to use for each section of | 1042 // A dictionary that tracks the default data model to use for each section of |
1038 // the dialog. | 1043 // the dialog. |
1039 const char kAutofillDialogAutofillDefault[] = "autofill.data_model_default"; | 1044 const char kAutofillDialogAutofillDefault[] = "autofill.data_model_default"; |
1040 | 1045 |
1041 // Whether a user opted out of making purchases with Google Wallet; changed via | 1046 // Whether a user opted out of making purchases with Google Wallet; changed via |
1042 // the autofill dialog's account chooser and set explicitly on dialog submission | 1047 // the autofill dialog's account chooser and set explicitly on dialog submission |
1043 // (but not cancel). If this isn't set, the dialog assumes it's the first run. | 1048 // (but not cancel). If this isn't set, the dialog assumes it's the first run. |
1044 const char kAutofillDialogPayWithoutWallet[] = "autofill.pay_without_wallet"; | 1049 const char kAutofillDialogPayWithoutWallet[] = "autofill.pay_without_wallet"; |
1045 | 1050 |
(...skipping 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2335 // Whether Guest Mode is enabled within the browser. | 2340 // Whether Guest Mode is enabled within the browser. |
2336 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; | 2341 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; |
2337 | 2342 |
2338 // Whether Adding a new Person is enabled within the user manager. | 2343 // Whether Adding a new Person is enabled within the user manager. |
2339 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; | 2344 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; |
2340 | 2345 |
2341 // A dictionary that maps user id to hardlock state. | 2346 // A dictionary that maps user id to hardlock state. |
2342 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state"; | 2347 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state"; |
2343 | 2348 |
2344 } // namespace prefs | 2349 } // namespace prefs |
OLD | NEW |