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

Side by Side Diff: chrome/browser/views/download_item_view.cc

Issue 2826: Move the download code to new directories: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 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
« no previous file with comments | « chrome/browser/views/download_item_view.h ('k') | chrome/browser/views/download_shelf_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include "chrome/browser/views/download_item_view.h" 5 #include "chrome/browser/views/download_item_view.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "chrome/app/theme/theme_resources.h" 9 #include "chrome/app/theme/theme_resources.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
11 #include "chrome/browser/download_util.h" 11 #include "chrome/browser/download/download_util.h"
12 #include "chrome/browser/views/download_shelf_view.h" 12 #include "chrome/browser/views/download_shelf_view.h"
13 #include "chrome/common/gfx/chrome_canvas.h" 13 #include "chrome/common/gfx/chrome_canvas.h"
14 #include "chrome/common/resource_bundle.h" 14 #include "chrome/common/resource_bundle.h"
15 #include "chrome/common/win_util.h" 15 #include "chrome/common/win_util.h"
16 #include "chrome/views/root_view.h" 16 #include "chrome/views/root_view.h"
17 #include "chrome/views/view_container.h" 17 #include "chrome/views/view_container.h"
18 18
19 #include "generated_resources.h" 19 #include "generated_resources.h"
20 20
21 // TODO(paulg): These may need to be adjusted when download progress 21 // TODO(paulg): These may need to be adjusted when download progress
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 GetParent()->SchedulePaint(); 537 GetParent()->SchedulePaint();
538 } 538 }
539 539
540 void DownloadItemView::LoadIcon() { 540 void DownloadItemView::LoadIcon() {
541 IconManager* im = g_browser_process->icon_manager(); 541 IconManager* im = g_browser_process->icon_manager();
542 im->LoadIcon(download_->full_path(), IconLoader::SMALL, 542 im->LoadIcon(download_->full_path(), IconLoader::SMALL,
543 &icon_consumer_, 543 &icon_consumer_,
544 NewCallback(this, &DownloadItemView::OnExtractIconComplete)); 544 NewCallback(this, &DownloadItemView::OnExtractIconComplete));
545 } 545 }
546 546
OLDNEW
« no previous file with comments | « chrome/browser/views/download_item_view.h ('k') | chrome/browser/views/download_shelf_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698