| 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 #ifndef CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CONTROLLER_H_ |
| 7 |
| 5 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 6 | 9 |
| 7 #include <memory> | 10 #include <memory> |
| 8 | 11 |
| 9 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 10 | 13 |
| 11 @class ChromeUILocalizer; | 14 @class ChromeUILocalizer; |
| 12 @class DownloadItemCell; | 15 @class DownloadItemCell; |
| 13 @class DownloadItemButton; | 16 @class DownloadItemButton; |
| 14 class DownloadItemMac; | 17 class DownloadItemMac; |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 - (void)updateToolTip; | 159 - (void)updateToolTip; |
| 157 | 160 |
| 158 // Handling of dangerous downloads | 161 // Handling of dangerous downloads |
| 159 - (void)clearDangerousMode; | 162 - (void)clearDangerousMode; |
| 160 - (BOOL)isDangerousMode; | 163 - (BOOL)isDangerousMode; |
| 161 - (IBAction)saveDownload:(id)sender; | 164 - (IBAction)saveDownload:(id)sender; |
| 162 - (IBAction)discardDownload:(id)sender; | 165 - (IBAction)discardDownload:(id)sender; |
| 163 - (IBAction)showContextMenu:(id)sender; | 166 - (IBAction)showContextMenu:(id)sender; |
| 164 | 167 |
| 165 @end | 168 @end |
| 169 |
| 170 #endif // CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CONTROLLER_H_ |
| OLD | NEW |