Simplify Desktop PWA flags.
- desktop-pwa-windowing now implies experimental-app-banners.
- Renamed desktop-pwa-windowing to desktop-pwas. (This will de-activate
the existing flag for anyone who has it turned on.)
- Updated flag descriptions in about:flags.
- Fixed code behind experimental-app-banners to use the function to
check if it's turned on.
Note that the internal feature name DesktopPWAWindowing (i.e., what you
would use on the command line) has not changed, and is now a misnomer as
it also turns on experimental app banners.
Bug: 788072
Tbr: [email protected]
Change-Id: Ic39674c20313e632f427bb795557d70dce894599
Reviewed-on: https://chromium-review.googlesource.com/786357
Reviewed-by: Ben Wells <[email protected]>
Reviewed-by: Giovanni Ortuño Urquidi <[email protected]>
Commit-Queue: Matt Giuca <[email protected]>
Cr-Commit-Position: refs/heads/master@{#519038}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 602d55b..37de2623 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2094,9 +2094,8 @@
flag_descriptions::kBypassAppBannerEngagementChecksName,
flag_descriptions::kBypassAppBannerEngagementChecksDescription, kOsAll,
SINGLE_VALUE_TYPE(switches::kBypassAppBannerEngagementChecks)},
- {"enable-desktop-pwa-windowing",
- flag_descriptions::kEnableDesktopPWAWindowingName,
- flag_descriptions::kEnableDesktopPWAWindowingDescription, kOsDesktop,
+ {"enable-desktop-pwas", flag_descriptions::kEnableDesktopPWAsName,
+ flag_descriptions::kEnableDesktopPWAsDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kDesktopPWAWindowing)},
{"use-sync-sandbox", flag_descriptions::kSyncSandboxName,
flag_descriptions::kSyncSandboxDescription, kOsAll,