diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-17 20:25:38 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-17 20:25:38 +0000 |
commit | 5e2e091dc069e89c20eee97202e4e43306ad0309 (patch) | |
tree | 818cdfbcc659fc24c48e1a5e2c9f2efc5a9f9cc6 /views/window | |
parent | 4ba51e2ab55061b8750c904c2aeca19899ac02ee (diff) | |
download | chromium_src-5e2e091dc069e89c20eee97202e4e43306ad0309.zip chromium_src-5e2e091dc069e89c20eee97202e4e43306ad0309.tar.gz chromium_src-5e2e091dc069e89c20eee97202e4e43306ad0309.tar.bz2 |
These two un-reviewed lines made it into my last commit and weren't part of the change. Removing.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85668 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window')
-rw-r--r-- | views/window/window_win.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/views/window/window_win.cc b/views/window/window_win.cc index 8ac69b5..2845379 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, 0, 0); + return gfx::Insets(0, 0, IsFullscreen() ? 0 : 1, 0); } int WindowWin::GetShowState() const { @@ -584,7 +584,6 @@ 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. |