Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(472)

Side by Side Diff: chrome/common/pref_names.cc

Issue 1330773002: [Android] Persist ordering of NTP suggestions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1471 matching lines...) Expand 10 before | Expand all | Expand 10 after
1482 // Keeps track of snapshot documents collapsed state in the Other Devices menu. 1482 // Keeps track of snapshot documents collapsed state in the Other Devices menu.
1483 const char kNtpCollapsedSnapshotDocument[] = "ntp.collapsed_snapshot_document"; 1483 const char kNtpCollapsedSnapshotDocument[] = "ntp.collapsed_snapshot_document";
1484 1484
1485 // Keeps track of sync promo collapsed state in the Other Devices menu. 1485 // Keeps track of sync promo collapsed state in the Other Devices menu.
1486 const char kNtpCollapsedSyncPromo[] = "ntp.collapsed_sync_promo"; 1486 const char kNtpCollapsedSyncPromo[] = "ntp.collapsed_sync_promo";
1487 #endif 1487 #endif
1488 1488
1489 // Which page should be visible on the new tab page v4 1489 // Which page should be visible on the new tab page v4
1490 const char kNtpShownPage[] = "ntp.shown_page"; 1490 const char kNtpShownPage[] = "ntp.shown_page";
1491 1491
1492 #if defined(OS_ANDROID)
1493 // Ordered list of website suggestions shown on the new tab page that will allow
1494 // retaining the order even if the suggestions change over time.
1495 const char kNTPSuggestionsURL[] = "ntp.suggestions_url";
1496
1497 // The source of the above suggestions.
1498 const char kNTPSuggestionsSource[] = "ntp.suggestions_source";
Marc Treib 2015/09/07 11:13:00 This is actually a list of bools, so what does "so
knn 2015/09/08 10:48:56 Done.
1499 #endif
1500
1492 // A private RSA key for ADB handshake. 1501 // A private RSA key for ADB handshake.
1493 const char kDevToolsAdbKey[] = "devtools.adb_key"; 1502 const char kDevToolsAdbKey[] = "devtools.adb_key";
1494 1503
1495 const char kDevToolsDisabled[] = "devtools.disabled"; 1504 const char kDevToolsDisabled[] = "devtools.disabled";
1496 1505
1497 // Determines whether devtools should be discovering usb devices for 1506 // Determines whether devtools should be discovering usb devices for
1498 // remote debugging at chrome://inspect. 1507 // remote debugging at chrome://inspect.
1499 const char kDevToolsDiscoverUsbDevicesEnabled[] = 1508 const char kDevToolsDiscoverUsbDevicesEnabled[] =
1500 "devtools.discover_usb_devices"; 1509 "devtools.discover_usb_devices";
1501 1510
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
2213 "supervised_users.whitelists"; 2222 "supervised_users.whitelists";
2214 2223
2215 #if defined(ENABLE_EXTENSIONS) 2224 #if defined(ENABLE_EXTENSIONS)
2216 // Policy that indicates how to handle animated images. 2225 // Policy that indicates how to handle animated images.
2217 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; 2226 const char kAnimationPolicy[] = "settings.a11y.animation_policy";
2218 #endif 2227 #endif
2219 2228
2220 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload"; 2229 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload";
2221 2230
2222 } // namespace prefs 2231 } // namespace prefs
OLDNEW
« chrome/browser/android/most_visited_sites_unittest.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698