| Index: views/controls/menu/menu_item_view.h
|
| diff --git a/views/controls/menu/menu_item_view.h b/views/controls/menu/menu_item_view.h
|
| index 85868851091c35d910f12ea7e1522f6eda629bf0..4111d81c4acb06ba1fd1a5325317f82e97d50e39 100644
|
| --- a/views/controls/menu/menu_item_view.h
|
| +++ b/views/controls/menu/menu_item_view.h
|
| @@ -393,6 +393,10 @@ class VIEWS_EXPORT MenuItemView : public View {
|
|
|
| void set_controller(MenuController* controller) { controller_ = controller; }
|
|
|
| + // Returns true if this MenuItemView contains a single child
|
| + // that is responsible for rendering the content.
|
| + bool IsContainer() const;
|
| +
|
| // The delegate. This is only valid for the root menu item. You shouldn't
|
| // use this directly, instead use GetDelegate() which walks the tree as
|
| // as necessary.
|
| @@ -423,9 +427,6 @@ class VIEWS_EXPORT MenuItemView : public View {
|
| // Title.
|
| string16 title_;
|
|
|
| - // Accessible name (doesn't include accelerators, etc.).
|
| - string16 accessible_name_;
|
| -
|
| // Icon.
|
| SkBitmap icon_;
|
|
|
|
|