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

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

Issue 33863002: Added pref for snapshot document collapsed state (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 years, 1 month 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1689 matching lines...) Expand 10 before | Expand all | Expand 10 after
1700 // an extension ID and an update URL, delimited by a semicolon. 1700 // an extension ID and an update URL, delimited by a semicolon.
1701 // This preference is set by an admin policy, and meant to be only 1701 // This preference is set by an admin policy, and meant to be only
1702 // accessed through extensions::ExternalPolicyProvider. 1702 // accessed through extensions::ExternalPolicyProvider.
1703 const char kExtensionInstallForceList[] = "extensions.install.forcelist"; 1703 const char kExtensionInstallForceList[] = "extensions.install.forcelist";
1704 1704
1705 // Indicates on-disk data might have skeletal data that needs to be cleaned 1705 // Indicates on-disk data might have skeletal data that needs to be cleaned
1706 // on the next start of the browser. 1706 // on the next start of the browser.
1707 const char kExtensionStorageGarbageCollect[] = 1707 const char kExtensionStorageGarbageCollect[] =
1708 "extensions.storage.garbagecollect"; 1708 "extensions.storage.garbagecollect";
1709 1709
1710 // Customized app page names that appear on the New Tab Page.
1711 const char kNtpAppPageNames[] = "ntp.app_page_names";
1712
1710 // Keeps track of which sessions are collapsed in the Other Devices menu. 1713 // Keeps track of which sessions are collapsed in the Other Devices menu.
1711 const char kNtpCollapsedForeignSessions[] = "ntp.collapsed_foreign_sessions"; 1714 const char kNtpCollapsedForeignSessions[] = "ntp.collapsed_foreign_sessions";
1712 1715
1716 // Keeps track of recently closed tabs collapsed state in the Other Devices
1717 // menu.
1718 const char kNtpCollapsedRecentlyClosedTabs[] =
1719 "ntp.collapsed_recently_closed_tabs";
1720
1721 // Keeps track of snapshot documents collapsed state in the Other Devices menu.
1722 const char kNtpCollapsedSnapshotDocument[] = "ntp.collapsed_snapshot_document";
1723
1724 // Keeps track of sync promo collapsed state in the Other Devices menu.
1725 const char kNtpCollapsedSyncPromo[] = "ntp.collapsed_sync_promo";
1726
1727 // Serves dates to determine display of elements on the NTP.
1728 const char kNtpDateResourceServer[] = "ntp.date_resource_server";
1729
1713 // New Tab Page URLs that should not be shown as most visited thumbnails. 1730 // New Tab Page URLs that should not be shown as most visited thumbnails.
1714 const char kNtpMostVisitedURLsBlacklist[] = "ntp.most_visited_blacklist"; 1731 const char kNtpMostVisitedURLsBlacklist[] = "ntp.most_visited_blacklist";
1715 1732
1733 // True if a desktop sync session was found for this user.
1734 const char kNtpPromoDesktopSessionFound[] = "ntp.promo_desktop_session_found";
1735
1716 // Last time of update of promo_resource_cache. 1736 // Last time of update of promo_resource_cache.
1717 const char kNtpPromoResourceCacheUpdate[] = "ntp.promo_resource_cache_update"; 1737 const char kNtpPromoResourceCacheUpdate[] = "ntp.promo_resource_cache_update";
1718 1738
1719 // Serves tips for the NTP.
1720 const char kNtpTipsResourceServer[] = "ntp.tips_resource_server";
1721
1722 // Serves dates to determine display of elements on the NTP.
1723 const char kNtpDateResourceServer[] = "ntp.date_resource_server";
1724
1725 // Which bookmarks folder should be visible on the new tab page v4. 1739 // Which bookmarks folder should be visible on the new tab page v4.
1726 const char kNtpShownBookmarksFolder[] = "ntp.shown_bookmarks_folder"; 1740 const char kNtpShownBookmarksFolder[] = "ntp.shown_bookmarks_folder";
1727 1741
1728 // Which page should be visible on the new tab page v4 1742 // Which page should be visible on the new tab page v4
1729 const char kNtpShownPage[] = "ntp.shown_page"; 1743 const char kNtpShownPage[] = "ntp.shown_page";
1730 1744
1731 // True if a desktop sync session was found for this user. 1745 // Serves tips for the NTP.
1732 const char kNtpPromoDesktopSessionFound[] = "ntp.promo_desktop_session_found"; 1746 const char kNtpTipsResourceServer[] = "ntp.tips_resource_server";
1733 1747
1734 // Boolean indicating whether the web store is active for the current locale. 1748 // Boolean indicating whether the web store is active for the current locale.
1735 const char kNtpWebStoreEnabled[] = "ntp.webstore_enabled"; 1749 const char kNtpWebStoreEnabled[] = "ntp.webstore_enabled";
1736 1750
1737 // Customized app page names that appear on the New Tab Page.
1738 const char kNtpAppPageNames[] = "ntp.app_page_names";
1739
1740 // A private RSA key for ADB handshake. 1751 // A private RSA key for ADB handshake.
1741 const char kDevToolsAdbKey[] = "devtools.adb_key"; 1752 const char kDevToolsAdbKey[] = "devtools.adb_key";
1742 1753
1743 const char kDevToolsDisabled[] = "devtools.disabled"; 1754 const char kDevToolsDisabled[] = "devtools.disabled";
1744 1755
1745 // Determines whether devtools should be discovering usb devices for 1756 // Determines whether devtools should be discovering usb devices for
1746 // remote debugging at chrome://inspect. 1757 // remote debugging at chrome://inspect.
1747 const char kDevToolsDiscoverUsbDevicesEnabled[] = 1758 const char kDevToolsDiscoverUsbDevicesEnabled[] =
1748 "devtools.discover_usb_devices"; 1759 "devtools.discover_usb_devices";
1749 1760
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after
2602 #if defined(OS_ANDROID) 2613 #if defined(OS_ANDROID)
2603 // A list of partner bookmark rename/remove mappings. 2614 // A list of partner bookmark rename/remove mappings.
2604 // Each list item is a dictionary containing a "url", a "provider_title" and 2615 // Each list item is a dictionary containing a "url", a "provider_title" and
2605 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2616 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2606 // given by the PartnerBookmarksProvider and either the user-visible renamed 2617 // given by the PartnerBookmarksProvider and either the user-visible renamed
2607 // title or an empty string if the bookmark node was removed. 2618 // title or an empty string if the bookmark node was removed.
2608 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2619 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2609 #endif 2620 #endif
2610 2621
2611 } // namespace prefs 2622 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698