| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1074 const char kNTPShownSections[] = "ntp.shown_sections"; | 1074 const char kNTPShownSections[] = "ntp.shown_sections"; |
| 1075 | 1075 |
| 1076 // This pref is used for migrating the prefs for the NTP | 1076 // This pref is used for migrating the prefs for the NTP |
| 1077 const char kNTPPrefVersion[] = "ntp.pref_version"; | 1077 const char kNTPPrefVersion[] = "ntp.pref_version"; |
| 1078 | 1078 |
| 1079 // Dates between which the NTP should show a custom logo rather than the | 1079 // Dates between which the NTP should show a custom logo rather than the |
| 1080 // standard one. | 1080 // standard one. |
| 1081 const char kNTPCustomLogoStart[] = "ntp.alt_logo_start"; | 1081 const char kNTPCustomLogoStart[] = "ntp.alt_logo_start"; |
| 1082 const char kNTPCustomLogoEnd[] = "ntp.alt_logo_end"; | 1082 const char kNTPCustomLogoEnd[] = "ntp.alt_logo_end"; |
| 1083 | 1083 |
| 1084 // The promo resource service version number. |
| 1085 const char kNTPPromoVersion[] = "ntp.promo_version"; |
| 1086 |
| 1087 // The last locale the promo was fetched for. |
| 1088 const char kNTPPromoLocale[] = "ntp.promo_locale"; |
| 1089 |
| 1084 // Whether promo should be shown to Dev builds, Beta and Dev, or all builds. | 1090 // Whether promo should be shown to Dev builds, Beta and Dev, or all builds. |
| 1085 const char kNTPPromoBuild[] = "ntp.promo_build"; | 1091 const char kNTPPromoBuild[] = "ntp.promo_build"; |
| 1086 | 1092 |
| 1087 // True if user has explicitly closed the promo line. | 1093 // True if user has explicitly closed the promo line. |
| 1088 const char kNTPPromoClosed[] = "ntp.promo_closed"; | 1094 const char kNTPPromoClosed[] = "ntp.promo_closed"; |
| 1089 | 1095 |
| 1090 // Users are randomly divided into 16 groups in order to slowly roll out | 1096 // Users are randomly divided into 16 groups in order to slowly roll out |
| 1091 // special promos. | 1097 // special promos. |
| 1092 const char kNTPPromoGroup[] = "ntp.promo_group"; | 1098 const char kNTPPromoGroup[] = "ntp.promo_group"; |
| 1093 | 1099 |
| 1094 // Amount of time each promo group should be shown a promo that is being slowly | 1100 // Amount of time each promo group should be shown a promo that is being slowly |
| 1095 // rolled out, in hours. | 1101 // rolled out, in hours. |
| 1096 const char kNTPPromoGroupTimeSlice[] = "ntp.promo_group_timeslice"; | 1102 const char kNTPPromoGroupTimeSlice[] = "ntp.promo_group_timeslice"; |
| 1097 | 1103 |
| 1098 // Promo line from server. | 1104 // Promo line from server. |
| 1099 const char kNTPPromoLine[] = "ntp.promo_line"; | 1105 const char kNTPPromoLine[] = "ntp.promo_line"; |
| 1100 | 1106 |
| 1101 // Dates between which the NTP should show a promotional line downloaded | 1107 // Dates between which the NTP should show a promotional line downloaded |
| 1102 // from the promo server. | 1108 // from the promo server. |
| 1103 const char kNTPPromoStart[] = "ntp.promo_start"; | 1109 const char kNTPPromoStart[] = "ntp.promo_start"; |
| 1104 const char kNTPPromoEnd[] = "ntp.promo_end"; | 1110 const char kNTPPromoEnd[] = "ntp.promo_end"; |
| 1105 | 1111 |
| 1112 // The id of the last web store promo actually displayed on the NTP. |
| 1113 const char kNTPWebStorePromoLastId[] = "ntp.webstore_last_promo_id"; |
| 1114 |
| 1115 // The id of the current web store promo. |
| 1116 const char kNTPWebStorePromoId[] = "ntp.webstorepromo.id"; |
| 1117 |
| 1118 // The header line for the NTP web store promo. |
| 1119 const char kNTPWebStorePromoHeader[] = "ntp.webstorepromo.header"; |
| 1120 |
| 1121 // The button text for the NTP web store promo. |
| 1122 const char kNTPWebStorePromoButton[] = "ntp.webstorepromo.button"; |
| 1123 |
| 1124 // The button link for the NTP web store promo. |
| 1125 const char kNTPWebStorePromoLink[] = "ntp.webstorepromo.link"; |
| 1126 |
| 1127 // The "hide this" link text for the NTP web store promo. |
| 1128 const char kNTPWebStorePromoExpire[] = "ntp.webstorepromo.expire"; |
| 1129 |
| 1106 // The most up-to-date GPU blacklist downloaded from the web, which replaces | 1130 // The most up-to-date GPU blacklist downloaded from the web, which replaces |
| 1107 // the one that's installed with chrome. | 1131 // the one that's installed with chrome. |
| 1108 const char kGpuBlacklist[] = "gpu_blacklist"; | 1132 const char kGpuBlacklist[] = "gpu_blacklist"; |
| 1109 | 1133 |
| 1110 // Last time of update of gpu_blacklist. | 1134 // Last time of update of gpu_blacklist. |
| 1111 const char kGpuBlacklistUpdate[] = "gpu_blacklist_update"; | 1135 const char kGpuBlacklistUpdate[] = "gpu_blacklist_update"; |
| 1112 | 1136 |
| 1113 const char kDevToolsDisabled[] = "devtools.disabled"; | 1137 const char kDevToolsDisabled[] = "devtools.disabled"; |
| 1114 | 1138 |
| 1115 // A boolean specifying whether dev tools window should be opened docked. | 1139 // A boolean specifying whether dev tools window should be opened docked. |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1284 "profile.managed_popups_blocked_for_urls"; | 1308 "profile.managed_popups_blocked_for_urls"; |
| 1285 | 1309 |
| 1286 // Dictionary for storing the set of known background pages (keys are extension | 1310 // Dictionary for storing the set of known background pages (keys are extension |
| 1287 // IDs of background page owners, value is a boolean that is true if the user | 1311 // IDs of background page owners, value is a boolean that is true if the user |
| 1288 // needs to acknowledge this page. | 1312 // needs to acknowledge this page. |
| 1289 const char kKnownBackgroundPages[] = "background_pages.known"; | 1313 const char kKnownBackgroundPages[] = "background_pages.known"; |
| 1290 | 1314 |
| 1291 // Dictionary that maps URL schemes (protocols) to URL handlers. | 1315 // Dictionary that maps URL schemes (protocols) to URL handlers. |
| 1292 const char kRegisteredProtocolHandlers[] = "registered_protocol_handlers"; | 1316 const char kRegisteredProtocolHandlers[] = "registered_protocol_handlers"; |
| 1293 } // namespace prefs | 1317 } // namespace prefs |
| OLD | NEW |