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

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

Issue 24011: chrome_resources take 2 (Closed)
Patch Set: rebase Created 11 years, 10 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
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_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 "grit/theme_resources.h"
18 #include "chrome/browser/browser_process.h" 18 #include "chrome/browser/browser_process.h"
19 #include "chrome/browser/metrics/user_metrics.h" 19 #include "chrome/browser/metrics/user_metrics.h"
20 #include "chrome/browser/profile.h" 20 #include "chrome/browser/profile.h"
21 #include "chrome/common/gfx/chrome_canvas.h" 21 #include "chrome/common/gfx/chrome_canvas.h"
22 #include "chrome/common/gfx/chrome_font.h" 22 #include "chrome/common/gfx/chrome_font.h"
23 #include "chrome/common/gfx/text_elider.h" 23 #include "chrome/common/gfx/text_elider.h"
24 #include "chrome/common/l10n_util.h" 24 #include "chrome/common/l10n_util.h"
25 #include "chrome/common/notification_service.h" 25 #include "chrome/common/notification_service.h"
26 #include "chrome/common/resource_bundle.h" 26 #include "chrome/common/resource_bundle.h"
27 #include "chrome/common/stl_util-inl.h" 27 #include "chrome/common/stl_util-inl.h"
(...skipping 1304 matching lines...) Expand 10 before | Expand all | Expand 10 after
1332 case NotificationType::DOWNLOAD_STOP: 1332 case NotificationType::DOWNLOAD_STOP:
1333 DCHECK(profile()->HasCreatedDownloadManager()); 1333 DCHECK(profile()->HasCreatedDownloadManager());
1334 contents_->SetIsLoading( 1334 contents_->SetIsLoading(
1335 profile()->GetDownloadManager()->in_progress_count() > 0, 1335 profile()->GetDownloadManager()->in_progress_count() > 0,
1336 NULL); 1336 NULL);
1337 break; 1337 break;
1338 default: 1338 default:
1339 break; 1339 break;
1340 } 1340 }
1341 } 1341 }
OLDNEW
« no previous file with comments | « chrome/browser/views/download_started_animation.cc ('k') | chrome/browser/views/edit_keyword_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698