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

Unified Diff: chrome/browser/ui/exclusive_access/exclusive_access_manager.cc

Issue 2012763005: Remove the simplified-fullscreen-ui flag on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable the right flag ;) 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/exclusive_access/exclusive_access_manager.cc
diff --git a/chrome/browser/ui/exclusive_access/exclusive_access_manager.cc b/chrome/browser/ui/exclusive_access/exclusive_access_manager.cc
index 3492dc448f0195afd22ddf435be1e4ec709c5552..d186bcc65b5afba6f080c5b648efa1060f1673a7 100644
--- a/chrome/browser/ui/exclusive_access/exclusive_access_manager.cc
+++ b/chrome/browser/ui/exclusive_access/exclusive_access_manager.cc
@@ -108,7 +108,13 @@ bool ExclusiveAccessManager::IsExperimentalKeyboardLockUIEnabled() {
// static
bool ExclusiveAccessManager::IsSimplifiedFullscreenUIEnabled() {
+#if defined(OS_MACOSX)
+ // Always enabled on Mac (the mouse cursor tracking required to implement the
+ // non-simplified version is not implemented).
+ return true;
+#else
return base::FeatureList::IsEnabled(features::kSimplifiedFullscreenUI);
+#endif
}
void ExclusiveAccessManager::OnTabDeactivated(WebContents* web_contents) {
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698