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

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

Issue 260012: Use more images from the pak files... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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) 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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "base/scoped_ptr.h" 7 #include "base/scoped_ptr.h"
8 #include "base/time.h" 8 #include "base/time.h"
9 9
10 class BaseDownloadItemModel; 10 class BaseDownloadItemModel;
(...skipping 17 matching lines...) Expand all
28 NSMenu* currentMenu_; // points to one of the two menus above 28 NSMenu* currentMenu_; // points to one of the two menus above
29 29
30 // This is shown instead of progressView_ for dangerous downloads. 30 // This is shown instead of progressView_ for dangerous downloads.
31 IBOutlet NSView* dangerousDownloadView_; 31 IBOutlet NSView* dangerousDownloadView_;
32 IBOutlet NSTextField* dangerousDownloadLabel_; 32 IBOutlet NSTextField* dangerousDownloadLabel_;
33 33
34 // So we can find out how much the tweaker changed sizes to update the 34 // So we can find out how much the tweaker changed sizes to update the
35 // other views. 35 // other views.
36 IBOutlet GTMWidthBasedTweaker* buttonTweaker_; 36 IBOutlet GTMWidthBasedTweaker* buttonTweaker_;
37 37
38 IBOutlet NSImageView* image_;
39
38 scoped_ptr<DownloadItemMac> bridge_; 40 scoped_ptr<DownloadItemMac> bridge_;
39 scoped_ptr<DownloadShelfContextMenuMac> menuBridge_; 41 scoped_ptr<DownloadShelfContextMenuMac> menuBridge_;
40 42
41 // Weak pointer to the shelf that owns us. 43 // Weak pointer to the shelf that owns us.
42 DownloadShelfController* shelf_; 44 DownloadShelfController* shelf_;
43 45
44 // The time at which this view was created. 46 // The time at which this view was created.
45 base::Time creationTime_; 47 base::Time creationTime_;
46 48
47 // The state of this item. 49 // The state of this item.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 - (IBAction)discardDownload:(id)sender; 86 - (IBAction)discardDownload:(id)sender;
85 87
86 // Context menu handlers. 88 // Context menu handlers.
87 - (IBAction)handleOpen:(id)sender; 89 - (IBAction)handleOpen:(id)sender;
88 - (IBAction)handleAlwaysOpen:(id)sender; 90 - (IBAction)handleAlwaysOpen:(id)sender;
89 - (IBAction)handleReveal:(id)sender; 91 - (IBAction)handleReveal:(id)sender;
90 - (IBAction)handleCancel:(id)sender; 92 - (IBAction)handleCancel:(id)sender;
91 93
92 @end 94 @end
93 95
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/bookmark_bar_controller.mm ('k') | chrome/browser/cocoa/download_item_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698