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

Unified Diff: chrome/browser/ui/cocoa/download/download_item_controller.h

Issue 40733005: [Mac] Update the warnings UI for malicious downloads. (Closed) Base URL: ssh://asankaworkstation.cam.corp.google.com/home/asanka/l/git/src.git@master
Patch Set: Rebase Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/nibs/DownloadItem.xib ('k') | chrome/browser/ui/cocoa/download/download_item_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/download/download_item_controller.h
diff --git a/chrome/browser/ui/cocoa/download/download_item_controller.h b/chrome/browser/ui/cocoa/download/download_item_controller.h
index 206f55f28c866b545135fe516d711dd4f26851f9..78010b6be04b3c4056ba92fcfbb2039ce396ba65 100644
--- a/chrome/browser/ui/cocoa/download/download_item_controller.h
+++ b/chrome/browser/ui/cocoa/download/download_item_controller.h
@@ -41,9 +41,10 @@ class MenuModel;
IBOutlet NSTextField* dangerousDownloadLabel_;
IBOutlet NSButton* dangerousDownloadConfirmButton_;
- // Needed to find out how much the tweaker changed sizes to update the
- // other views.
- IBOutlet GTMWidthBasedTweaker* buttonTweaker_;
+ // Needed to find out how much the tweakers changed sizes to update the other
+ // views.
+ IBOutlet GTMWidthBasedTweaker* dangerousButtonTweaker_;
+ IBOutlet GTMWidthBasedTweaker* maliciousButtonTweaker_;
// Because the confirm text and button for dangerous downloads are determined
// at runtime, an outlet to the localizer is needed to construct the layout
@@ -115,5 +116,6 @@ class MenuModel;
- (BOOL)isDangerousMode;
- (IBAction)saveDownload:(id)sender;
- (IBAction)discardDownload:(id)sender;
-
+- (IBAction)dismissMaliciousDownload:(id)sender;
+- (IBAction)showContextMenu:(id)sender;
@end
« no previous file with comments | « chrome/app/nibs/DownloadItem.xib ('k') | chrome/browser/ui/cocoa/download/download_item_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698