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

Unified Diff: chrome/browser/gtk/task_manager_gtk.h

Issue 155098: Activate the currently selected process when the user double clicks the task ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « no previous file | chrome/browser/gtk/task_manager_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/task_manager_gtk.h
===================================================================
--- chrome/browser/gtk/task_manager_gtk.h (revision 19957)
+++ chrome/browser/gtk/task_manager_gtk.h (working copy)
@@ -52,6 +52,9 @@
// Opens the context menu used to select the task manager columns.
void ShowContextMenu();
+ // Activates the tab associated with the focused row.
+ void ActivateFocusedTab();
+
// response signal handler that notifies us of dialog responses.
static void OnResponse(GtkDialog* dialog, gint response_id,
TaskManagerGtk* task_manager);
@@ -60,6 +63,10 @@
static void OnSelectionChanged(GtkTreeSelection* selection,
TaskManagerGtk* task_manager);
+ // button-press-event handler that activates a process on double-click.
+ static gboolean OnButtonPressEvent(GtkWidget* widget, GdkEventButton* event,
+ TaskManagerGtk* task_manager);
+
// button-release-event handler that opens the right-click context menu.
static gboolean OnButtonReleaseEvent(GtkWidget* widget, GdkEventButton* event,
TaskManagerGtk* task_manager);
« no previous file with comments | « no previous file | chrome/browser/gtk/task_manager_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698