Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Unified Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.cc

Issue 8400011: aura: Avoid resizing when dragging top of browser frame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.cc
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.cc
index d8be6aeda8b33b0f4c214b9e558fac3728ec478f..723c45bc719874414cd5529c1e2e53e5b3a472b9 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.cc
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.cc
@@ -237,8 +237,10 @@ int BrowserNonClientFrameViewAura::NonClientHitTestImpl(
// Test window resize components.
bool can_resize = GetWidget()->widget_delegate()->CanResize();
+ // TODO(derat): Disallow resizing via the top border in the Aura shell
+ // instead of enforcing it here. See http://crbug.com/101830.
frame_component = GetHTComponentForFrame(point,
- kResizeBorderThickness,
+ 0,
kResizeBorderThickness,
kResizeBorderThickness,
kResizeBorderThickness,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698