Index: chrome/browser/gtk/tabs/tab_renderer_gtk.h |
=================================================================== |
--- chrome/browser/gtk/tabs/tab_renderer_gtk.h (revision 21711) |
+++ chrome/browser/gtk/tabs/tab_renderer_gtk.h (working copy) |
@@ -163,6 +163,9 @@ |
// Returns the non-mirrored (LTR) bounds of this tab. |
gfx::Rect GetNonMirroredBounds(GtkWidget* parent) const; |
+ // Returns the requested bounds of the tab. |
+ gfx::Rect GetRequisition() const; |
+ |
// Sets the bounds of the tab. |
void SetBounds(const gfx::Rect& bounds); |
@@ -325,6 +328,10 @@ |
// The bounds of this Tab. |
gfx::Rect bounds_; |
+ // The requested bounds of this tab. These bounds are relative to the |
+ // tabstrip. |
+ gfx::Rect requisition_; |
+ |
// Hover animation. |
scoped_ptr<SlideAnimation> hover_animation_; |