From 401ef2912a7550b5fdb9b777d3b52f945760c04a Mon Sep 17 00:00:00 2001 From: "sail@chromium.org" Date: Tue, 12 Jun 2012 20:49:26 +0000 Subject: Revert 141723 - First pass at making Chrome support metro snap mode. It creates a fullscreen-alike mode that Chrome may enter when in metro snap mode. This mode removes the chrome parts of Chrome as well as disabling the F11 key, while clamping Chrome to the size of the snap view portion of the screen. BUG=130623 TEST=NONE Review URL: https://chromiumcodereview.appspot.com/10446106 TBR=robertshield@chromium.org Review URL: https://chromiumcodereview.appspot.com/10534123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141728 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/ui/fullscreen_controller.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'chrome/browser/ui/fullscreen_controller.h') diff --git a/chrome/browser/ui/fullscreen_controller.h b/chrome/browser/ui/fullscreen_controller.h index 281622f..b47ec5e 100644 --- a/chrome/browser/ui/fullscreen_controller.h +++ b/chrome/browser/ui/fullscreen_controller.h @@ -51,11 +51,6 @@ class FullscreenController : public base::RefCounted { bool IsFullscreenForTabOrPending( const content::WebContents* web_contents) const; -#if defined(OS_WIN) - // Returns whether we are currently in a Metro snap view. - bool IsInMetroSnapMode(); -#endif - bool IsMouseLockRequested() const; bool IsMouseLocked() const; @@ -65,11 +60,6 @@ class FullscreenController : public base::RefCounted { bool last_unlocked_by_target); void ToggleFullscreenModeForTab(content::WebContents* web_contents, bool enter_fullscreen); -#if defined(OS_WIN) - // API that puts the window into a mode suitable for rendering when Chrome - // is rendered in a 20% screen-width Metro snap view on Windows 8. - void SetMetroSnapMode(bool enable); -#endif #if defined(OS_MACOSX) void TogglePresentationMode(); #endif -- cgit v1.1