Index: chrome/browser/cocoa/gradient_button_cell.h |
=================================================================== |
--- chrome/browser/cocoa/gradient_button_cell.h (revision 24707) |
+++ chrome/browser/cocoa/gradient_button_cell.h (working copy) |
@@ -34,8 +34,6 @@ |
BOOL isMouseInside_; |
scoped_nsobject<NSTrackingArea> trackingArea_; |
BOOL shouldTheme_; |
- CGFloat hoverAlpha_; // 0-1. Controls the alpha during mouse hover |
- NSTimeInterval lastHoverUpdate_; |
scoped_nsobject<NSGradient> gradient_; |
scoped_nsobject<NSImage> underlayImage_; |
} |
@@ -47,9 +45,8 @@ |
controlView:(NSView*)controlView |
outerPath:(NSBezierPath*)outerPath |
innerPath:(NSBezierPath*)innerPath |
- showClickedGradient:(BOOL)showClickedGradient |
showHighlightGradient:(BOOL)showHighlightGradient |
- hoverAlpha:(CGFloat)hoverAlpha |
+ showClickedGradient:(BOOL)showClickedGradient |
active:(BOOL)active |
cellFrame:(NSRect)cellFrame; |
@@ -57,11 +54,6 @@ |
- (NSImage*)underlayImage; |
- (void)setUnderlayImage:(NSImage*)image; |
-// Let the view know when the mouse moves in and out. A timer will update |
-// the current hoverAlpha_ based on these events. |
-- (void)setMouseInside:(BOOL)flag animate:(BOOL)animate; |
- |
-@property(assign, nonatomic)CGFloat hoverAlpha; |
@end |
@interface GradientButtonCell(TestingAPI) |