summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/menu_gtk.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-14 22:40:03 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-14 22:40:03 +0000
commit8c938a0b244d9d12e2c57576925a2888c3e59fa8 (patch)
tree7c04195c493f8aef49a23c2c1a2505e49495013c /chrome/browser/gtk/menu_gtk.h
parent0bbca872a2407e598d4c9257700568c17f591e78 (diff)
downloadchromium_src-8c938a0b244d9d12e2c57576925a2888c3e59fa8.zip
chromium_src-8c938a0b244d9d12e2c57576925a2888c3e59fa8.tar.gz
chromium_src-8c938a0b244d9d12e2c57576925a2888c3e59fa8.tar.bz2
Implement context menu handling for the Linux tab strip.
Review URL: http://codereview.chromium.org/73053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13714 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/menu_gtk.h')
-rw-r--r--chrome/browser/gtk/menu_gtk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/gtk/menu_gtk.h b/chrome/browser/gtk/menu_gtk.h
index 428aae1..d3bd65d 100644
--- a/chrome/browser/gtk/menu_gtk.h
+++ b/chrome/browser/gtk/menu_gtk.h
@@ -60,6 +60,9 @@ class MenuGtk {
// triggering event (e.g. right mouse click, context menu key, etc.).
void PopupAsContext(guint32 event_time);
+ // Closes the menu.
+ void Cancel();
+
private:
// A recursive function that transforms a MenuCreateMaterial tree into a set
// of GtkMenuItems.