Index: chrome/browser/ui/cocoa/bookmarks/bookmark_button.mm |
=================================================================== |
--- chrome/browser/ui/cocoa/bookmarks/bookmark_button.mm (revision 87395) |
+++ chrome/browser/ui/cocoa/bookmarks/bookmark_button.mm (working copy) |
@@ -352,6 +352,11 @@ |
return gDraggedButton; |
} |
+- (BOOL)canBecomeKeyView { |
+ // If button is an item in a folder menu, don't become key. |
+ return ![[self cell] isFolderButtonCell]; |
+} |
+ |
// This only gets called after a click that wasn't a drag, and only on folders. |
- (void)secondaryMouseUpAction:(BOOL)wasInside { |
const NSTimeInterval kShortClickLength = 0.5; |