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

Side by Side Diff: chrome/browser/download/download_util.cc

Issue 1132006: Move app/gfx/canvas and app/gfx/font to gfx/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 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/cocoa/styled_text_field_cell.mm ('k') | chrome/browser/gtk/bookmark_bar_gtk.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // Download utility implementation 5 // Download utility implementation
6 6
7 #include "chrome/browser/download/download_util.h" 7 #include "chrome/browser/download/download_util.h"
8 8
9 #if defined(OS_WIN) 9 #if defined(OS_WIN)
10 #include <shobjidl.h> 10 #include <shobjidl.h>
11 #endif 11 #endif
12 #include <string> 12 #include <string>
13 13
14 #include "app/gfx/canvas.h"
15 #include "app/l10n_util.h" 14 #include "app/l10n_util.h"
16 #include "app/resource_bundle.h" 15 #include "app/resource_bundle.h"
17 #include "base/file_util.h" 16 #include "base/file_util.h"
18 #include "base/i18n/rtl.h" 17 #include "base/i18n/rtl.h"
19 #include "base/i18n/time_formatting.h" 18 #include "base/i18n/time_formatting.h"
20 #include "base/path_service.h" 19 #include "base/path_service.h"
21 #include "base/singleton.h" 20 #include "base/singleton.h"
22 #include "base/string_util.h" 21 #include "base/string_util.h"
23 #include "base/utf_string_conversions.h" 22 #include "base/utf_string_conversions.h"
24 #include "base/values.h" 23 #include "base/values.h"
25 #include "chrome/browser/browser_process.h" 24 #include "chrome/browser/browser_process.h"
26 #include "chrome/browser/download/download_item_model.h" 25 #include "chrome/browser/download/download_item_model.h"
27 #include "chrome/browser/download/download_manager.h" 26 #include "chrome/browser/download/download_manager.h"
28 #include "chrome/common/chrome_paths.h" 27 #include "chrome/common/chrome_paths.h"
29 #include "chrome/common/extensions/extension.h" 28 #include "chrome/common/extensions/extension.h"
30 #include "chrome/common/time_format.h" 29 #include "chrome/common/time_format.h"
30 #include "gfx/canvas.h"
31 #include "gfx/rect.h" 31 #include "gfx/rect.h"
32 #include "grit/generated_resources.h" 32 #include "grit/generated_resources.h"
33 #include "grit/locale_settings.h" 33 #include "grit/locale_settings.h"
34 #include "grit/theme_resources.h" 34 #include "grit/theme_resources.h"
35 #include "net/base/mime_util.h" 35 #include "net/base/mime_util.h"
36 #include "skia/ext/image_operations.h" 36 #include "skia/ext/image_operations.h"
37 #include "third_party/skia/include/core/SkPath.h" 37 #include "third_party/skia/include/core/SkPath.h"
38 #include "third_party/skia/include/core/SkShader.h" 38 #include "third_party/skia/include/core/SkShader.h"
39 39
40 #if defined(TOOLKIT_VIEWS) 40 #if defined(TOOLKIT_VIEWS)
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 else if (!progress_known) 489 else if (!progress_known)
490 taskbar->SetProgressState(frame, TBPF_INDETERMINATE); 490 taskbar->SetProgressState(frame, TBPF_INDETERMINATE);
491 else 491 else
492 taskbar->SetProgressValue(frame, (int)(progress * 100), 100); 492 taskbar->SetProgressValue(frame, (int)(progress * 100), 100);
493 } 493 }
494 #endif 494 #endif
495 } 495 }
496 #endif 496 #endif
497 497
498 } // namespace download_util 498 } // namespace download_util
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/styled_text_field_cell.mm ('k') | chrome/browser/gtk/bookmark_bar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698