OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_COCOA_DOWNLOAD_ITEM_CELL_H_ | 5 #ifndef CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_CELL_H_ |
6 #define CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_CELL_H_ | 6 #define CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_CELL_H_ |
7 | 7 |
8 #import "base/cocoa_protocols_mac.h" | 8 #import "base/cocoa_protocols_mac.h" |
9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
10 #import "chrome/browser/cocoa/gradient_button_cell.h" | 10 #import "chrome/browser/cocoa/gradient_button_cell.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 BOOL isStatusTextVisible_; | 42 BOOL isStatusTextVisible_; |
43 CGFloat titleY_; | 43 CGFloat titleY_; |
44 CGFloat statusAlpha_; | 44 CGFloat statusAlpha_; |
45 scoped_nsobject<NSAnimation> hideStatusAnimation_; | 45 scoped_nsobject<NSAnimation> hideStatusAnimation_; |
46 | 46 |
47 scoped_ptr<ThemeProvider> themeProvider_; | 47 scoped_ptr<ThemeProvider> themeProvider_; |
48 } | 48 } |
49 | 49 |
50 - (void)setStateFromDownload:(BaseDownloadItemModel*)downloadModel; | 50 - (void)setStateFromDownload:(BaseDownloadItemModel*)downloadModel; |
51 | 51 |
52 @property (copy) NSString* secondaryTitle; | 52 @property (nonatomic, copy) NSString* secondaryTitle; |
53 @property (retain) NSFont* secondaryFont; | 53 @property (nonatomic, retain) NSFont* secondaryFont; |
54 | 54 |
55 // Returns if the mouse is over the button part of the cell. | 55 // Returns if the mouse is over the button part of the cell. |
56 - (BOOL)isMouseOverButtonPart; | 56 - (BOOL)isMouseOverButtonPart; |
57 | 57 |
58 @end | 58 @end |
59 | 59 |
60 #endif // CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_CELL_H_ | 60 #endif // CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_CELL_H_ |
61 | 61 |
OLD | NEW |