summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/tabs/tab_strip_gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/tabs/tab_strip_gtk.h')
-rw-r--r--chrome/browser/gtk/tabs/tab_strip_gtk.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/gtk/tabs/tab_strip_gtk.h b/chrome/browser/gtk/tabs/tab_strip_gtk.h
index 048f661..1c4a5b7 100644
--- a/chrome/browser/gtk/tabs/tab_strip_gtk.h
+++ b/chrome/browser/gtk/tabs/tab_strip_gtk.h
@@ -84,6 +84,11 @@ class TabStripGtk : public TabStripModelObserver,
// Retrieve the ideal bounds for the Tab at the specified index.
gfx::Rect GetIdealBounds(int index);
+ // Sets the vertical offset that each tab will use to offset against the
+ // background image. Passed in from the titlebar and based on the size of the
+ // alignment that sits above the tabstrip.
+ void SetVerticalOffset(int offset);
+
// TabstripOriginProvider implementation -------------------------------------
virtual gfx::Point GetTabStripOriginForWidget(GtkWidget* widget);
@@ -415,6 +420,10 @@ class TabStripGtk : public TabStripModelObserver,
// The bounds of the tabstrip.
gfx::Rect bounds_;
+ // The amount to offset tab backgrounds when we are using an autogenerated
+ // tab background image.
+ int tab_vertical_offset_;
+
// Our model.
TabStripModel* model_;