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

Unified Diff: ui/gfx/vector_icon_types.h

Issue 2860163002: WIP - allow vector icons to specify motion.
Patch Set: checkpoint Created 3 years, 7 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
« no previous file with comments | « ui/gfx/paint_vector_icon.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/vector_icon_types.h
diff --git a/ui/gfx/vector_icon_types.h b/ui/gfx/vector_icon_types.h
index e8217e6ae36970d1ee399674e0ec19c6f99e6c1f..f2282f107e5f2d7eb94b22e421da328e0d4933fb 100644
--- a/ui/gfx/vector_icon_types.h
+++ b/ui/gfx/vector_icon_types.h
@@ -58,17 +58,21 @@ enum CommandType {
// Flips the x-axis in RTL locales. Default is false, this command sets it to
// true.
FLIPS_IN_RTL,
+ // FIXME
+ TRANSITION_FROM,
+ TRANSITION_TO,
+ TRANSITION_END,
// Marks the end of the list of commands.
END
};
// A POD that describes either a path command or an argument for it.
struct PathElement {
- constexpr PathElement(CommandType value) : type(value) {}
+ constexpr PathElement(CommandType value) : command(value) {}
constexpr PathElement(SkScalar value) : arg(value) {}
union {
- CommandType type;
+ CommandType command;
SkScalar arg;
};
};
« no previous file with comments | « ui/gfx/paint_vector_icon.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698