| Index: chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm
|
| index fe6e6ae82eb4a30dfdc3ce1c02db9cdf76fdec3b..3c7a0a85fb39382a97def596098632150ac67507 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm
|
| @@ -55,7 +55,11 @@ const CGFloat kMaterialDividerIncognitoGrayScale = 1.0;
|
| - (BOOL)acceptsFirstResponder {
|
| // This NSView is only focusable if the owning LocationBarDecoration can
|
| // accept mouse presses.
|
| - return owner_->AcceptsMousePress() ? YES : NO;
|
| + // TODO(ellyjones): Once the key view loop order in ToolbarController is fixed
|
| + // up properly (which will require some redesign of
|
| + // LocationBarViewMac::GetDecorationAccessibilityViews()), this method should
|
| + // honor |owner_->AcceptsMousePress()|. See https://crbug.com/623883.
|
| + return NO;
|
| }
|
|
|
| - (void)drawRect:(NSRect)dirtyRect {
|
|
|