From 88df2dcb0c27fcc59835d72d35960d6da6649655 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Wed, 18 May 2011 00:12:45 +0000 Subject: Revert 85668 - These two un-reviewed lines made it into my last commit and weren't part of the change. Removing. TBR=ben@chromium.org Review URL: http://codereview.chromium.org/7039028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85701 0039d316-1c4b-4281-b951-d872f2087c98 --- views/window/window_win.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'views/window') diff --git a/views/window/window_win.cc b/views/window/window_win.cc index 2845379..8ac69b5 100644 --- a/views/window/window_win.cc +++ b/views/window/window_win.cc @@ -331,7 +331,7 @@ gfx::Insets WindowWin::GetClientAreaInsets() const { // rect when using the opaque frame. // Note: this is only required for non-fullscreen windows. Note that // fullscreen windows are in restored state, not maximized. - return gfx::Insets(0, 0, IsFullscreen() ? 0 : 1, 0); + return gfx::Insets(0, 0, 0, 0); } int WindowWin::GetShowState() const { @@ -584,6 +584,7 @@ LRESULT WindowWin::OnNCActivate(BOOL active) { } LRESULT WindowWin::OnNCCalcSize(BOOL mode, LPARAM l_param) { + //return 0; // We only override the default handling if we need to specify a custom // non-client edge width. Note that in most cases "no insets" means no // custom width, but in fullscreen mode we want a custom width of 0. -- cgit v1.1