| Index: chrome/browser/ui/gtk/tabs/tab_strip_gtk.h
|
| diff --git a/chrome/browser/ui/gtk/tabs/tab_strip_gtk.h b/chrome/browser/ui/gtk/tabs/tab_strip_gtk.h
|
| index 98c7a85643d6527bffcb0ad09b0963827a6eb00c..3a624e961b85850b264dd50dc6b707e4206dc737 100644
|
| --- a/chrome/browser/ui/gtk/tabs/tab_strip_gtk.h
|
| +++ b/chrome/browser/ui/gtk/tabs/tab_strip_gtk.h
|
| @@ -110,6 +110,10 @@ class TabStripGtk : public TabStripModelObserver,
|
| virtual void TabMoved(TabContentsWrapper* contents,
|
| int from_index,
|
| int to_index);
|
| + virtual void ActiveTabChanged(TabContentsWrapper* old_contents,
|
| + TabContentsWrapper* new_contents,
|
| + int index,
|
| + bool user_gesture);
|
| virtual void TabSelectionChanged(const TabStripSelectionModel& old_model);
|
| virtual void TabChangedAt(TabContentsWrapper* contents, int index,
|
| TabChangeType change_type);
|
| @@ -228,6 +232,11 @@ class TabStripGtk : public TabStripModelObserver,
|
| DISALLOW_COPY_AND_ASSIGN(DropInfo);
|
| };
|
|
|
| + // Map signal handler that sets initial z-ordering. The widgets need to be
|
| + // realized before we can set the stacking. We use the "map" signal since the
|
| + // "realize" signal is called before the child widgets get realized.
|
| + CHROMEGTK_CALLBACK_0(TabStripGtk, void, OnMap);
|
| +
|
| // expose-event handler that redraws the tabstrip
|
| CHROMEGTK_CALLBACK_1(TabStripGtk, gboolean, OnExpose, GdkEventExpose*);
|
|
|
| @@ -321,6 +330,9 @@ class TabStripGtk : public TabStripModelObserver,
|
| // which is defined as the region above the TabStrip and a bit below it.
|
| bool IsCursorInTabStripZone() const;
|
|
|
| + // Reset the Z-ordering of tabs.
|
| + void ReStack();
|
| +
|
| // Ensure that the message loop observer used for event spying is added and
|
| // removed appropriately so we can tell when to resize layout the tab strip.
|
| void AddMessageLoopObserver();
|
|
|