Split toolkit-views dialog plumbing on Mac into "Pilot" and "All" categories.
Pilot dialogs will be put behind --secondary-ui-md.
Other dialogs get a separate, chrome://flags/#show-all-dialogs-with-views-toolkit
This allows us to roll out Harmony UI to Mac in stages on Mac, where it is a
major change.
A side-effect of this CL means that with just pilot dialogs, some Cocoa
dialogs will be anchored differently, even though they still use an arrow.
The first round of pilot dialogs are:
- Add Bookmark (bubble)
- HTTP Auth (tab modal)
- Upgrade chrome (window modal)
- Zoom (bubble)
Bug: 775848
Change-Id: If127171ebeb9f626219036aa9696d7626b81d989
Reviewed-on: https://chromium-review.googlesource.com/725201
Commit-Queue: Trent Apted <[email protected]>
Reviewed-by: Elly Fong-Jones <[email protected]>
Cr-Commit-Position: refs/heads/master@{#510779}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index ffae4f0..7cd8979 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2199,6 +2199,10 @@
{"mac-views-task-manager", flag_descriptions::kMacViewsTaskManagerName,
flag_descriptions::kMacViewsTaskManagerDescription, kOsMac,
FEATURE_VALUE_TYPE(features::kViewsTaskManager)},
+ {"show-all-dialogs-with-views-toolkit",
+ flag_descriptions::kShowAllDialogsWithViewsToolkitName,
+ flag_descriptions::kShowAllDialogsWithViewsToolkitDescription, kOsMac,
+ FEATURE_VALUE_TYPE(features::kShowAllDialogsWithViewsToolkit)},
{"app-window-cycling", flag_descriptions::kAppWindowCyclingName,
flag_descriptions::kAppWindowCyclingDescription, kOsMac,
ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppWindowCycling,