| 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 #import "chrome/browser/cocoa/gradient_button_cell.h" | 9 #import "chrome/browser/cocoa/gradient_button_cell.h" |
| 10 | 10 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 scoped_nsobject<NSAnimation> hideStatusAnimation_; | 45 scoped_nsobject<NSAnimation> hideStatusAnimation_; |
| 46 | 46 |
| 47 scoped_nsobject<GTMTheme> theme_; | 47 scoped_nsobject<GTMTheme> theme_; |
| 48 } | 48 } |
| 49 | 49 |
| 50 - (void)setStateFromDownload:(BaseDownloadItemModel*)downloadModel; | 50 - (void)setStateFromDownload:(BaseDownloadItemModel*)downloadModel; |
| 51 | 51 |
| 52 @property (copy) NSString* secondaryTitle; | 52 @property (copy) NSString* secondaryTitle; |
| 53 @property (retain) NSFont* secondaryFont; | 53 @property (retain) NSFont* secondaryFont; |
| 54 | 54 |
| 55 // Valid to call in response to a click of the cell's button. Returns if the | 55 // Returns if the mouse is over the button part of the cell. |
| 56 // button part of the cell was clicked. | 56 - (BOOL)isMouseOverButtonPart; |
| 57 - (BOOL)isButtonPartPressed; | |
| 58 | 57 |
| 59 @end | 58 @end |
| 60 | 59 |
| 61 #endif // CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_CELL_H_ | 60 #endif // CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_CELL_H_ |
| 62 | 61 |
| OLD | NEW |