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

Unified Diff: ash/wm/frame_painter.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: ash/wm/frame_painter.cc
diff --git a/ash/wm/frame_painter.cc b/ash/wm/frame_painter.cc
index 7b8b25c17c2d5aa8e75124c5e17266537607aec4..0f613c8ff39c17e1f42a2118ae87c8d195066370 100644
--- a/ash/wm/frame_painter.cc
+++ b/ash/wm/frame_painter.cc
@@ -326,8 +326,8 @@ gfx::Rect FramePainter::GetWindowBoundsForClientBounds(
client_bounds.height() + top_height + kBorderThickness);
}
-int FramePainter::NonClientHitTest(views::NonClientFrameView* view,
- const gfx::Point& point) {
+int FramePainter::NonClientHitTest(const views::NonClientFrameView* view,
+ const gfx::Point& point) const {
gfx::Rect expanded_bounds = view->bounds();
int outside_bounds = kResizeOutsideBoundsSize;

Powered by Google App Engine
This is Rietveld 408576698