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); |