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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 2524213002: MacViews: Consolidate flags. Just use --secondary-ui-md to enable MacViews. (Closed)
Patch Set: remove obsolete comment from r409593 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 1577 matching lines...) Expand 10 before | Expand all | Expand 10 after
1588 switches::kDisableAppInfoDialogMac)}, 1588 switches::kDisableAppInfoDialogMac)},
1589 {"mac-views-native-app-windows", 1589 {"mac-views-native-app-windows",
1590 IDS_FLAGS_MAC_VIEWS_NATIVE_APP_WINDOWS_NAME, 1590 IDS_FLAGS_MAC_VIEWS_NATIVE_APP_WINDOWS_NAME,
1591 IDS_FLAGS_MAC_VIEWS_NATIVE_APP_WINDOWS_DESCRIPTION, kOsMac, 1591 IDS_FLAGS_MAC_VIEWS_NATIVE_APP_WINDOWS_DESCRIPTION, kOsMac,
1592 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableMacViewsNativeAppWindows, 1592 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableMacViewsNativeAppWindows,
1593 switches::kDisableMacViewsNativeAppWindows)}, 1593 switches::kDisableMacViewsNativeAppWindows)},
1594 {"app-window-cycling", IDS_FLAGS_APP_WINDOW_CYCLING_NAME, 1594 {"app-window-cycling", IDS_FLAGS_APP_WINDOW_CYCLING_NAME,
1595 IDS_FLAGS_APP_WINDOW_CYCLING_DESCRIPTION, kOsMac, 1595 IDS_FLAGS_APP_WINDOW_CYCLING_DESCRIPTION, kOsMac,
1596 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppWindowCycling, 1596 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppWindowCycling,
1597 switches::kDisableAppWindowCycling)}, 1597 switches::kDisableAppWindowCycling)},
1598 {"mac-views-native-dialogs", IDS_FLAGS_MAC_VIEWS_NATIVE_DIALOGS_NAME,
1599 IDS_FLAGS_MAC_VIEWS_NATIVE_DIALOGS_DESCRIPTION, kOsMac,
1600 FEATURE_VALUE_TYPE(chrome::kMacViewsNativeDialogs)},
1601 {"mac-views-webui-dialogs", IDS_FLAGS_MAC_VIEWS_WEBUI_DIALOGS_NAME,
1602 IDS_FLAGS_MAC_VIEWS_WEBUI_DIALOGS_DESCRIPTION, kOsMac,
1603 FEATURE_VALUE_TYPE(chrome::kMacViewsWebUIDialogs)},
1604 #endif // OS_MACOSX 1598 #endif // OS_MACOSX
1605 #if defined(ENABLE_WEBVR) 1599 #if defined(ENABLE_WEBVR)
1606 {"enable-webvr", IDS_FLAGS_WEBVR_NAME, IDS_FLAGS_WEBVR_DESCRIPTION, kOsAll, 1600 {"enable-webvr", IDS_FLAGS_WEBVR_NAME, IDS_FLAGS_WEBVR_DESCRIPTION, kOsAll,
1607 SINGLE_VALUE_TYPE(switches::kEnableWebVR)}, 1601 SINGLE_VALUE_TYPE(switches::kEnableWebVR)},
1608 #endif // ENABLE_WEBVR 1602 #endif // ENABLE_WEBVR
1609 #if defined(ENABLE_VR_SHELL) 1603 #if defined(ENABLE_VR_SHELL)
1610 {"enable-vr-shell", IDS_FLAGS_ENABLE_VR_SHELL_NAME, 1604 {"enable-vr-shell", IDS_FLAGS_ENABLE_VR_SHELL_NAME,
1611 IDS_FLAGS_ENABLE_VR_SHELL_DESCRIPTION, kOsAndroid, 1605 IDS_FLAGS_ENABLE_VR_SHELL_DESCRIPTION, kOsAndroid,
1612 FEATURE_VALUE_TYPE(features::kVrShell)}, 1606 FEATURE_VALUE_TYPE(features::kVrShell)},
1613 #endif // ENABLE_VR_SHELL 1607 #endif // ENABLE_VR_SHELL
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
2318 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2312 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2319 2313
2320 const FeatureEntry* GetFeatureEntries(size_t* count) { 2314 const FeatureEntry* GetFeatureEntries(size_t* count) {
2321 *count = arraysize(kFeatureEntries); 2315 *count = arraysize(kFeatureEntries);
2322 return kFeatureEntries; 2316 return kFeatureEntries;
2323 } 2317 }
2324 2318
2325 } // namespace testing 2319 } // namespace testing
2326 2320
2327 } // namespace about_flags 2321 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698