Chromium Code Reviews| Index: chrome/browser/tabs/tab_strip_model.h |
| diff --git a/chrome/browser/tabs/tab_strip_model.h b/chrome/browser/tabs/tab_strip_model.h |
| index e711b493a90d0bd02f7b1d5a2ee5dd4d66f52313..8a2298f09f05490060c2211dfaf05cf7556eb9b2 100644 |
| --- a/chrome/browser/tabs/tab_strip_model.h |
| +++ b/chrome/browser/tabs/tab_strip_model.h |
| @@ -525,6 +525,14 @@ class TabStripModel : public NotificationObserver { |
| // the old active index. |
| void NotifyActiveTabChanged(int old_active_index); |
| + // Notifies the observers that the tab selection has changed. |model| is a |
| + // snapshot of the selection_model_ before the change. |
|
sky
2011/06/03 15:35:56
'the selection_model_' -> '|selection_model_|'
dpapad
2011/06/03 17:49:01
Done.
|
| + void NotifySelectionChanged(const TabStripSelectionModel& model); |
| + |
| + // Notifies the observers only if the active tab or the tab selection has |
| + // changed, by calling NotifyActiveTabChanged and/or NotifySelectionChanged. |
|
sky
2011/06/03 15:35:56
Document what model is.
dpapad
2011/06/03 17:49:01
Done.
|
| + void NotifyIfActiveOrSelectionChanged(const TabStripSelectionModel& model); |
| + |
| // Returns the number of New Tab tabs in the TabStripModel. |
| int GetNewTabCount() const; |