diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-18 00:12:45 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-18 00:12:45 +0000 |
commit | 88df2dcb0c27fcc59835d72d35960d6da6649655 (patch) | |
tree | 3f46b9d28ae7340d3a5a0465b0d66ede7f101840 | |
parent | a9d4333d8c74e69dcdf8cc7d16c6a4c8567c3889 (diff) | |
download | chromium_src-88df2dcb0c27fcc59835d72d35960d6da6649655.zip chromium_src-88df2dcb0c27fcc59835d72d35960d6da6649655.tar.gz chromium_src-88df2dcb0c27fcc59835d72d35960d6da6649655.tar.bz2 |
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
-rw-r--r-- | views/window/window_win.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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. |