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

Side by Side Diff: chrome/browser/ui/cocoa/download/download_item_cell.h

Issue 6905049: Detect removed files and reflect the state in chrome://downloads and the download shelf (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Merge with the latest revision 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #pragma once 7 #pragma once
8 8
9 #import "base/mac/cocoa_protocols.h" 9 #import "base/mac/cocoa_protocols.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 25 matching lines...) Expand all
36 36
37 FilePath downloadPath_; // stored unelided 37 FilePath downloadPath_; // stored unelided
38 NSString* secondaryTitle_; 38 NSString* secondaryTitle_;
39 NSFont* secondaryFont_; 39 NSFont* secondaryFont_;
40 int percentDone_; 40 int percentDone_;
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> showStatusAnimation_;
46 scoped_nsobject<NSAnimation> hideStatusAnimation_; 47 scoped_nsobject<NSAnimation> hideStatusAnimation_;
47 48
48 scoped_ptr<ui::ThemeProvider> themeProvider_; 49 scoped_ptr<ui::ThemeProvider> themeProvider_;
49 } 50 }
50 51
51 @property(nonatomic, copy) NSString* secondaryTitle; 52 @property(nonatomic, copy) NSString* secondaryTitle;
52 @property(nonatomic, retain) NSFont* secondaryFont; 53 @property(nonatomic, retain) NSFont* secondaryFont;
53 54
54 - (void)setStateFromDownload:(BaseDownloadItemModel*)downloadModel; 55 - (void)setStateFromDownload:(BaseDownloadItemModel*)downloadModel;
55 56
56 // Returns if the mouse is over the button part of the cell. 57 // Returns if the mouse is over the button part of the cell.
57 - (BOOL)isMouseOverButtonPart; 58 - (BOOL)isMouseOverButtonPart;
58 59
59 @end 60 @end
60 61
61 #endif // CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CELL_H_ 62 #endif // CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CELL_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/downloads.js ('k') | chrome/browser/ui/cocoa/download/download_item_cell.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698