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

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: Updating TODO comments 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 | « chrome/browser/aeropeek_manager.h ('k') | chrome/browser/extensions/extension_browser_event_router.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/aeropeek_manager.cc
diff --git a/chrome/browser/aeropeek_manager.cc b/chrome/browser/aeropeek_manager.cc
index 34e6ef60c964fabc2e1ee4568b39ec5ebfc24f92..e81ea50e13ade1e9b150d7202505300a49e82ba7 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::ActiveTabChanged() when it
// finishes activating the tab. We will move the tab focus of AeroPeek there.
if (delegate_)
delegate_->ActivateTab(tab_id_);
@@ -1111,10 +1111,10 @@ void AeroPeekManager::TabDetachedAt(TabContentsWrapper* contents, int index) {
DeleteAeroPeekWindowForTab(contents);
}
-void AeroPeekManager::TabSelectedAt(TabContentsWrapper* old_contents,
- TabContentsWrapper* new_contents,
- int index,
- bool user_gesture) {
+void AeroPeekManager::ActiveTabChanged(TabContentsWrapper* old_contents,
+ TabContentsWrapper* new_contents,
+ int index,
+ bool user_gesture) {
if (old_contents == new_contents)
return;
@@ -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 ActiveTabChanged.
}
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.
+ // ActiveTabChanged() when it actually activates this tab.
TabContents* contents = GetTabContents(tab_id);
if (contents && contents->delegate())
contents->delegate()->ActivateContents(contents);
« no previous file with comments | « chrome/browser/aeropeek_manager.h ('k') | chrome/browser/extensions/extension_browser_event_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698