summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-08 19:58:34 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-08 19:58:34 +0000
commit867f8912ee9ca452d4cda177d7ac5b489af14104 (patch)
tree6623c5202abf6461de126dee43e424e3c9519f47 /chrome
parenta5e4bb0a67fc355053668c1175c2371a41ee8c92 (diff)
downloadchromium_src-867f8912ee9ca452d4cda177d7ac5b489af14104.zip
chromium_src-867f8912ee9ca452d4cda177d7ac5b489af14104.tar.gz
chromium_src-867f8912ee9ca452d4cda177d7ac5b489af14104.tar.bz2
Make it so that you can resize glass windows from the bottom.
http://crbug.com/2483 Review URL: http://codereview.chromium.org/6593 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3038 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/views/frame/aero_glass_non_client_view.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/views/frame/aero_glass_non_client_view.cc b/chrome/browser/views/frame/aero_glass_non_client_view.cc
index 16bafa3..0ac6313 100644
--- a/chrome/browser/views/frame/aero_glass_non_client_view.cc
+++ b/chrome/browser/views/frame/aero_glass_non_client_view.cc
@@ -195,7 +195,8 @@ int AeroGlassNonClientView::NonClientHitTest(const gfx::Point& point) {
point.x() < client_view_right) {
if (point.y() < kWindowSizingBorderSize)
return HTTOP;
- return HTCAPTION;
+ if (point.y() < (y() + height()))
+ return HTCAPTION;
}
}