OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "app/text_elider.h" | 8 #include "app/text_elider.h" |
9 #include "base/mac_util.h" | |
10 #include "base/sys_string_conversions.h" | 9 #include "base/sys_string_conversions.h" |
11 #include "chrome/browser/download/download_item.h" | 10 #include "chrome/browser/download/download_item.h" |
12 #include "chrome/browser/download/download_item_model.h" | 11 #include "chrome/browser/download/download_item_model.h" |
13 #include "chrome/browser/download/download_manager.h" | 12 #include "chrome/browser/download/download_manager.h" |
14 #include "chrome/browser/download/download_util.h" | 13 #include "chrome/browser/download/download_util.h" |
15 #import "chrome/browser/themes/browser_theme_provider.h" | 14 #import "chrome/browser/themes/browser_theme_provider.h" |
16 #import "chrome/browser/ui/cocoa/download/download_item_cell.h" | 15 #import "chrome/browser/ui/cocoa/download/download_item_cell.h" |
17 #import "chrome/browser/ui/cocoa/image_utils.h" | 16 #import "chrome/browser/ui/cocoa/image_utils.h" |
18 #import "chrome/browser/ui/cocoa/themed_window.h" | 17 #import "chrome/browser/ui/cocoa/themed_window.h" |
19 #include "gfx/canvas_skia_paint.h" | 18 #include "gfx/canvas_skia_paint.h" |
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 } | 698 } |
700 return self; | 699 return self; |
701 } | 700 } |
702 | 701 |
703 - (void)setCurrentProgress:(NSAnimationProgress)progress { | 702 - (void)setCurrentProgress:(NSAnimationProgress)progress { |
704 [super setCurrentProgress:progress]; | 703 [super setCurrentProgress:progress]; |
705 [cell_ animation:self progressed:progress]; | 704 [cell_ animation:self progressed:progress]; |
706 } | 705 } |
707 | 706 |
708 @end | 707 @end |
OLD | NEW |