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

Unified Diff: chrome/browser/ui/views/new_task_manager_view.h

Issue 2146273002: TaskManager: when shown or activated, select the last active tab. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@triple_click_tm
Patch Set: Fix compile. Created 4 years, 5 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/ui/views/new_task_manager_view.h
diff --git a/chrome/browser/ui/views/new_task_manager_view.h b/chrome/browser/ui/views/new_task_manager_view.h
index 69de62ce1bd64e71b25801adc4736fcf324ef6c7..3ce1e482bc80064b351836acd3757e8678622be2 100644
--- a/chrome/browser/ui/views/new_task_manager_view.h
+++ b/chrome/browser/ui/views/new_task_manager_view.h
@@ -103,8 +103,11 @@ class NewTaskManagerView
// Initializes the state of the always-on-top setting as the window is shown.
void InitAlwaysOnTopState();
- // Activates the tab associated with the focused row.
- void ActivateFocusedTab();
+ // Activates the tab associated with the selected row.
+ void ActivateSelectedTab();
+
+ // Selects the active tab in the specified browser window.
+ void SelectTaskOfActiveTab(Browser* browser);
// Restores saved "always on top" state from a previous session.
void RetrieveSavedAlwaysOnTopState();
« no previous file with comments | « chrome/browser/ui/task_manager/task_manager_table_model.cc ('k') | chrome/browser/ui/views/new_task_manager_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698