summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tabs/tab_strip.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tabs/tab_strip.h')
-rw-r--r--chrome/browser/tabs/tab_strip.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/tabs/tab_strip.h b/chrome/browser/tabs/tab_strip.h
index 89151d8..ad14213 100644
--- a/chrome/browser/tabs/tab_strip.h
+++ b/chrome/browser/tabs/tab_strip.h
@@ -114,6 +114,9 @@ class TabStrip : public ChromeViews::View,
virtual bool GetAccessibleRole(VARIANT* role);
virtual bool GetAccessibleName(std::wstring* name);
virtual void SetAccessibleName(const std::wstring& name);
+ virtual ChromeViews::View* GetViewForPoint(const CPoint& point);
+ virtual ChromeViews::View* GetViewForPoint(const CPoint& point,
+ bool can_create_floating);
protected:
// TabStripModelObserver implementation:
@@ -268,6 +271,10 @@ class TabStrip : public ChromeViews::View,
// Calculates the available width for tabs, assuming a Tab is to be closed.
int GetAvailableWidthForTabs(Tab* last_tab) const;
+ // Returns true if the specified point in TabStrip coords is within the
+ // hit-test region of the specified Tab.
+ bool IsPointInTab(Tab* tab, const CPoint& point_in_tabstrip_coords);
+
// -- Member Variables ------------------------------------------------------
// Our model.