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

Unified Diff: ui/views/window/client_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/window/client_view.cc
diff --git a/ui/views/window/client_view.cc b/ui/views/window/client_view.cc
index 7edc5f4d5b98fac346eecbfebae05cd82f418fcf..5e260517c964da66f3d459565a218f5945555535 100644
--- a/ui/views/window/client_view.cc
+++ b/ui/views/window/client_view.cc
@@ -23,7 +23,7 @@ ClientView::ClientView(Widget* widget, View* contents_view)
: contents_view_(contents_view) {
}
-int ClientView::NonClientHitTest(const gfx::Point& point) {
+int ClientView::NonClientHitTest(const gfx::Point& point) const {
return bounds().Contains(point) ? HTCLIENT : HTNOWHERE;
}

Powered by Google App Engine
This is Rietveld 408576698