| Index: ui/message_center/cocoa/status_item_view.mm
|
| diff --git a/ui/message_center/cocoa/status_item_view.mm b/ui/message_center/cocoa/status_item_view.mm
|
| index 085fa61a4f673dbc240e784d7decf5da0938feb4..5e1002f9bfc4fe417efad5fbbd381f33bd2bfe46 100644
|
| --- a/ui/message_center/cocoa/status_item_view.mm
|
| +++ b/ui/message_center/cocoa/status_item_view.mm
|
| @@ -150,6 +150,19 @@ const CGFloat kUnreadCountMinY = 4;
|
| }
|
| }
|
|
|
| +- (NSArray*)accessibilityActionNames {
|
| + return @[ NSAccessibilityPressAction ];
|
| +}
|
| +
|
| +- (void)accessibilityPerformAction:(NSString*)action {
|
| + if ([action isEqualToString:NSAccessibilityPressAction]) {
|
| + if (callback_)
|
| + callback_.get()();
|
| + return;
|
| + }
|
| + [super accessibilityPerformAction:action];
|
| +}
|
| +
|
| // Private /////////////////////////////////////////////////////////////////////
|
|
|
| - (BOOL)shouldHighlight {
|
|
|