From 640bab89449adfefe55aa43101b970bc2961824e Mon Sep 17 00:00:00 2001 From: "kinuko@chromium.org" Date: Wed, 30 Jan 2013 12:30:19 +0000 Subject: Revert 179554 - suspected to break browser_tests on Mac 10.6 > Refactor FullscreenController removing TogglePresentationMode & adding ToggleFullscreenWithChrome. > > Part of a series of refactoring changes that will enable simpler code in FullscreenController as well as correcting behavior there. This change attempts to make the minimal modifications required in order to have FullscreenController::ToggleFullscreenMode consistently mean fullscreen with no browser chrome on all platforms. > > Depends on https://codereview.chromium.org/12018007/ > > BUG=169138 > > Review URL: https://chromiumcodereview.appspot.com/11896104 TBR=scheib@chromium.org Review URL: https://codereview.chromium.org/12089068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179615 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/ui/browser.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chrome/browser/ui/browser.h') diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h index 9f86dd5..ec797fc 100644 --- a/chrome/browser/ui/browser.h +++ b/chrome/browser/ui/browser.h @@ -346,6 +346,9 @@ class Browser : public TabStripModelObserver, // See the description of FullscreenController::ToggleMetroSnapMode. void SetMetroSnapMode(bool enable); #endif +#if defined(OS_MACOSX) + void TogglePresentationMode(); +#endif // Returns true if the Browser supports the specified feature. The value of // this varies during the lifetime of the browser. For example, if the window -- cgit v1.1