summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-15 22:34:30 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-15 22:34:30 +0000
commit4c302a98c304fac15a3c68bce816ea42950b3cd5 (patch)
treed80a5576d64d219f2f8851d30f01d44e9e54c230 /chrome
parent3be438a82625d80192d3ecd49c3b6cfe16f58f1b (diff)
downloadchromium_src-4c302a98c304fac15a3c68bce816ea42950b3cd5.zip
chromium_src-4c302a98c304fac15a3c68bce816ea42950b3cd5.tar.gz
chromium_src-4c302a98c304fac15a3c68bce816ea42950b3cd5.tar.bz2
Mac: Fix close/min/zoom buttons highlighting on bookmark hover.
The default mouseEntered: implementation forwards to the next responder, and this ends up being the window. Cells don't usually forward this to their view (views only get this if they install tracking areas). So don't forward this to super. TEST=mouse over a bookmark. Close button shouldn't highlight. BUG=36814 Review URL: http://codereview.chromium.org/998003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41648 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/cocoa/bookmark_button.mm2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/bookmark_button.mm b/chrome/browser/cocoa/bookmark_button.mm
index 54ec3ef..db1f082 100644
--- a/chrome/browser/cocoa/bookmark_button.mm
+++ b/chrome/browser/cocoa/bookmark_button.mm
@@ -112,13 +112,11 @@ static const CGFloat kDragImageOpacity = 0.7;
// to open menu").
- (void)mouseEntered:(NSEvent*)event {
[delegate_ mouseEnteredButton:self event:event];
- [super mouseEntered:event];
}
// See comments above mouseEntered:.
- (void)mouseExited:(NSEvent*)event {
[delegate_ mouseExitedButton:self event:event];
- [super mouseExited:event];
}
@end