Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(850)

Unified Diff: chrome/browser/tabs/tab_strip_model.h

Issue 7033048: Multi-tab: Adding new Notification when tab selection changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/tabs/tab_strip_model.cc » ('j') | chrome/browser/tabs/tab_strip_model.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..140ffe2957d075c0303436ea8190816ff40c40f3 100644
--- a/chrome/browser/tabs/tab_strip_model.h
+++ b/chrome/browser/tabs/tab_strip_model.h
@@ -525,6 +525,10 @@ 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.
+ void NotifySelectionChanged(const TabStripSelectionModel& model);
+
// Returns the number of New Tab tabs in the TabStripModel.
int GetNewTabCount() const;
« no previous file with comments | « no previous file | chrome/browser/tabs/tab_strip_model.cc » ('j') | chrome/browser/tabs/tab_strip_model.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698