| Index: chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm
|
| diff --git a/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm b/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm
|
| index 4de33c2da637480e0d84c1fb59a0768f783f4a9f..4a1de10e5e699e2f19555cf0d758debf279e198e 100644
|
| --- a/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm
|
| +++ b/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm
|
| @@ -122,6 +122,10 @@ const CGFloat kMinimumContainerWidth = 3.0;
|
| }
|
| }
|
|
|
| +- (BOOL)trackingEnabled {
|
| + return trackingArea_.get() != nullptr;
|
| +}
|
| +
|
| - (void)keyDown:(NSEvent*)theEvent {
|
| // If this is the overflow container, we handle three key events: left, right,
|
| // and space. Left and right navigate the actions within the container, and
|
| @@ -175,6 +179,10 @@ const CGFloat kMinimumContainerWidth = 3.0;
|
| }
|
| }
|
|
|
| +- (BOOL)isHighlighting {
|
| + return highlight_.get() != nullptr;
|
| +}
|
| +
|
| - (void)setIsOverflow:(BOOL)isOverflow {
|
| if (isOverflow_ != isOverflow) {
|
| isOverflow_ = isOverflow;
|
|
|