WebUI NTP: add flag to use WebUI NTP for new tabs
Bug: 1040181
Change-Id: Ie22fd7fda3750da6efb4c2f3c03036e6ec436c38
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1992162
Commit-Queue: Esmael Elmoslimany <[email protected]>
Reviewed-by: Peter Kasting <[email protected]>
Reviewed-by: Moe Ahmadi <[email protected]>
Reviewed-by: Lei Zhang <[email protected]>
Cr-Commit-Position: refs/heads/master@{#730665}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 813ab59..5667b68 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -3161,6 +3161,10 @@
flag_descriptions::kNtpRealboxMatchOmniboxThemeDescription, kOsDesktop,
FEATURE_VALUE_TYPE(ntp_features::kRealboxMatchOmniboxTheme)},
+ {"ntp-webui", flag_descriptions::kNtpWebUIName,
+ flag_descriptions::kNtpWebUIDescription, kOsDesktop,
+ FEATURE_VALUE_TYPE(ntp_features::kWebUI)},
+
{"webui-a11y-enhancements", flag_descriptions::kWebUIA11yEnhancementsName,
flag_descriptions::kWebUIA11yEnhancementsDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kWebUIA11yEnhancements)},