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

Unified Diff: chrome/browser/aeropeek_manager.cc

Issue 7043020: Multi-tab selection: Renaming TabStripModelObserver::TabSelectedAt to ActiveTabChanged (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebasing 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
Index: chrome/browser/aeropeek_manager.cc
diff --git a/chrome/browser/aeropeek_manager.cc b/chrome/browser/aeropeek_manager.cc
index 460e22e324dcab786985048ef82baf5e6f1171c5..00d735f0e47db693d4165abc8ab0d3921a36a250 100644
--- a/chrome/browser/aeropeek_manager.cc
+++ b/chrome/browser/aeropeek_manager.cc
@@ -848,7 +848,7 @@ void AeroPeekWindow::OnActivate(UINT action,
return;
// Ask Chrome to activate the tab associated with this thumbnail window.
- // Since TabStripModel calls AeroPeekManager::TabSelectedAt() when it
+ // Since TabStripModel calls AeroPeekManager::TabActivatedAt() when it
// finishes activating the tab. We will move the tab focus of AeroPeek there.
if (delegate_)
delegate_->ActivateTab(tab_id_);
@@ -1111,7 +1111,7 @@ void AeroPeekManager::TabDetachedAt(TabContentsWrapper* contents, int index) {
DeleteAeroPeekWindowForTab(contents);
}
-void AeroPeekManager::TabSelectedAt(TabContentsWrapper* old_contents,
+void AeroPeekManager::TabActivatedAt(TabContentsWrapper* old_contents,
TabContentsWrapper* new_contents,
int index,
bool user_gesture) {
@@ -1144,7 +1144,7 @@ void AeroPeekManager::TabReplacedAt(TabStripModel* tab_strip_model,
CreateAeroPeekWindowIfNecessary(new_contents,
(index == tab_strip_model->active_index()));
// We don't need to update the selection as if |new_contents| is selected the
- // TabStripModel will send TabSelectedAt.
+ // TabStripModel will send TabActivatedAt.
}
void AeroPeekManager::TabMoved(TabContentsWrapper* contents,
@@ -1185,7 +1185,7 @@ void AeroPeekManager::TabChangedAt(TabContentsWrapper* contents,
void AeroPeekManager::ActivateTab(int tab_id) {
// Ask TabStrip to activate this tab.
// We don't have to update thumbnails now since TabStrip will call
- // TabSelectedAt() when it actually activates this tab.
+ // TabActivatedAt() when it actually activates this tab.
TabContents* contents = GetTabContents(tab_id);
if (contents && contents->delegate())
contents->delegate()->ActivateContents(contents);

Powered by Google App Engine
This is Rietveld 408576698