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

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

Issue 5695006: Audit some Mac TODOs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 0d67b8390035c36aec8331397545056d92e8c6ee..39ff0de40e1632d960c0db7a67830943e9d30f46 100644
--- a/chrome/browser/ui/cocoa/download/download_item_controller.mm
+++ b/chrome/browser/ui/cocoa/download/download_item_controller.mm
@@ -236,8 +236,6 @@ class DownloadShelfContextMenuMac : public DownloadShelfContextMenu {
if ([[self view] window])
[self updateTheme:[[[self view] window] themeProvider]];
- // TODO(thakis): Make this prettier, by fading the items out or overlaying
- // the partial visible one with a horizontal alpha gradient -- crbug.com/17830
NSView* view = [self view];
NSRect containerFrame = [[view superview] frame];
[view setHidden:(NSMaxX([view frame]) > NSWidth(containerFrame))];

Powered by Google App Engine
This is Rietveld 408576698