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

Unified Diff: ui/gfx/vector_icon_types.h

Issue 2251643011: Move Ash-specific vector icons to ash/common/resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/vector_icon_types.h
diff --git a/ui/gfx/vector_icon_types.h b/ui/gfx/vector_icon_types.h
index cc1be94d0f8ba614872f05f231ea037b69e9e329..e171617a819955b70992141d527028390e8956a7 100644
--- a/ui/gfx/vector_icon_types.h
+++ b/ui/gfx/vector_icon_types.h
@@ -12,6 +12,7 @@
namespace gfx {
+struct VectorIcon;
enum class VectorIconId;
// The size of a single side of the square canvas to which path coordinates
@@ -72,6 +73,11 @@ struct PathElement {
};
};
+struct VectorIcon {
+ gfx::PathElement* path;
+ gfx::PathElement* path_1x;
+};
+
// Returns an array of path commands and arguments, terminated by END.
const PathElement* GetPathForVectorIcon(VectorIconId id);
// As above, but returns an icon specifically adjusted for 1x scale factors.

Powered by Google App Engine
This is Rietveld 408576698