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

Unified Diff: chrome/browser/download/download_util.h

Issue 11009017: Mac Web Intents Part 11: Progress view (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: a Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/download_util.h
diff --git a/chrome/browser/download/download_util.h b/chrome/browser/download/download_util.h
index eeabc4a9ba9eca1aee69658522ddc85bf71783d2..9ba97148bbd4d6eddff7b2d9d7553575a64daeb2 100644
--- a/chrome/browser/download/download_util.h
+++ b/chrome/browser/download/download_util.h
@@ -32,6 +32,8 @@ class DownloadItem;
namespace gfx {
class Canvas;
class Image;
+class ImageSkia;
+class Rect;
}
namespace download_util {
@@ -91,6 +93,14 @@ enum PaintDownloadProgressSize {
// require the containing View in addition to the canvas because if we are
// drawing in a right-to-left locale, we need to mirror the position of the
// progress animation within the containing View.
+void PaintCustomDownloadProgress(gfx::Canvas* canvas,
+ const gfx::ImageSkia& background_image,
+ const gfx::ImageSkia& foreground_image,
+ int image_size,
+ const gfx::Rect& bounds,
+ int start_angle,
+ int percent_done);
+
void PaintDownloadProgress(gfx::Canvas* canvas,
#if defined(TOOLKIT_VIEWS)
views::View* containing_view,

Powered by Google App Engine
This is Rietveld 408576698