Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #import "base/mac/cocoa_protocols.h" | 9 #import "base/mac/cocoa_protocols.h" |
| 10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
| (...skipping 30 matching lines...) Expand all Loading... | |
| 41 scoped_nsobject<NSAnimation> completionAnimation_; | 41 scoped_nsobject<NSAnimation> completionAnimation_; |
| 42 | 42 |
| 43 BOOL isStatusTextVisible_; | 43 BOOL isStatusTextVisible_; |
| 44 CGFloat titleY_; | 44 CGFloat titleY_; |
| 45 CGFloat statusAlpha_; | 45 CGFloat statusAlpha_; |
| 46 scoped_nsobject<NSAnimation> hideStatusAnimation_; | 46 scoped_nsobject<NSAnimation> hideStatusAnimation_; |
| 47 | 47 |
| 48 scoped_ptr<ui::ThemeProvider> themeProvider_; | 48 scoped_ptr<ui::ThemeProvider> themeProvider_; |
| 49 } | 49 } |
| 50 | 50 |
| 51 - (void)setStateFromDownload:(BaseDownloadItemModel*)downloadModel; | 51 - (void)setStateFromDownload:(BaseDownloadItemModel*)downloadModel; |
|
Robert Sesek
2011/01/24 18:03:57
This should come after the @property lines.
| |
| 52 | 52 |
| 53 @property (nonatomic, copy) NSString* secondaryTitle; | 53 @property(nonatomic, copy) NSString* secondaryTitle; |
| 54 @property (nonatomic, retain) NSFont* secondaryFont; | 54 @property(nonatomic, retain) NSFont* secondaryFont; |
| 55 | 55 |
| 56 // Returns if the mouse is over the button part of the cell. | 56 // Returns if the mouse is over the button part of the cell. |
| 57 - (BOOL)isMouseOverButtonPart; | 57 - (BOOL)isMouseOverButtonPart; |
| 58 | 58 |
| 59 @end | 59 @end |
| 60 | 60 |
| 61 #endif // CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CELL_H_ | 61 #endif // CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CELL_H_ |
| OLD | NEW |