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

Unified Diff: ui/views/bubble/bubble_frame_view.cc

Issue 19115003: Make the maximize button more easily hittable when there is a huge amount of tabs present (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed completely Created 7 years, 5 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: ui/views/bubble/bubble_frame_view.cc
diff --git a/ui/views/bubble/bubble_frame_view.cc b/ui/views/bubble/bubble_frame_view.cc
index 7b011c549fd193dff4f3cb26d1a1a1edab73e196..e4014092c83ec627efec01c18d73c4052adc059b 100644
--- a/ui/views/bubble/bubble_frame_view.cc
+++ b/ui/views/bubble/bubble_frame_view.cc
@@ -89,7 +89,7 @@ gfx::Rect BubbleFrameView::GetWindowBoundsForClientBounds(
gfx::Rect(), client_bounds.size(), false);
}
-int BubbleFrameView::NonClientHitTest(const gfx::Point& point) {
+int BubbleFrameView::NonClientHitTest(const gfx::Point& point) const {
if (!bounds().Contains(point))
return HTNOWHERE;
if (close_->visible() && close_->GetMirroredBounds().Contains(point))

Powered by Google App Engine
This is Rietveld 408576698