summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/task_manager_gtk.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-30 01:29:42 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-30 01:29:42 +0000
commit21a00fd62cb2760b12912697e9af1fb95aaf613c (patch)
tree0fddc04c0f7a00ba6fed3405b5fa43f6227661cc /chrome/browser/gtk/task_manager_gtk.h
parent9aa918ebe480151f8ef780b3aaec82921184c7e3 (diff)
downloadchromium_src-21a00fd62cb2760b12912697e9af1fb95aaf613c.zip
chromium_src-21a00fd62cb2760b12912697e9af1fb95aaf613c.tar.gz
chromium_src-21a00fd62cb2760b12912697e9af1fb95aaf613c.tar.bz2
gtk: Add the 'Stats for nerds' link to the task manager.
BUG=17851 TEST=Open the task manager. Click on the 'Stats for nerds' link. Browser should navigate to about:memory. Review URL: http://codereview.chromium.org/159616 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22035 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/task_manager_gtk.h')
-rw-r--r--chrome/browser/gtk/task_manager_gtk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/gtk/task_manager_gtk.h b/chrome/browser/gtk/task_manager_gtk.h
index e5ce387..f4ebf2a 100644
--- a/chrome/browser/gtk/task_manager_gtk.h
+++ b/chrome/browser/gtk/task_manager_gtk.h
@@ -61,6 +61,9 @@ class TaskManagerGtk : public TaskManagerModelObserver {
// Activates the tab associated with the focused row.
void ActivateFocusedTab();
+ // Opens about:memory in a new foreground tab.
+ void OnLinkActivated();
+
// response signal handler that notifies us of dialog responses.
static void OnResponse(GtkDialog* dialog, gint response_id,
TaskManagerGtk* task_manager);