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

Unified Diff: chrome/browser/ui/views/panels/panel_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: chrome/browser/ui/views/panels/panel_frame_view.cc
diff --git a/chrome/browser/ui/views/panels/panel_frame_view.cc b/chrome/browser/ui/views/panels/panel_frame_view.cc
index 5359e72ae21a34ad2de6d3c979a721ab99f0cb61..df17173ea0ee3f387cc94c095a2cc550984d6011 100644
--- a/chrome/browser/ui/views/panels/panel_frame_view.cc
+++ b/chrome/browser/ui/views/panels/panel_frame_view.cc
@@ -416,7 +416,7 @@ gfx::Rect PanelFrameView::GetWindowBoundsForClientBounds(
client_bounds.height() + titlebar_height + border_thickness);
}
-int PanelFrameView::NonClientHitTest(const gfx::Point& point) {
+int PanelFrameView::NonClientHitTest(const gfx::Point& point) const {
panel::Resizability resizability = panel_view_->panel()->CanResizeByMouse();
// Check the frame first, as we allow a small area overlapping the contents

Powered by Google App Engine
This is Rietveld 408576698