Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4138)

Unified Diff: chrome/browser/ui/cocoa/download/download_item_cell.h

Issue 7272024: Fix regression: Download status doesn't appear anymore in the download-shelf (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Added tests Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/download/download_item_cell.h
diff --git a/chrome/browser/ui/cocoa/download/download_item_cell.h b/chrome/browser/ui/cocoa/download/download_item_cell.h
index dbb79b4fd5c612e5049b8a5ca1c275c374e64a04..7728d8cf6e3d5e410b222856e6a9c7644f4ec520 100644
--- a/chrome/browser/ui/cocoa/download/download_item_cell.h
+++ b/chrome/browser/ui/cocoa/download/download_item_cell.h
@@ -43,8 +43,7 @@ enum DownloadItemMousePosition {
BOOL isStatusTextVisible_;
CGFloat titleY_;
CGFloat statusAlpha_;
- scoped_nsobject<NSAnimation> showStatusAnimation_;
- scoped_nsobject<NSAnimation> hideStatusAnimation_;
+ scoped_nsobject<NSAnimation> toggleStatusVisibilityAnimation_;
scoped_ptr<ui::ThemeProvider> themeProvider_;
}
@@ -59,4 +58,12 @@ enum DownloadItemMousePosition {
@end
+@interface DownloadItemCell(TestingAPI)
+- (BOOL)isStatusTextVisible;
+- (CGFloat)statusTextAlpha;
+- (void)skipVisibilityAnimation;
+- (void)showSecondaryTitle;
+- (void)hideSecondaryTitle;
+@end
+
#endif // CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CELL_H_

Powered by Google App Engine
This is Rietveld 408576698