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

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

Issue 9562038: ui/gfx: Make gfx::Canvas inherit from gfx::CanvasSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more two win fixes Created 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "grit/locale_settings.h" 42 #include "grit/locale_settings.h"
43 #include "grit/theme_resources.h" 43 #include "grit/theme_resources.h"
44 #include "net/base/mime_util.h" 44 #include "net/base/mime_util.h"
45 #include "net/base/net_util.h" 45 #include "net/base/net_util.h"
46 #include "skia/ext/image_operations.h" 46 #include "skia/ext/image_operations.h"
47 #include "third_party/skia/include/core/SkPath.h" 47 #include "third_party/skia/include/core/SkPath.h"
48 #include "third_party/skia/include/core/SkShader.h" 48 #include "third_party/skia/include/core/SkShader.h"
49 #include "ui/base/l10n/l10n_util.h" 49 #include "ui/base/l10n/l10n_util.h"
50 #include "ui/base/resource/resource_bundle.h" 50 #include "ui/base/resource/resource_bundle.h"
51 #include "ui/base/text/bytes_formatting.h" 51 #include "ui/base/text/bytes_formatting.h"
52 #include "ui/gfx/canvas_skia.h" 52 #include "ui/gfx/canvas.h"
53 #include "ui/gfx/image/image.h" 53 #include "ui/gfx/image/image.h"
54 #include "ui/gfx/rect.h" 54 #include "ui/gfx/rect.h"
55 55
56 #if defined(TOOLKIT_VIEWS) 56 #if defined(TOOLKIT_VIEWS)
57 #include "ui/base/dragdrop/drag_utils.h" 57 #include "ui/base/dragdrop/drag_utils.h"
58 #include "ui/base/dragdrop/os_exchange_data.h" 58 #include "ui/base/dragdrop/os_exchange_data.h"
59 #endif 59 #endif
60 60
61 #if defined(TOOLKIT_USES_GTK) 61 #if defined(TOOLKIT_USES_GTK)
62 #if defined(TOOLKIT_VIEWS) 62 #if defined(TOOLKIT_VIEWS)
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 UMA_HISTOGRAM_ENUMERATION( 630 UMA_HISTOGRAM_ENUMERATION(
631 "Download.CountsChrome", type, CHROME_DOWNLOAD_COUNT_TYPES_LAST_ENTRY); 631 "Download.CountsChrome", type, CHROME_DOWNLOAD_COUNT_TYPES_LAST_ENTRY);
632 } 632 }
633 633
634 void RecordDownloadSource(ChromeDownloadSource source) { 634 void RecordDownloadSource(ChromeDownloadSource source) {
635 UMA_HISTOGRAM_ENUMERATION( 635 UMA_HISTOGRAM_ENUMERATION(
636 "Download.SourcesChrome", source, CHROME_DOWNLOAD_SOURCE_LAST_ENTRY); 636 "Download.SourcesChrome", source, CHROME_DOWNLOAD_SOURCE_LAST_ENTRY);
637 } 637 }
638 638
639 } // namespace download_util 639 } // namespace download_util
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/rounded_rect_painter.cc ('k') | chrome/browser/ui/panels/panel_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698