Index: chrome/browser/ui/views/toolbar_view.cc |
diff --git a/chrome/browser/ui/views/toolbar_view.cc b/chrome/browser/ui/views/toolbar_view.cc |
index c0902e119d27ccff5083e52444bbc83844d67603..1f703419ede10457933beeb2e9b41e1c866ea0ce 100644 |
--- a/chrome/browser/ui/views/toolbar_view.cc |
+++ b/chrome/browser/ui/views/toolbar_view.cc |
@@ -605,6 +605,15 @@ void ToolbarView::Layout() { |
app_menu_width, child_height); |
} |
+bool ToolbarView::HitTest(const gfx::Point& l) const { |
+ // Don't take hits in our top shadow edge. Let them fall through to the |
+ // tab strip above us. |
+ if (l.y() < kContentShadowHeight) |
+ return false; |
+ // Otherwise let our superclass take care of it. |
+ return AccessiblePaneView::HitTest(l); |
+} |
+ |
void ToolbarView::OnPaint(gfx::Canvas* canvas) { |
View::OnPaint(canvas); |