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 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 | 8 |
9 namespace prefs { | 9 namespace prefs { |
10 | 10 |
(...skipping 1239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1250 | 1250 |
1251 // Serves dates to determine display of elements on the NTP. | 1251 // Serves dates to determine display of elements on the NTP. |
1252 const char kNTPDateResourceServer[] = "ntp.date_resource_server"; | 1252 const char kNTPDateResourceServer[] = "ntp.date_resource_server"; |
1253 | 1253 |
1254 // Which bookmarks folder should be visible on the new tab page v4. | 1254 // Which bookmarks folder should be visible on the new tab page v4. |
1255 const char kNTPShownBookmarksFolder[] = "ntp.shown_bookmarks_folder"; | 1255 const char kNTPShownBookmarksFolder[] = "ntp.shown_bookmarks_folder"; |
1256 | 1256 |
1257 // Which page should be visible on the new tab page v4 | 1257 // Which page should be visible on the new tab page v4 |
1258 const char kNTPShownPage[] = "ntp.shown_page"; | 1258 const char kNTPShownPage[] = "ntp.shown_page"; |
1259 | 1259 |
1260 // Which sections should be visible on the new tab page | |
1261 // 1 - Show the most visited sites in a grid | |
1262 // 2 - Show the most visited sites as a list | |
1263 // 4 - Show the recent section | |
1264 // 8 - (Show tips -- DEPRECATED) | |
1265 // 16 - Show sync status | |
1266 const char kNTPShownSections[] = "ntp.shown_sections"; | |
1267 | |
1268 // This pref is used for migrating the prefs for the NTP | |
1269 const char kNTPPrefVersion[] = "ntp.pref_version"; | |
1270 | |
1271 // Dates between which the NTP should show a custom logo rather than the | 1260 // Dates between which the NTP should show a custom logo rather than the |
1272 // standard one. | 1261 // standard one. |
1273 const char kNTPCustomLogoStart[] = "ntp.alt_logo_start"; | 1262 const char kNTPCustomLogoStart[] = "ntp.alt_logo_start"; |
1274 const char kNTPCustomLogoEnd[] = "ntp.alt_logo_end"; | 1263 const char kNTPCustomLogoEnd[] = "ntp.alt_logo_end"; |
1275 | 1264 |
1276 // The promo resource service version number. | 1265 // The promo resource service version number. |
1277 const char kNTPPromoVersion[] = "ntp.promo_version"; | 1266 const char kNTPPromoVersion[] = "ntp.promo_version"; |
1278 | 1267 |
1279 // The last locale the promo was fetched for. | 1268 // The last locale the promo was fetched for. |
1280 const char kNTPPromoLocale[] = "ntp.promo_locale"; | 1269 const char kNTPPromoLocale[] = "ntp.promo_locale"; |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1639 | 1628 |
1640 // String that represents the recovery component last downloaded version. This | 1629 // String that represents the recovery component last downloaded version. This |
1641 // takes the usual 'a.b.c.d' notation. | 1630 // takes the usual 'a.b.c.d' notation. |
1642 const char kRecoveryComponentVersion[] = "recovery_component.version"; | 1631 const char kRecoveryComponentVersion[] = "recovery_component.version"; |
1643 | 1632 |
1644 // String that stores the component updater last known state. This is used for | 1633 // String that stores the component updater last known state. This is used for |
1645 // troubleshooting. | 1634 // troubleshooting. |
1646 const char kComponentUpdaterState[] = "component_updater.state"; | 1635 const char kComponentUpdaterState[] = "component_updater.state"; |
1647 | 1636 |
1648 } // namespace prefs | 1637 } // namespace prefs |
OLD | NEW |