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

Unified Diff: chrome/browser/ui/browser_commands_mac.cc

Issue 836933005: Refactor fullscreen_controller. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to TOT Created 5 years, 11 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/ui/browser_commands.cc ('k') | chrome/browser/ui/browser_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_commands_mac.cc
diff --git a/chrome/browser/ui/browser_commands_mac.cc b/chrome/browser/ui/browser_commands_mac.cc
index 49745240ddef9010d225ef430cc3793acdc12355..1cf43c62cc2a8890a7d5142f09e690228789a485 100644
--- a/chrome/browser/ui/browser_commands_mac.cc
+++ b/chrome/browser/ui/browser_commands_mac.cc
@@ -16,7 +16,9 @@ namespace chrome {
void ToggleFullscreenWithToolbarOrFallback(Browser* browser) {
DCHECK(browser);
if (chrome::mac::SupportsSystemFullscreen())
- browser->fullscreen_controller()->ToggleBrowserFullscreenWithToolbar();
+ browser->exclusive_access_manager()
+ ->fullscreen_controller()
+ ->ToggleBrowserFullscreenWithToolbar();
else
ToggleFullscreenMode(browser);
}
« no previous file with comments | « chrome/browser/ui/browser_commands.cc ('k') | chrome/browser/ui/browser_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698