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

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

Issue 2835036: Mac: Add tooltip to download item. (Closed)
Patch Set: nits Created 10 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/cocoa/download_item_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 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 #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;
11 @class ChromeUILocalizer; 11 @class ChromeUILocalizer;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 // Download item button clicked 80 // Download item button clicked
81 - (IBAction)handleButtonClick:(id)sender; 81 - (IBAction)handleButtonClick:(id)sender;
82 82
83 // Returns the size this item wants to have. 83 // Returns the size this item wants to have.
84 - (NSSize)preferredSize; 84 - (NSSize)preferredSize;
85 85
86 // Returns the DownloadItem model object belonging to this item. 86 // Returns the DownloadItem model object belonging to this item.
87 - (DownloadItem*)download; 87 - (DownloadItem*)download;
88 88
89 // Updates the tooltip with the download's path.
90 - (void)updateToolTip;
91
89 // Handling of dangerous downloads 92 // Handling of dangerous downloads
90 - (void)clearDangerousMode; 93 - (void)clearDangerousMode;
91 - (BOOL)isDangerousMode; 94 - (BOOL)isDangerousMode;
92 - (IBAction)saveDownload:(id)sender; 95 - (IBAction)saveDownload:(id)sender;
93 - (IBAction)discardDownload:(id)sender; 96 - (IBAction)discardDownload:(id)sender;
94 97
95 // Context menu handlers. 98 // Context menu handlers.
96 - (IBAction)handleOpen:(id)sender; 99 - (IBAction)handleOpen:(id)sender;
97 - (IBAction)handleAlwaysOpen:(id)sender; 100 - (IBAction)handleAlwaysOpen:(id)sender;
98 - (IBAction)handleReveal:(id)sender; 101 - (IBAction)handleReveal:(id)sender;
99 - (IBAction)handleCancel:(id)sender; 102 - (IBAction)handleCancel:(id)sender;
100 - (IBAction)handleTogglePause:(id)sender; 103 - (IBAction)handleTogglePause:(id)sender;
101 104
102 @end 105 @end
103 106
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/cocoa/download_item_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698