| 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 1cf43c62cc2a8890a7d5142f09e690228789a485..b6fb858b044b48dcdd79ae225c9c0afc782b0cdd 100644
|
| --- a/chrome/browser/ui/browser_commands_mac.cc
|
| +++ b/chrome/browser/ui/browser_commands_mac.cc
|
| @@ -8,6 +8,7 @@
|
| #include "chrome/browser/fullscreen.h"
|
| #include "chrome/browser/ui/browser.h"
|
| #include "chrome/browser/ui/browser_commands.h"
|
| +#include "chrome/browser/ui/exclusive_access/exclusive_access_context.h"
|
| #include "chrome/browser/ui/exclusive_access/fullscreen_controller.h"
|
| #include "chrome/common/chrome_switches.h"
|
|
|
| @@ -23,4 +24,9 @@ void ToggleFullscreenWithToolbarOrFallback(Browser* browser) {
|
| ToggleFullscreenMode(browser);
|
| }
|
|
|
| +void ToggleFullscreenToolbar(Browser* browser) {
|
| + DCHECK(browser);
|
| + browser->exclusive_access_manager()->context()->ToggleFullscreenToolbar();
|
| +}
|
| +
|
| } // namespace chrome
|
|
|