| Index: chrome/browser/cocoa/toolbar_controller.mm
|
| ===================================================================
|
| --- chrome/browser/cocoa/toolbar_controller.mm (revision 28537)
|
| +++ chrome/browser/cocoa/toolbar_controller.mm (working copy)
|
| @@ -179,9 +179,7 @@
|
|
|
| EncodingMenuControllerDelegate::BuildEncodingMenu(profile_, encodingMenu_);
|
| }
|
| -- (void)removeFromSuperview {
|
| - NSLog(@"remove");
|
| -}
|
| +
|
| - (void)mouseExited:(NSEvent*)theEvent {
|
| [[hoveredButton_ cell] setMouseInside:NO animate:YES];
|
| [hoveredButton_ release];
|
| @@ -189,8 +187,8 @@
|
| }
|
|
|
| - (NSButton*)hoverButtonForEvent:(NSEvent*)theEvent {
|
| - NSButton* targetView = (NSButton *)[[self view]
|
| - hitTest:[theEvent locationInWindow]];
|
| + NSButton* targetView = (NSButton*)[[self view]
|
| + hitTest:[theEvent locationInWindow]];
|
|
|
| // Only interpret the view as a hoverButton_ if it's both button and has a
|
| // button cell that cares. GradientButtonCell derived cells care.
|
| @@ -434,10 +432,10 @@
|
| [resizeDelegate_ resizeView:[self view] newHeight:newToolbarHeight];
|
| }
|
|
|
| -- (NSString *)view:(NSView *)view
|
| - stringForToolTip:(NSToolTipTag)tag
|
| - point:(NSPoint)point
|
| - userData:(void *)userData {
|
| +- (NSString*)view:(NSView*)view
|
| + stringForToolTip:(NSToolTipTag)tag
|
| + point:(NSPoint)point
|
| + userData:(void*)userData {
|
| DCHECK(view == goButton_);
|
|
|
| // Following chrome/browser/views/go_button.cc: GoButton::GetTooltipText()
|
|
|