summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/download_item_cell.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/download_item_cell.mm')
-rw-r--r--chrome/browser/cocoa/download_item_cell.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/cocoa/download_item_cell.mm b/chrome/browser/cocoa/download_item_cell.mm
index 62f0ec4..1d1793e 100644
--- a/chrome/browser/cocoa/download_item_cell.mm
+++ b/chrome/browser/cocoa/download_item_cell.mm
@@ -182,7 +182,7 @@ NSTimeInterval kHideStatusDuration = 0.3;
if ([theEvent trackingArea] == trackingAreaButton_.get())
mousePosition_ = kDownloadItemMouseOverButtonPart;
else if ([theEvent trackingArea] == trackingAreaDropdown_.get())
- mousePosition_ = kDownloadItemMouseOverButtonPart;
+ mousePosition_ = kDownloadItemMouseOverDropdownPart;
[[self controlView] setNeedsDisplay:YES];
}
@@ -207,12 +207,12 @@ NSTimeInterval kHideStatusDuration = 0.3;
}
- (BOOL)isMouseOverDropdownPart {
- return mousePosition_ == kDownloadItemMouseOverButtonPart;
+ return mousePosition_ == kDownloadItemMouseOverDropdownPart;
}
- (BOOL)isDropdownPartPressed {
return [self isHighlighted]
- && mousePosition_ == kDownloadItemMouseOverButtonPart;
+ && mousePosition_ == kDownloadItemMouseOverDropdownPart;
}
- (NSBezierPath*)leftRoundedPath:(CGFloat)radius inRect:(NSRect)rect {