Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Unified Diff: chrome/browser/views/tabs/tab.h

Issue 341008: CompactLocationBar (Closed)
Patch Set: comment updated Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/frame/standard_extender.cc ('k') | chrome/browser/views/tabs/tab.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/browser/views/frame/standard_extender.cc ('k') | chrome/browser/views/tabs/tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698