| Index: views/controls/menu/submenu_view.h
|
| diff --git a/views/controls/menu/submenu_view.h b/views/controls/menu/submenu_view.h
|
| index afef314cf648321dbc36d56ed5146409fbee9772..62d8aa62e2999f0cbf9126c08ec446c959690539 100644
|
| --- a/views/controls/menu/submenu_view.h
|
| +++ b/views/controls/menu/submenu_view.h
|
| @@ -125,6 +125,10 @@ class SubmenuView : public View {
|
| // references to the MenuHost as the MenuHost is about to be deleted.
|
| void MenuHostDestroyed();
|
|
|
| + // Max width of accelerators in child menu items. This doesn't include
|
| + // children's children, only direct children.
|
| + int max_accelerator_width() const { return max_accelerator_width_; }
|
| +
|
| // Padding around the edges of the submenu.
|
| static const int kSubmenuBorderSize;
|
|
|
| @@ -159,6 +163,9 @@ class SubmenuView : public View {
|
| // Ancestor of the SubmenuView, lazily created.
|
| MenuScrollViewContainer* scroll_view_container_;
|
|
|
| + // See description above getter.
|
| + int max_accelerator_width_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(SubmenuView);
|
| };
|
|
|
|
|