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

Side by Side Diff: chrome/browser/views/download_tab_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
Property Changes:
Added: svn:mergeinfo
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/download_tab_view.h" 5 #include "chrome/browser/views/download_tab_view.h"
6 6
7 #include <time.h> 7 #include <time.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <functional> 10 #include <functional>
11 11
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "base/task.h" 14 #include "base/task.h"
15 #include "base/time_format.h" 15 #include "base/time_format.h"
16 #include "base/timer.h" 16 #include "base/timer.h"
17 #include "chrome/app/theme/theme_resources.h" 17 #include "chrome/app/theme/theme_resources.h"
18 #include "chrome/browser/browser_process.h" 18 #include "chrome/browser/browser_process.h"
19 #include "chrome/browser/download_manager.h"
20 #include "chrome/browser/download_util.h"
21 #include "chrome/browser/profile.h" 19 #include "chrome/browser/profile.h"
22 #include "chrome/browser/user_metrics.h" 20 #include "chrome/browser/user_metrics.h"
23 #include "chrome/common/gfx/chrome_canvas.h" 21 #include "chrome/common/gfx/chrome_canvas.h"
24 #include "chrome/common/gfx/chrome_font.h" 22 #include "chrome/common/gfx/chrome_font.h"
25 #include "chrome/common/l10n_util.h" 23 #include "chrome/common/l10n_util.h"
26 #include "chrome/common/resource_bundle.h" 24 #include "chrome/common/resource_bundle.h"
27 #include "chrome/common/stl_util-inl.h" 25 #include "chrome/common/stl_util-inl.h"
28 #include "chrome/common/time_format.h" 26 #include "chrome/common/time_format.h"
29 #include "chrome/views/background.h" 27 #include "chrome/views/background.h"
30 #include "googleurl/src/gurl.h" 28 #include "googleurl/src/gurl.h"
(...skipping 1143 matching lines...) Expand 10 before | Expand all | Expand 10 after
1174 DCHECK(profile()->HasCreatedDownloadManager()); 1172 DCHECK(profile()->HasCreatedDownloadManager());
1175 contents_->SetIsLoading( 1173 contents_->SetIsLoading(
1176 profile()->GetDownloadManager()->in_progress_count() > 0, 1174 profile()->GetDownloadManager()->in_progress_count() > 0,
1177 NULL); 1175 NULL);
1178 break; 1176 break;
1179 default: 1177 default:
1180 break; 1178 break;
1181 } 1179 }
1182 } 1180 }
1183 1181
OLDNEW
« no previous file with comments | « chrome/browser/views/download_tab_view.h ('k') | chrome/browser/views/options/advanced_contents_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698