summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/fullscreen_controller.h
diff options
context:
space:
mode:
authorsail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-12 20:49:26 +0000
committersail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-12 20:49:26 +0000
commit401ef2912a7550b5fdb9b777d3b52f945760c04a (patch)
treeb9acac8d9b39f724cbcb6e2be5c3cc675317857d /chrome/browser/ui/fullscreen_controller.h
parentb7b50ed01fbfa8f83a421aa1c88dcbce955810d9 (diff)
downloadchromium_src-401ef2912a7550b5fdb9b777d3b52f945760c04a.zip
chromium_src-401ef2912a7550b5fdb9b777d3b52f945760c04a.tar.gz
chromium_src-401ef2912a7550b5fdb9b777d3b52f945760c04a.tar.bz2
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
Diffstat (limited to 'chrome/browser/ui/fullscreen_controller.h')
-rw-r--r--chrome/browser/ui/fullscreen_controller.h10
1 files changed, 0 insertions, 10 deletions
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<FullscreenController> {
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<FullscreenController> {
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