Index: extensions/browser/app_window/app_window.cc |
diff --git a/extensions/browser/app_window/app_window.cc b/extensions/browser/app_window/app_window.cc |
index 285ca2d788ed89c4209a6df2edc23ae8ae83602a..3bc622580bd6e1564180fdbc513fef346f869306 100644 |
--- a/extensions/browser/app_window/app_window.cc |
+++ b/extensions/browser/app_window/app_window.cc |
@@ -929,6 +929,15 @@ void AppWindow::NavigationStateChanged(content::WebContents* source, |
native_app_window_->UpdateWindowIcon(); |
} |
+void AppWindow::EnterFullscreenModeForTab(content::WebContents* source, |
+ const GURL& origin) { |
+ ToggleFullscreenModeForTab(source, true); |
+} |
+ |
+void AppWindow::ExitFullscreenModeForTab(content::WebContents* source) { |
+ ToggleFullscreenModeForTab(source, false); |
+} |
+ |
void AppWindow::ToggleFullscreenModeForTab(content::WebContents* source, |
bool enter_fullscreen) { |
const Extension* extension = GetExtension(); |