diff options
Diffstat (limited to 'chrome/browser/cocoa/tab_view.h')
-rw-r--r-- | chrome/browser/cocoa/tab_view.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/tab_view.h b/chrome/browser/cocoa/tab_view.h index fe6e567..2595ea2 100644 --- a/chrome/browser/cocoa/tab_view.h +++ b/chrome/browser/cocoa/tab_view.h @@ -24,7 +24,7 @@ IBOutlet NSButton* closeButton_; // Tracking area for close button mouseover images. - scoped_nsobject<NSTrackingArea> trackingArea_; + scoped_nsobject<NSTrackingArea> closeTrackingArea_; // All following variables are valid for the duration of a drag. // These are released on mouseUp: @@ -32,6 +32,10 @@ BOOL tabWasDragged_; // Has the tab been dragged? BOOL draggingWithinTabStrip_; // Did drag stay in the current tab strip? BOOL chromeIsVisible_; + BOOL isMouseInside_; // Is the mouse hovering over? + CGFloat hoverAlpha_; // How strong the mouse hover state is. + NSTimeInterval lastHoverUpdate_; // Time the hover value was last updated. + NSPoint hoverPoint_; // Current location of hover in view coords. NSTimeInterval tearTime_; // Time since tear happened NSPoint tearOrigin_; // Origin of the tear rect @@ -51,6 +55,7 @@ NSCellStateValue state_; } @property(assign) NSCellStateValue state; +@property(assign, nonatomic)CGFloat hoverAlpha; @end #endif // CHROME_BROWSER_COCOA_TAB_VIEW_H_ |