| Index: ui/base/cocoa/menu_controller.h
|
| diff --git a/ui/base/cocoa/menu_controller.h b/ui/base/cocoa/menu_controller.h
|
| index 7e8e4acfcd8c7d27643ed0d1616f4472a10350d2..09d7974cf6731f6375cf07ffdffca9e5ea736f1a 100644
|
| --- a/ui/base/cocoa/menu_controller.h
|
| +++ b/ui/base/cocoa/menu_controller.h
|
| @@ -27,13 +27,18 @@ UI_BASE_EXPORT extern NSString* const kMenuControllerMenuDidCloseNotification;
|
| UI_BASE_EXPORT
|
| @interface MenuController : NSObject<NSMenuDelegate> {
|
| @protected
|
| - ui::MenuModel* model_; // weak
|
| + ui::MenuModel* model_; // Weak.
|
| base::scoped_nsobject<NSMenu> menu_;
|
| - BOOL useWithPopUpButtonCell_; // If YES, 0th item is blank
|
| - BOOL isMenuOpen_;
|
| }
|
|
|
| @property(nonatomic, assign) ui::MenuModel* model;
|
| +
|
| +// Whether to activate selected menu items via a posted task. This may allow the
|
| +// selection to be handled earlier, whilst the menu is fading out. If the posted
|
| +// task wasn't processed by the time the action is normally sent, it will be
|
| +// sent synchronously at that stage.
|
| +@property(nonatomic, assign) BOOL postItemSelectedAsTask;
|
| +
|
| // Note that changing this will have no effect if you use
|
| // |-initWithModel:useWithPopUpButtonCell:| or after the first call to |-menu|.
|
| @property(nonatomic) BOOL useWithPopUpButtonCell;
|
|
|