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

Unified Diff: ash/wm/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: ash/wm/panels/panel_frame_view.cc
diff --git a/ash/wm/panels/panel_frame_view.cc b/ash/wm/panels/panel_frame_view.cc
index 8c18215ef3fe08e9a27c541ed2e65c61db2f8d6c..dafe285330cf4e840517fba7d6528db36f0db362 100644
--- a/ash/wm/panels/panel_frame_view.cc
+++ b/ash/wm/panels/panel_frame_view.cc
@@ -102,7 +102,7 @@ void PanelFrameView::GetWindowMask(const gfx::Size&, gfx::Path*) {
// Nothing.
}
-int PanelFrameView::NonClientHitTest(const gfx::Point& point) {
+int PanelFrameView::NonClientHitTest(const gfx::Point& point) const {
if (!frame_painter_)
return HTNOWHERE;
return frame_painter_->NonClientHitTest(this, point);

Powered by Google App Engine
This is Rietveld 408576698