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

Unified Diff: Source/core/page/UseCounter.cpp

Issue 22925002: Add support to resolve unprefixed CSS animations properties. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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: Source/core/page/UseCounter.cpp
diff --git a/Source/core/page/UseCounter.cpp b/Source/core/page/UseCounter.cpp
index 7737be9df79c204a9bf22309cb488b98da1f89b0..354c4cde41c0c253b025a5a7e8b1b11c85100955 100644
--- a/Source/core/page/UseCounter.cpp
+++ b/Source/core/page/UseCounter.cpp
@@ -485,6 +485,15 @@ int UseCounter::mapCSSPropertyIdToCSSSampleIdForHistogram(int id)
case CSSPropertyTouchAction: return 421;
case CSSPropertyGridArea: return 422;
case CSSPropertyGridTemplate: return 423;
+ case CSSPropertyAnimation: return 424;
+ case CSSPropertyAnimationDelay: return 425;
+ case CSSPropertyAnimationDirection: return 426;
+ case CSSPropertyAnimationDuration: return 427;
+ case CSSPropertyAnimationFillMode: return 428;
+ case CSSPropertyAnimationIterationCount: return 429;
+ case CSSPropertyAnimationName: return 430;
+ case CSSPropertyAnimationPlayState: return 431;
+ case CSSPropertyAnimationTimingFunction: return 432;
eseidel 2013/08/13 17:49:15 This isn't error prone at all. :p
darktears 2013/08/13 18:08:54 :D
// Add new features above this line (don't change the assigned numbers of the existing
// items) and update maximumCSSSampleId() with the new maximum value.
@@ -499,7 +508,7 @@ int UseCounter::mapCSSPropertyIdToCSSSampleIdForHistogram(int id)
return 0;
}
-static int maximumCSSSampleId() { return 423; }
+static int maximumCSSSampleId() { return 432; }
UseCounter::UseCounter()
{

Powered by Google App Engine
This is Rietveld 408576698