Index: chrome/browser/views/tabs/tab.h |
diff --git a/chrome/browser/views/tabs/tab.h b/chrome/browser/views/tabs/tab.h |
index a7a8d91d890ffb6bee1d38bcf1df4218aa0200fc..e543ea3d9e8b7e46f45e88690b715c397f1dd7e4 100644 |
--- a/chrome/browser/views/tabs/tab.h |
+++ b/chrome/browser/views/tabs/tab.h |
@@ -12,8 +12,7 @@ namespace gfx { |
class Path; |
class Point; |
} |
-class TabContents; |
-class Profile; |
+class BrowserExtender; |
/////////////////////////////////////////////////////////////////////////////// |
// |
@@ -96,6 +95,9 @@ class Tab : public TabRenderer, |
virtual bool OnMouseDragged(const views::MouseEvent& event); |
virtual void OnMouseReleased(const views::MouseEvent& event, |
bool canceled); |
+ virtual void OnMouseEntered(const views::MouseEvent& event); |
+ virtual void OnMouseMoved(const views::MouseEvent& event); |
+ virtual void OnMouseExited(const views::MouseEvent& event); |
virtual bool GetTooltipText(int x, int y, std::wstring* tooltip); |
virtual bool GetTooltipTextOrigin(int x, int y, gfx::Point* origin); |
virtual std::string GetClassName() const { return kTabClassName; } |
@@ -111,6 +113,9 @@ class Tab : public TabRenderer, |
// views::ButtonListener overrides: |
virtual void ButtonPressed(views::Button* sender, const views::Event& event); |
+ // Returns the BrowserExtender of the window that this tab belongs to. |
+ BrowserExtender* GetBrowserExtender(); |
+ |
// Creates a path that contains the clickable region of the tab's visual |
// representation. Used by GetViewForPoint for hit-testing. |
void MakePathForTab(gfx::Path* path) const; |