summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/standard_menus.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/standard_menus.h')
-rw-r--r--chrome/browser/gtk/standard_menus.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/gtk/standard_menus.h b/chrome/browser/gtk/standard_menus.h
index e022fa0..e9ea047 100644
--- a/chrome/browser/gtk/standard_menus.h
+++ b/chrome/browser/gtk/standard_menus.h
@@ -41,6 +41,11 @@ struct MenuCreateMaterial {
// GDK modifiers for the menu items (i.e., shift, ctrl, etc).
unsigned int accel_modifiers;
+
+ // If true, the accelerator is only for show (does not do anything), although
+ // the same key combination may be handled by GTK. Windows handles this in
+ // toolbar_view.cc::GetAcceleratorInfo().
+ bool only_show;
};
// Returns the menu construction data structure for the page menu.