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

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

Issue 2148483002: [Mac] Fix download shelf items (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 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 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 0298199d9d9e8fa5006cb487f4b149ce2261cc49..9756c05dc17a862faef0ac67207cff5e0d49249e 100644
--- a/chrome/browser/ui/cocoa/download/download_item_controller.mm
+++ b/chrome/browser/ui/cocoa/download/download_item_controller.mm
@@ -284,6 +284,10 @@ 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