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

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

Issue 27458002: Allow setting different hit test bounds overrides for mouse and touch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: chrome/browser/ui/views/frame/app_non_client_frame_view_ash.cc
diff --git a/chrome/browser/ui/views/frame/app_non_client_frame_view_ash.cc b/chrome/browser/ui/views/frame/app_non_client_frame_view_ash.cc
index 89f4dabf4f07605c3e9dafbcc65b3f8b06a90f19..80067d8a40eef6b8d640747ad5a3a78b81cdb966 100644
--- a/chrome/browser/ui/views/frame/app_non_client_frame_view_ash.cc
+++ b/chrome/browser/ui/views/frame/app_non_client_frame_view_ash.cc
@@ -129,7 +129,8 @@ AppNonClientFrameViewAsh::AppNonClientFrameViewAsh(
// This FrameView is always maximized so we don't want the window to have
// resize borders.
- frame->GetNativeView()->set_hit_test_bounds_override_inner(gfx::Insets());
+ frame->GetNativeView()->SetHitTestBoundsOverrideInner(
+ gfx::Insets(), gfx::Insets());
// Watch for frame close so we can clean up the control widget.
frame->AddObserver(frame_observer_.get());
set_background(views::Background::CreateSolidBackground(SK_ColorBLACK));

Powered by Google App Engine
This is Rietveld 408576698