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

Side by Side Diff: chrome/browser/ui/browser_dialogs_mac.cc

Issue 2524213002: MacViews: Consolidate flags. Just use --secondary-ui-md to enable MacViews. (Closed)
Patch Set: rebase for r435075 Created 4 years 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/ui/browser_dialogs.h"
6
7 #include "base/feature_list.h"
8
9 namespace chrome {
10
11 const base::Feature kMacViewsNativeDialogs {
12 "MacViewsNativeDialogs", base::FEATURE_DISABLED_BY_DEFAULT
13 };
14
15 const base::Feature kMacViewsWebUIDialogs {
16 "MacViewsWebUIDialogs", base::FEATURE_DISABLED_BY_DEFAULT
17 };
18
19 bool ToolkitViewsDialogsEnabled() {
20 return base::FeatureList::IsEnabled(kMacViewsNativeDialogs);
21 }
22
23 bool ToolkitViewsWebUIDialogsEnabled() {
24 return base::FeatureList::IsEnabled(kMacViewsWebUIDialogs);
25 }
26
27 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_dialogs.h ('k') | chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_views.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698