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

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

Issue 2209443005: [Mac] Refactor for updating the download item (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/download/download_item_controller.mm
diff --git a/chrome/browser/ui/cocoa/download/download_item_controller.mm b/chrome/browser/ui/cocoa/download/download_item_controller.mm
index 1f3bcdc38bd26cc9dbc0d9f7e1d330df5f6a45cd..fd3a5f8628ac27e4eeedf642a1118e4c3c3add0c 100644
--- a/chrome/browser/ui/cocoa/download/download_item_controller.mm
+++ b/chrome/browser/ui/cocoa/download/download_item_controller.mm
@@ -284,10 +284,6 @@ class DownloadShelfContextMenuMac : public DownloadShelfContextMenu {
[progressView_ setToolTip:base::SysUTF16ToNSString(tooltip_text)];
}
-- (void)updateDownloadItemView {
- [progressView_ setNeedsDisplay:YES];
-}
-
- (void)clearDangerousMode {
[self setState:kNormal];
// The state change hide the dangerouse download view and is now showing the

Powered by Google App Engine
This is Rietveld 408576698