| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index 5ff62fe60c702bd72f7c49c85b58d896cc1eda19..eaa1665afa05244818b86506442f2ed6e46175d5 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -38,6 +38,7 @@
|
| #include "chrome/browser/tab_contents/render_view_host_delegate_helper.h"
|
| #include "chrome/browser/tab_contents/tab_contents_ssl_helper.h"
|
| #include "chrome/browser/tab_contents/tab_util.h"
|
| +#include "chrome/browser/ui/browser_list.h"
|
| #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| #include "chrome/browser/ui/webui/chrome_web_ui_factory.h"
|
| #include "chrome/common/child_process_logging.h"
|
| @@ -725,6 +726,17 @@ void ChromeContentBrowserClient::ChooseSavePath(
|
| save_package, suggested_path, can_save_as_complete);
|
| }
|
|
|
| +void ChromeContentBrowserClient::EnterFullscreenMode() {
|
| + // TODO: Not sure what the best way to get a hold of the browser here is.
|
| + Browser* browser = BrowserList::GetLastActive();
|
| + browser->ToggleFullscreenMode();
|
| +}
|
| +
|
| +void ChromeContentBrowserClient::ExitFullscreenMode() {
|
| + Browser* browser = BrowserList::GetLastActive();
|
| + browser->ToggleFullscreenMode();
|
| +}
|
| +
|
| #if defined(OS_LINUX)
|
| int ChromeContentBrowserClient::GetCrashSignalFD(
|
| const std::string& process_type) {
|
|
|