OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CELL_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CELL_H_ |
6 #define CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CELL_H_ | 6 #define CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CELL_H_ |
7 | 7 |
8 #import "base/mac/cocoa_protocols.h" | |
9 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
10 #import "chrome/browser/ui/cocoa/gradient_button_cell.h" | 9 #import "chrome/browser/ui/cocoa/gradient_button_cell.h" |
11 | 10 |
12 #include "base/file_path.h" | 11 #include "base/file_path.h" |
13 | 12 |
14 class BaseDownloadItemModel; | 13 class BaseDownloadItemModel; |
15 | 14 |
16 // A button cell that implements the weird button/popup button hybrid that is | 15 // A button cell that implements the weird button/popup button hybrid that is |
17 // used by the download items. | 16 // used by the download items. |
18 | 17 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 58 |
60 @interface DownloadItemCell(TestingAPI) | 59 @interface DownloadItemCell(TestingAPI) |
61 - (BOOL)isStatusTextVisible; | 60 - (BOOL)isStatusTextVisible; |
62 - (CGFloat)statusTextAlpha; | 61 - (CGFloat)statusTextAlpha; |
63 - (void)skipVisibilityAnimation; | 62 - (void)skipVisibilityAnimation; |
64 - (void)showSecondaryTitle; | 63 - (void)showSecondaryTitle; |
65 - (void)hideSecondaryTitle; | 64 - (void)hideSecondaryTitle; |
66 @end | 65 @end |
67 | 66 |
68 #endif // CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CELL_H_ | 67 #endif // CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CELL_H_ |
OLD | NEW |