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

Unified Diff: chrome/browser/about_flags.cc

Issue 1685043002: Convert --{enable,disable}-simplified-fullscreen-ui to a feature flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/ui/exclusive_access/exclusive_access_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 09ba9415359f77552d6bd72ed17cfcf087385863..d53ac7b77435e421ef9efb94d8ad0eb02f058dba 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -104,6 +104,10 @@
#include "ui/ozone/public/ozone_switches.h"
#endif
+#if defined(TOOLKIT_VIEWS)
+#include "chrome/browser/ui/exclusive_access/exclusive_access_manager.h"
+#endif
+
using flags_ui::FeatureEntry;
using flags_ui::kOsMac;
using flags_ui::kOsWin;
@@ -1614,10 +1618,11 @@ const FeatureEntry kFeatureEntries[] = {
IDS_FLAGS_NEW_TASK_MANAGER_DESCRIPTION, kOsDesktop,
SINGLE_DISABLE_VALUE_TYPE(switches::kDisableNewTaskManager)},
#endif // defined(ENABLE_TASK_MANAGER)
+#if defined(TOOLKIT_VIEWS)
{"simplified-fullscreen-ui", IDS_FLAGS_SIMPLIFIED_FULLSCREEN_UI_NAME,
IDS_FLAGS_SIMPLIFIED_FULLSCREEN_UI_DESCRIPTION, kOsDesktop,
- ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSimplifiedFullscreenUI,
- switches::kDisableSimplifiedFullscreenUI)},
+ FEATURE_VALUE_TYPE(ExclusiveAccessManager::kSimplifiedUIFeature)},
+#endif // defined(TOOLKIT_VIEWS)
#if defined(OS_ANDROID)
{"progress-bar-animation", IDS_FLAGS_PROGRESS_BAR_ANIMATION_NAME,
IDS_FLAGS_PROGRESS_BAR_ANIMATION_DESCRIPTION, kOsAndroid,
« no previous file with comments | « no previous file | chrome/browser/ui/exclusive_access/exclusive_access_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698