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

Unified Diff: ui/gfx/paint_vector_icon.h

Issue 1313603003: Vectorize website settings icons in omnibox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix osx Created 5 years, 4 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: ui/gfx/paint_vector_icon.h
diff --git a/ui/gfx/paint_vector_icon.h b/ui/gfx/paint_vector_icon.h
index 51b244029824ae4a579d4553a48fd1ab06ab476e..1087fc3d4fd2a84493472d5624c19399068af48e 100644
--- a/ui/gfx/paint_vector_icon.h
+++ b/ui/gfx/paint_vector_icon.h
@@ -27,6 +27,10 @@ GFX_EXPORT void PaintVectorIcon(Canvas* canvas,
GFX_EXPORT ImageSkia CreateVectorIcon(VectorIconId id,
size_t dip_size,
SkColor color);
+GFX_EXPORT ImageSkia CreateVectorIconWithBadge(VectorIconId id,
sky 2015/08/26 23:26:59 Document what badge_id is.
+ size_t dip_size,
+ SkColor color,
+ VectorIconId badge_id);
#if defined(GFX_VECTOR_ICONS_UNSAFE) || defined(GFX_IMPLEMENTATION)
// Takes a string of the format expected of .icon files and renders onto

Powered by Google App Engine
This is Rietveld 408576698