Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index f5271f56602afac2fc6eee6546b834845bebded7..afb9c99b15c5da62e1e248211724e20ea53249c0 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -1649,10 +1649,13 @@ bool Browser::EmbedsFullscreenWidget() const { |
return true; |
} |
-void Browser::ToggleFullscreenModeForTab(WebContents* web_contents, |
- bool enter_fullscreen) { |
- fullscreen_controller_->ToggleFullscreenModeForTab(web_contents, |
- enter_fullscreen); |
+void Browser::EnterFullscreenModeForTab(WebContents* web_contents, |
+ const GURL& origin) { |
+ fullscreen_controller_->EnterFullscreenModeForTab(web_contents, origin); |
+} |
+ |
+void Browser::ExitFullscreenModeForTab(WebContents* web_contents) { |
+ fullscreen_controller_->ExitFullscreenModeForTab(web_contents); |
} |
bool Browser::IsFullscreenForTabOrPending( |