Chromium Code Reviews| 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..db1de4a872a1a47dd6fed7635ff0e7007c1710d2 100644 |
| --- a/views/controls/menu/menu_item_view.h |
| +++ b/views/controls/menu/menu_item_view.h |
| @@ -393,6 +393,11 @@ class VIEWS_EXPORT MenuItemView : public View { |
| void set_controller(MenuController* controller) { controller_ = controller; } |
| + // Returns true when |this| itself has no content and the first child is |
| + // responsible to show content. |
|
dmazzoni
2011/11/10 06:30:49
responsible to show content -> responsible for sho
hashimoto
2011/11/10 07:24:23
Done.
|
| + // (i.e. when the label is empty and there is only one child.) |
| + bool IsFirstChildToTakeOver() 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 +428,6 @@ class VIEWS_EXPORT MenuItemView : public View { |
| // Title. |
| string16 title_; |
| - // Accessible name (doesn't include accelerators, etc.). |
| - string16 accessible_name_; |
| - |
| // Icon. |
| SkBitmap icon_; |