| Index: chrome/browser/gtk/menu_gtk.h
|
| diff --git a/chrome/browser/gtk/menu_gtk.h b/chrome/browser/gtk/menu_gtk.h
|
| index 7746af32cf1c93cf70ffc4123a66e232e3bd6015..b06c77cac86c186234dc20465d0143c51e8d690f 100644
|
| --- a/chrome/browser/gtk/menu_gtk.h
|
| +++ b/chrome/browser/gtk/menu_gtk.h
|
| @@ -137,6 +137,11 @@ class MenuGtk {
|
| // gtk_menu_popup() does not appear to take ownership of popup menus, so
|
| // MenuGtk explicitly manages the lifetime of the menu.
|
| OwnedWidgetGtk menu_;
|
| +
|
| + // True when we should ignore "activate" signals. Used to prevent
|
| + // menu items from getting activated when we are setting up the
|
| + // menu.
|
| + static bool block_activation_;
|
| };
|
|
|
| #endif // CHROME_BROWSER_GTK_MENU_GTK_H_
|
|
|