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

Side by Side Diff: chrome/browser/cocoa/download_item_mac.h

Issue 165295: Add "dangerous download" view on OS X, for now for dmg files. Also fix download item layout. (Closed)
Patch Set: Address comments Created 11 years, 4 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
OLDNEW
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_MAC_H_ 5 #ifndef CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_MAC_H_
6 #define CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_MAC_H_ 6 #define CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/scoped_nsobject.h" 10 #include "base/scoped_nsobject.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 // The download item model we represent. 45 // The download item model we represent.
46 scoped_ptr<BaseDownloadItemModel> download_model_; 46 scoped_ptr<BaseDownloadItemModel> download_model_;
47 47
48 // The objective-c controller object. 48 // The objective-c controller object.
49 DownloadItemController* item_controller_; // weak, owns us. 49 DownloadItemController* item_controller_; // weak, owns us.
50 50
51 // For canceling an in progress icon request. 51 // For canceling an in progress icon request.
52 CancelableRequestConsumerT<int, 0> icon_consumer_; 52 CancelableRequestConsumerT<int, 0> icon_consumer_;
53 53
54 // Stores the last known name where the file will be saved.
55 FilePath lastFilePath_;
56
54 DISALLOW_COPY_AND_ASSIGN(DownloadItemMac); 57 DISALLOW_COPY_AND_ASSIGN(DownloadItemMac);
55 }; 58 };
56 59
57 #endif // CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_MAC_H_ 60 #endif // CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/download_item_controller.mm ('k') | chrome/browser/cocoa/download_item_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698