| Index: chrome/browser/gtk/menu_gtk.h
|
| diff --git a/chrome/browser/gtk/menu_gtk.h b/chrome/browser/gtk/menu_gtk.h
|
| index 216478a3a761f331537aa3109d11d708efa5a30c..f9060e11df52d08c6f41975007ec55a13247f260 100644
|
| --- a/chrome/browser/gtk/menu_gtk.h
|
| +++ b/chrome/browser/gtk/menu_gtk.h
|
| @@ -60,7 +60,9 @@ class MenuGtk {
|
| private:
|
| // A recursive function that transforms a MenuCreateMaterial tree into a set
|
| // of GtkMenuItems.
|
| - void BuildMenuIn(GtkWidget* menu, const MenuCreateMaterial* menu_data);
|
| + void BuildMenuIn(GtkWidget* menu,
|
| + const MenuCreateMaterial* menu_data,
|
| + GtkAccelGroup* accel_group);
|
|
|
| // A function that creates a GtkMenu from |delegate_|. This function is not
|
| // recursive and does not support sub-menus.
|
| @@ -91,9 +93,6 @@ class MenuGtk {
|
| // Queries this object about the menu state.
|
| MenuGtk::Delegate* delegate_;
|
|
|
| - // Accelerator group to add keyboard accelerators to.
|
| - GtkAccelGroup* accel_group_;
|
| -
|
| // gtk_menu_popup() does not appear to take ownership of popup menus, so
|
| // MenuGtk explicitly manages the lifetime of the menu.
|
| OwnedWidgetGtk menu_;
|
|
|