| 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 947 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 958 const char kContentSettingsPluginWhitelist[] = | 958 const char kContentSettingsPluginWhitelist[] = | 
| 959     "profile.content_settings.plugin_whitelist"; | 959     "profile.content_settings.plugin_whitelist"; | 
| 960 #endif | 960 #endif | 
| 961 | 961 | 
| 962 // Boolean that is true when all locally stored site data (e.g. cookies, local | 962 // Boolean that is true when all locally stored site data (e.g. cookies, local | 
| 963 // storage, etc..) should be deleted on exit. | 963 // storage, etc..) should be deleted on exit. | 
| 964 const char kClearSiteDataOnExit[] = "profile.clear_site_data_on_exit"; | 964 const char kClearSiteDataOnExit[] = "profile.clear_site_data_on_exit"; | 
| 965 | 965 | 
| 966 // Double that indicates the default zoom level. | 966 // Double that indicates the default zoom level. | 
| 967 const char kPartitionDefaultZoomLevel[] = "partition.default_zoom_level"; | 967 const char kPartitionDefaultZoomLevel[] = "partition.default_zoom_level"; | 
| 968 // TODO(wjmaclean): Remove this once sufficient users have migrated to the |  | 
| 969 // per-StoragePartition zoom levels. http://crbug.com/420643. |  | 
| 970 const char kDefaultZoomLevelDeprecated[] = "profile.default_zoom_level"; |  | 
| 971 | 968 | 
| 972 // Dictionary that maps hostnames to zoom levels.  Hosts not in this pref will | 969 // Dictionary that maps hostnames to zoom levels.  Hosts not in this pref will | 
| 973 // be displayed at the default zoom level. | 970 // be displayed at the default zoom level. | 
| 974 const char kPartitionPerHostZoomLevels[] = "partition.per_host_zoom_levels"; | 971 const char kPartitionPerHostZoomLevels[] = "partition.per_host_zoom_levels"; | 
| 975 // TODO(wjmaclean): Remove this. |  | 
| 976 const char kPerHostZoomLevelsDeprecated[] = "profile.per_host_zoom_levels"; |  | 
| 977 | 972 | 
| 978 // A dictionary that tracks the default data model to use for each section of | 973 // A dictionary that tracks the default data model to use for each section of | 
| 979 // the dialog. | 974 // the dialog. | 
| 980 const char kAutofillDialogAutofillDefault[] = "autofill.data_model_default"; | 975 const char kAutofillDialogAutofillDefault[] = "autofill.data_model_default"; | 
| 981 | 976 | 
| 982 // Whether a user opted out of making purchases with Google Wallet; changed via | 977 // Whether a user opted out of making purchases with Google Wallet; changed via | 
| 983 // the autofill dialog's account chooser and set explicitly on dialog submission | 978 // the autofill dialog's account chooser and set explicitly on dialog submission | 
| 984 // (but not cancel). If this isn't set, the dialog assumes it's the first run. | 979 // (but not cancel). If this isn't set, the dialog assumes it's the first run. | 
| 985 const char kAutofillDialogPayWithoutWallet[] = "autofill.pay_without_wallet"; | 980 const char kAutofillDialogPayWithoutWallet[] = "autofill.pay_without_wallet"; | 
| 986 | 981 | 
| (...skipping 1235 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2222     "supervised_users.whitelists"; | 2217     "supervised_users.whitelists"; | 
| 2223 | 2218 | 
| 2224 #if defined(ENABLE_EXTENSIONS) | 2219 #if defined(ENABLE_EXTENSIONS) | 
| 2225 // Policy that indicates how to handle animated images. | 2220 // Policy that indicates how to handle animated images. | 
| 2226 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; | 2221 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; | 
| 2227 #endif | 2222 #endif | 
| 2228 | 2223 | 
| 2229 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload"; | 2224 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload"; | 
| 2230 | 2225 | 
| 2231 }  // namespace prefs | 2226 }  // namespace prefs | 
| OLD | NEW | 
|---|