| Index: chrome/browser/tabs/tab_strip_model_order_controller.h
|
| diff --git a/chrome/browser/tabs/tab_strip_model_order_controller.h b/chrome/browser/tabs/tab_strip_model_order_controller.h
|
| index f0ff2653ceeba8f95d5a17c75b71ccd0eccbd447..b3b59268a4449e8db991b7175c4c237ffd4e40ae 100644
|
| --- a/chrome/browser/tabs/tab_strip_model_order_controller.h
|
| +++ b/chrome/browser/tabs/tab_strip_model_order_controller.h
|
| @@ -38,11 +38,8 @@ class TabStripModelOrderController : public TabStripModelObserver {
|
| // Returns the index to append tabs at.
|
| int DetermineInsertionIndexForAppending();
|
|
|
| - // Determine where to shift selection after a tab is closed is made phantom.
|
| - // If |is_remove| is false, the tab is not being removed but rather made
|
| - // phantom (see description of phantom tabs in TabStripModel).
|
| - int DetermineNewSelectedIndex(int removed_index,
|
| - bool is_remove) const;
|
| + // Determine where to shift selection after a tab is closed.
|
| + int DetermineNewSelectedIndex(int removed_index) const;
|
|
|
| // Overridden from TabStripModelObserver:
|
| virtual void TabSelectedAt(TabContents* old_contents,
|
| @@ -52,10 +49,8 @@ class TabStripModelOrderController : public TabStripModelObserver {
|
|
|
| private:
|
| // Returns a valid index to be selected after the tab at |removing_index| is
|
| - // closed. If |index| is after |removing_index| and |is_remove| is true,
|
| - // |index| is adjusted to reflect the fact that |removing_index| is going
|
| - // away. This also skips any phantom tabs.
|
| - int GetValidIndex(int index, int removing_index, bool is_remove) const;
|
| + // closed.
|
| + int GetValidIndex(int index, int removing_index) const;
|
|
|
| TabStripModel* tabstrip_;
|
|
|
|
|