Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: chrome/browser/about_flags.cc

Issue 2004043003: Expose the MacViewsWebUIDialogs feature flag to chrome://flags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20160520-Enums-MakeThemInt-HeaderChanges-ROLLUP
Patch Set: no c/b/ui for android Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 61d12bc6e1d1466f2e4b915cbb0adb6dca7e454e..4e6f52f4522dfa988f075f9bdb94c3865a819782 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -91,6 +91,10 @@
#include "components/search_engines/desktop_search_utils.h"
#endif // defined(OS_WIN)
+#if defined(OS_MACOSX)
+#include "chrome/browser/ui/browser_dialogs.h"
+#endif
+
#if defined(ENABLE_APP_LIST)
#include "ui/app_list/app_list_switches.h"
#endif
@@ -1563,9 +1567,12 @@ const FeatureEntry kFeatureEntries[] = {
IDS_FLAGS_APP_WINDOW_CYCLING_DESCRIPTION, kOsMac,
ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppWindowCycling,
switches::kDisableAppWindowCycling)},
- {"mac-views-dialogs", IDS_FLAGS_MAC_VIEWS_DIALOGS_NAME,
+ {"mac-views-dialogs-phase3", IDS_FLAGS_MAC_VIEWS_DIALOGS_NAME,
IDS_FLAGS_MAC_VIEWS_DIALOGS_DESCRIPTION, kOsMac,
SINGLE_VALUE_TYPE(switches::kEnableMacViewsDialogs)},
+ {"mac-views-dialogs-phase2", IDS_FLAGS_MAC_VIEWS_DIALOGS_PHASE2_NAME,
+ IDS_FLAGS_MAC_VIEWS_DIALOGS_PHASE2_DESCRIPTION, kOsMac,
+ FEATURE_VALUE_TYPE(chrome::kMacViewsWebUIDialogs)},
#endif
#if defined(ENABLE_WEBVR)
{"enable-webvr", IDS_FLAGS_WEBVR_NAME, IDS_FLAGS_WEBVR_DESCRIPTION, kOsAll,

Powered by Google App Engine
This is Rietveld 408576698