| Index: chrome/browser/ui/views/tabs/tab_strip.h
|
| diff --git a/chrome/browser/ui/views/tabs/tab_strip.h b/chrome/browser/ui/views/tabs/tab_strip.h
|
| index cd61ceb422f27fefd9448502977abd241c850cdd..4a652db11751dd15fd01e5d8c73399d24479355b 100644
|
| --- a/chrome/browser/ui/views/tabs/tab_strip.h
|
| +++ b/chrome/browser/ui/views/tabs/tab_strip.h
|
| @@ -161,6 +161,10 @@ class TabStrip : public views::View,
|
| // window caption area of the browser window.
|
| bool IsPositionInWindowCaption(const gfx::Point& point);
|
|
|
| + // Returns true if the specified rect (in TabStrip coordinates) intersects
|
| + // the window caption area of the browser window.
|
| + bool IsRectInWindowCaption(const gfx::Rect& rect);
|
| +
|
| // Set the background offset used by inactive tabs to match the frame image.
|
| void SetBackgroundOffset(const gfx::Point& offset);
|
|
|
| @@ -221,8 +225,7 @@ class TabStrip : public views::View,
|
| virtual void OnDragExited() OVERRIDE;
|
| virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE;
|
| virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
|
| - virtual views::View* GetEventHandlerForPoint(
|
| - const gfx::Point& point) OVERRIDE;
|
| + virtual views::View* GetEventHandlerForRect(const gfx::Rect& rect) OVERRIDE;
|
| virtual views::View* GetTooltipHandlerForPoint(
|
| const gfx::Point& point) OVERRIDE;
|
|
|
|
|