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

Unified Diff: chrome/browser/ui/browser_dialogs_mac.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
« chrome/app/generated_resources.grd ('K') | « chrome/browser/ui/browser_dialogs.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_dialogs_mac.cc
diff --git a/chrome/browser/ui/browser_dialogs_mac.cc b/chrome/browser/ui/browser_dialogs_mac.cc
index a85fbcbe6e1bd2a6d94dddf318f07415fde762fa..9ed5b834525dc14338178ee240fc212214b6022b 100644
--- a/chrome/browser/ui/browser_dialogs_mac.cc
+++ b/chrome/browser/ui/browser_dialogs_mac.cc
@@ -8,12 +8,12 @@
#include "base/feature_list.h"
#include "chrome/common/chrome_switches.h"
+namespace chrome {
+
const base::Feature kMacViewsWebUIDialogs {
"MacViewsWebUIDialogs", base::FEATURE_DISABLED_BY_DEFAULT
};
-namespace chrome {
-
bool ToolkitViewsDialogsEnabled() {
return base::CommandLine::ForCurrentProcess()->HasSwitch(
msw 2016/05/24 17:01:29 optional nit: convert this to a feature for parity
tapted 2016/05/25 12:01:49 Done. I do like consistency :). But my conscience
switches::kEnableMacViewsDialogs);
« chrome/app/generated_resources.grd ('K') | « chrome/browser/ui/browser_dialogs.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698