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

Unified Diff: ui/gfx/vector_icon_types.h

Issue 2870643003: Add support for animations in vector icons. (Closed)
Patch Set: what happened 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
« ui/gfx/paint_vector_icon.cc ('K') | « 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 b18000b41fe304b8ade4ae9bdde408243741b068..27d21c3bbc6ee3270e9dbfeb0a924c48c537c4e8 100644
--- a/ui/gfx/vector_icon_types.h
+++ b/ui/gfx/vector_icon_types.h
@@ -58,6 +58,11 @@ enum CommandType {
// Flips the x-axis in RTL locales. Default is false, this command sets it to
// true.
FLIPS_IN_RTL,
+ // Defines a timed transition for other elements.
+ TRANSITION_FROM,
+ TRANSITION_TO,
+ // Parameters are delay (ms), duration (ms), and tween type.
sadrul 2017/05/11 04:22:55 Please also include how the tween type is defined
Evan Stade 2017/05/11 16:16:26 Done, but it seems that will be apparent once anim
+ TRANSITION_END,
// Marks the end of the list of commands.
END
};
« ui/gfx/paint_vector_icon.cc ('K') | « ui/gfx/paint_vector_icon.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698