summaryrefslogtreecommitdiffstats
path: root/ui/views/widget/native_widget_win.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 /ui/views/widget/native_widget_win.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 'ui/views/widget/native_widget_win.h')
-rw-r--r--ui/views/widget/native_widget_win.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/ui/views/widget/native_widget_win.h b/ui/views/widget/native_widget_win.h
index 868c24b..d584390 100644
--- a/ui/views/widget/native_widget_win.h
+++ b/ui/views/widget/native_widget_win.h
@@ -115,13 +115,6 @@ class VIEWS_EXPORT NativeWidgetWin : public ui::WindowImpl,
// the top of the stack. See PushForceHidden.
void PopForceHidden();
- // Places the window in a pseudo-fullscreen mode where it looks and acts as
- // like a fullscreen window except that it remains within the boundaries
- // of the metro snap divider.
- void SetMetroSnapFullscreen(bool metro_snap);
-
- bool IsInMetroSnapMode() const;
-
BOOL IsWindow() const {
return ::IsWindow(GetNativeView());
}
@@ -538,18 +531,6 @@ class VIEWS_EXPORT NativeWidgetWin : public ui::WindowImpl,
// Overridden from internal::InputMethodDelegate
virtual void DispatchKeyEventPostIME(const KeyEvent& key) OVERRIDE;
- // Common implementation of fullscreen-related code. This method handles
- // changing from windowed mode to a display mode (dubbed fullscreen mode)
- // where the window occupies a fixed portion (possibly 100%) of the screen.
- // |fullscreen| specifies whether we are entering or leaving fullscreen mode.
- // |window_rect| contains sizing information that describes the portion of the
- // screen to be occupied. |window_rect| may be a rect of width
- // 0, which indicates that sizing should be skipped when
- // entering fullscreen mode and previously-stored size should
- // be used when exiting fullscreen mode.
- void SetFullscreenInternal(bool fullscreen,
- const gfx::Rect& window_rect);
-
// A delegate implementation that handles events received here.
// See class documentation for Widget in widget.h for a note about ownership.
internal::NativeWidgetDelegate* delegate_;
@@ -631,9 +612,6 @@ class VIEWS_EXPORT NativeWidgetWin : public ui::WindowImpl,
// True if we're in fullscreen mode.
bool fullscreen_;
- // True if we're in metro snap mode.
- bool metro_snap_;
-
// If this is greater than zero, we should prevent attempts to make the window
// visible when we handle WM_WINDOWPOSCHANGING. Some calls like
// ShowWindow(SW_RESTORE) make the window visible in addition to restoring it,