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/macros.h" | 7 #include "base/macros.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "chrome/common/features.h" | 9 #include "chrome/common/features.h" |
10 #include "chrome/common/pref_font_webkit_names.h" | 10 #include "chrome/common/pref_font_webkit_names.h" |
(...skipping 1504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1515 | 1515 |
1516 // Whether Extensions are enabled. | 1516 // Whether Extensions are enabled. |
1517 const char kDisableExtensions[] = "extensions.disabled"; | 1517 const char kDisableExtensions[] = "extensions.disabled"; |
1518 | 1518 |
1519 // Whether the plugin finder that lets you install missing plugins is enabled. | 1519 // Whether the plugin finder that lets you install missing plugins is enabled. |
1520 const char kDisablePluginFinder[] = "plugins.disable_plugin_finder"; | 1520 const char kDisablePluginFinder[] = "plugins.disable_plugin_finder"; |
1521 | 1521 |
1522 // Customized app page names that appear on the New Tab Page. | 1522 // Customized app page names that appear on the New Tab Page. |
1523 const char kNtpAppPageNames[] = "ntp.app_page_names"; | 1523 const char kNtpAppPageNames[] = "ntp.app_page_names"; |
1524 | 1524 |
1525 #if BUILDFLAG(ANDROID_JAVA_UI) | |
1526 // Keeps track of currently open tabs collapsed state in the Other Devices menu. | |
1527 const char kNtpCollapsedCurrentlyOpenTabs[] = "ntp.collapsed_open_tabs"; | |
1528 #endif | |
1529 | |
1530 // Keeps track of which sessions are collapsed in the Other Devices menu. | 1525 // Keeps track of which sessions are collapsed in the Other Devices menu. |
1531 const char kNtpCollapsedForeignSessions[] = "ntp.collapsed_foreign_sessions"; | 1526 const char kNtpCollapsedForeignSessions[] = "ntp.collapsed_foreign_sessions"; |
1532 | 1527 |
1533 #if BUILDFLAG(ANDROID_JAVA_UI) | 1528 #if BUILDFLAG(ANDROID_JAVA_UI) |
1534 // Keeps track of recently closed tabs collapsed state in the Other Devices | 1529 // Keeps track of recently closed tabs collapsed state in the Other Devices |
1535 // menu. | 1530 // menu. |
1536 const char kNtpCollapsedRecentlyClosedTabs[] = | 1531 const char kNtpCollapsedRecentlyClosedTabs[] = |
1537 "ntp.collapsed_recently_closed_tabs"; | 1532 "ntp.collapsed_recently_closed_tabs"; |
1538 | 1533 |
1539 // Keeps track of snapshot documents collapsed state in the Other Devices menu. | 1534 // Keeps track of snapshot documents collapsed state in the Other Devices menu. |
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2349 const char kSearchGeolocationPreDisclosureMetricsRecorded[] = | 2344 const char kSearchGeolocationPreDisclosureMetricsRecorded[] = |
2350 "search_geolocation_pre_disclosure_metrics_recorded"; | 2345 "search_geolocation_pre_disclosure_metrics_recorded"; |
2351 | 2346 |
2352 // Whether the metrics for the state of geolocation post-disclosure being shown | 2347 // Whether the metrics for the state of geolocation post-disclosure being shown |
2353 // have been recorded. | 2348 // have been recorded. |
2354 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = | 2349 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = |
2355 "search_geolocation_post_disclosure_metrics_recorded"; | 2350 "search_geolocation_post_disclosure_metrics_recorded"; |
2356 #endif | 2351 #endif |
2357 | 2352 |
2358 } // namespace prefs | 2353 } // namespace prefs |
OLD | NEW |