summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/task_manager_gtk.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-11 16:27:25 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-11 16:27:25 +0000
commitc02ecb834297e41993b0546fb57156ec2ab2563f (patch)
treea393d011cfd1ba6181e789b547a7b6ccfb54a8ee /chrome/browser/gtk/task_manager_gtk.h
parent1ecd85c2e2d586d18647748c5caed0fa3284b2e3 (diff)
downloadchromium_src-c02ecb834297e41993b0546fb57156ec2ab2563f.zip
chromium_src-c02ecb834297e41993b0546fb57156ec2ab2563f.tar.gz
chromium_src-c02ecb834297e41993b0546fb57156ec2ab2563f.tar.bz2
Lands http://codereview.chromium.org/2878087 for Alex:
Remove menu_gtk from the link for TOOLKIT_VIEWS builds. BUG=none TEST=manually, both with TOOLKIT_VIEWS=1 and TOOLKIT_VIEWS=0 Review URL: http://codereview.chromium.org/3130005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55733 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/task_manager_gtk.h')
-rw-r--r--chrome/browser/gtk/task_manager_gtk.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/browser/gtk/task_manager_gtk.h b/chrome/browser/gtk/task_manager_gtk.h
index 51d706e4..985e9a4 100644
--- a/chrome/browser/gtk/task_manager_gtk.h
+++ b/chrome/browser/gtk/task_manager_gtk.h
@@ -15,6 +15,12 @@
#include "chrome/browser/task_manager.h"
#include "grit/generated_resources.h"
+#if defined(TOOLKIT_VIEWS)
+namespace gfx {
+class Point;
+}
+#endif
+
class TaskManagerGtk : public TaskManagerModelObserver {
public:
TaskManagerGtk();
@@ -60,7 +66,11 @@ class TaskManagerGtk : public TaskManagerModelObserver {
void KillSelectedProcesses();
// Opens the context menu used to select the task manager columns.
+#if defined(TOOLKIT_VIEWS)
+ void ShowContextMenu(const gfx::Point& point);
+#else
void ShowContextMenu();
+#endif
// Activates the tab associated with the focused row.
void ActivateFocusedTab();