summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/tabs/tab_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/tabs/tab_controller.h')
-rw-r--r--chrome/browser/views/tabs/tab_controller.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/views/tabs/tab_controller.h b/chrome/browser/views/tabs/tab_controller.h
index 937d3be..e5ff26d 100644
--- a/chrome/browser/views/tabs/tab_controller.h
+++ b/chrome/browser/views/tabs/tab_controller.h
@@ -43,6 +43,11 @@ class TabController {
// destroyed.
virtual bool EndDrag(bool canceled) = 0;
+ // Returns the tab that contains the specified coordinates, in terms of |tab|,
+ // or NULL if there is no tab that contains the specified point.
+ virtual BaseTab* GetTabAt(BaseTab* tab,
+ const gfx::Point& tab_in_tab_coordinates) = 0;
+
protected:
virtual ~TabController() {}
};