Reland "Add the about flags for the TabManager/RC features."
This is a reland of 448f72d0803a96e428ea00f475d36b057758d3e4 with a fix
to remove a static initializer, the problem was that a global variable
was initialized using a member field of another global struct.
Bug: 854896
Original change's description:
> Add the about flags for the TabManager/RC features.
>
> Change-Id: Id68cad067bb35f3b11bd8828806860110e8aaf79
> Reviewed-on: https://chromium-review.googlesource.com/1103304
> Commit-Queue: Sébastien Marchand <[email protected]>
> Reviewed-by: François Doray <[email protected]>
> Cr-Commit-Position: refs/heads/master@{#569094}
Change-Id: I1b490e126b4a4359ba6314f0e2ccc1b631cd2143
Reviewed-on: https://chromium-review.googlesource.com/1110157
Commit-Queue: Sébastien Marchand <[email protected]>
Commit-Queue: François Doray <[email protected]>
Reviewed-by: François Doray <[email protected]>
Cr-Commit-Position: refs/heads/master@{#569803}
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index e38dc0c4..09c7610f 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -2560,10 +2560,32 @@
"Enabled (Flash lowers volume when interrupted by other sound, "
"experimental)";
+const char kInfiniteSessionRestoreName[] = "Infinite Session Restore";
+const char kInfiniteSessionRestoreDescription[] =
+ "Reduces the number of tabs being loaded simultaneously during session "
+ "restore, to improve responsiveness of the foreground tab. This requires "
+ "#enable-page-almost-idle.";
+
const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
const char kEnableNewAppMenuIconDescription[] =
"Use the new app menu icon with update notification animations.";
+const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
+const char kEnableWebAuthenticationAPIDescription[] =
+ "Enable Web Authentication API support";
+
+const char kEnableWebAuthenticationCtap2SupportName[] =
+ "Enable Web Authentication API support for CTAP2 security keys";
+const char kEnableWebAuthenticationCtap2SupportDescription[] =
+ "Enable CTAP2 security keys for the Web Authenication API.";
+
+const char kEnableWebAuthenticationTestingAPIName[] =
+ "Web Authentication Testing API";
+const char kEnableWebAuthenticationTestingAPIDescription[] =
+ "Enable Web Authentication Testing API support, which disconnects the API "
+ "implementation from the real world, and allows configuring virtual "
+ "authenticator devices for testing";
+
const char kOmniboxRichEntitySuggestionsName[] =
"Omnibox rich entity suggestions";
const char kOmniboxRichEntitySuggestionsDescription[] =
@@ -2596,6 +2618,23 @@
"Show a OneGoogleBar on the local New Tab page if Google is the default "
"search engine.";
+const char kPageAlmostIdleName[] = "Page Almost Idle";
+const char kPageAlmostIdleDescription[] =
+ "Make session restore use a definition of loading that waits for CPU and "
+ "network quiescence.";
+
+const char kProactiveTabFreezeAndDiscardName[] =
+ "Proactive Tab Freeze and Discard";
+const char kProactiveTabFreezeAndDiscardDescription[] =
+ "Enables proactive tab freezing and discarding. This requires "
+ "#enable-page-almost-idle.";
+
+const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
+const char kSiteCharacteristicsDatabaseDescription[] =
+ "Records usage of some features in a database while a tab is in background "
+ "(title/favicon update, audio playback or usage of non-persistent "
+ "notifications).";
+
const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
const char kUseGoogleLocalNtpDescription[] =
"Use the local New Tab page if Google is the default search engine.";
@@ -2606,22 +2645,6 @@
"Show a microphone for voice search on the local New Tab page "
"if Google is the default search engine.";
-const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
-const char kEnableWebAuthenticationAPIDescription[] =
- "Enable Web Authentication API support";
-
-const char kEnableWebAuthenticationCtap2SupportName[] =
- "Enable Web Authentication API support for CTAP2 security keys";
-const char kEnableWebAuthenticationCtap2SupportDescription[] =
- "Enable CTAP2 security keys for the Web Authenication API.";
-
-const char kEnableWebAuthenticationTestingAPIName[] =
- "Web Authentication Testing API";
-const char kEnableWebAuthenticationTestingAPIDescription[] =
- "Enable Web Authentication Testing API support, which disconnects the API "
- "implementation from the real world, and allows configuring virtual "
- "authenticator devices for testing";
-
#if defined(GOOGLE_CHROME_BUILD)
const char kGoogleBrandedContextMenuName[] =