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

Side by Side Diff: chrome/browser/ui/cocoa/download/download_item_cell.mm

Issue 23271005: Move DragDownload() out of download_util.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: drag_download_item Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #import "chrome/browser/ui/cocoa/download/download_item_cell.h" 5 #import "chrome/browser/ui/cocoa/download/download_item_cell.h"
6 6
7 #include "base/strings/sys_string_conversions.h" 7 #include "base/strings/sys_string_conversions.h"
8 #include "chrome/browser/download/download_item_model.h" 8 #include "chrome/browser/download/download_item_model.h"
9 #include "chrome/browser/download/download_shelf.h" 9 #include "chrome/browser/download/download_shelf.h"
10 #include "chrome/browser/download/download_util.h"
11 #import "chrome/browser/themes/theme_properties.h" 10 #import "chrome/browser/themes/theme_properties.h"
12 #import "chrome/browser/ui/cocoa/download/background_theme.h" 11 #import "chrome/browser/ui/cocoa/download/background_theme.h"
13 #import "chrome/browser/ui/cocoa/themed_window.h" 12 #import "chrome/browser/ui/cocoa/themed_window.h"
14 #include "content/public/browser/download_item.h" 13 #include "content/public/browser/download_item.h"
15 #include "content/public/browser/download_manager.h" 14 #include "content/public/browser/download_manager.h"
16 #include "grit/theme_resources.h" 15 #include "grit/theme_resources.h"
17 #import "third_party/GTM/AppKit/GTMNSAnimation+Duration.h" 16 #import "third_party/GTM/AppKit/GTMNSAnimation+Duration.h"
18 #import "third_party/GTM/AppKit/GTMNSColor+Luminance.h" 17 #import "third_party/GTM/AppKit/GTMNSColor+Luminance.h"
19 #include "ui/base/l10n/l10n_util.h" 18 #include "ui/base/l10n/l10n_util.h"
20 #include "ui/base/text/text_elider.h" 19 #include "ui/base/text/text_elider.h"
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 770
772 - (void)invalidate { 771 - (void)invalidate {
773 [timer_ invalidate]; 772 [timer_ invalidate];
774 } 773 }
775 774
776 - (void)onTimer:(NSTimer*)timer { 775 - (void)onTimer:(NSTimer*)timer {
777 [cell_ updateIndeterminateDownload]; 776 [cell_ updateIndeterminateDownload];
778 } 777 }
779 778
780 @end 779 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698