| Index: chrome/browser/ui/gtk/tab_contents_container_gtk.h
|
| diff --git a/chrome/browser/ui/gtk/tab_contents_container_gtk.h b/chrome/browser/ui/gtk/tab_contents_container_gtk.h
|
| index 76851bdc9de0b57f90e9d520000b26310f538313..7e2f910f26fdc13df28bc9cd48604f931492b8d3 100644
|
| --- a/chrome/browser/ui/gtk/tab_contents_container_gtk.h
|
| +++ b/chrome/browser/ui/gtk/tab_contents_container_gtk.h
|
| @@ -36,13 +36,11 @@ class TabContentsContainerGtk : public content::NotificationObserver,
|
| void SetTab(TabContents* tab);
|
| TabContents* tab() const { return tab_; }
|
|
|
| - // Returns the TabContents currently displayed.
|
| - TabContents* GetVisibleTab();
|
| -
|
| + void SetPreview(TabContents* preview);
|
| bool HasPreview() const { return preview_ != NULL; }
|
|
|
| - void SetPreview(TabContents* preview);
|
| - void PopPreview();
|
| + // Returns the TabContents currently displayed.
|
| + TabContents* GetVisibleTab() const { return preview_ ? preview_ : tab_; }
|
|
|
| // Remove the tab from the hierarchy.
|
| void DetachTab(TabContents* tab);
|
| @@ -75,9 +73,6 @@ class TabContentsContainerGtk : public content::NotificationObserver,
|
| // Stops showing |tab|.
|
| void HideTab(TabContents* tab);
|
|
|
| - // Removes |preview_|.
|
| - void RemovePreview();
|
| -
|
| // Handle focus traversal on the tab contents container. Focus should not
|
| // traverse to the preview contents.
|
| CHROMEGTK_CALLBACK_1(TabContentsContainerGtk, gboolean, OnFocus,
|
|
|