OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <memory> | 7 #include <memory> |
8 | 8 |
9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
10 | 10 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 - (ui::MenuModel*)contextMenuModel; | 153 - (ui::MenuModel*)contextMenuModel; |
154 | 154 |
155 // Updates the tooltip with the download's path. | 155 // Updates the tooltip with the download's path. |
156 - (void)updateToolTip; | 156 - (void)updateToolTip; |
157 | 157 |
158 // Handling of dangerous downloads | 158 // Handling of dangerous downloads |
159 - (void)clearDangerousMode; | 159 - (void)clearDangerousMode; |
160 - (BOOL)isDangerousMode; | 160 - (BOOL)isDangerousMode; |
161 - (IBAction)saveDownload:(id)sender; | 161 - (IBAction)saveDownload:(id)sender; |
162 - (IBAction)discardDownload:(id)sender; | 162 - (IBAction)discardDownload:(id)sender; |
163 - (IBAction)dismissMaliciousDownload:(id)sender; | |
164 - (IBAction)showContextMenu:(id)sender; | 163 - (IBAction)showContextMenu:(id)sender; |
165 | 164 |
166 @end | 165 @end |
OLD | NEW |