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

Unified Diff: third_party/WebKit/Source/core/frame/UseCounter.cpp

Issue 2247773004: [WIP] CSS Motion Path: offset-anchor and offset-position Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: offsetAnchor 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: third_party/WebKit/Source/core/frame/UseCounter.cpp
diff --git a/third_party/WebKit/Source/core/frame/UseCounter.cpp b/third_party/WebKit/Source/core/frame/UseCounter.cpp
index 0ce8ee4baed1ab2fae4fe0e8b4e3e6f3ffd72314..305324dcf0ae1c71be4d6f4eb533e4966118af47 100644
--- a/third_party/WebKit/Source/core/frame/UseCounter.cpp
+++ b/third_party/WebKit/Source/core/frame/UseCounter.cpp
@@ -483,9 +483,9 @@ int UseCounter::mapCSSPropertyIdToCSSSampleIdForHistogram(int id)
case CSSPropertyGrid: return 453;
case CSSPropertyAll: return 454;
case CSSPropertyJustifyItems: return 455;
- case CSSPropertyMotionPath: return 457;
- case CSSPropertyMotionOffset: return 458;
- case CSSPropertyMotionRotation: return 459;
+ case CSSPropertyAliasMotionPath: return 457;
+ case CSSPropertyAliasMotionOffset: return 458;
+ case CSSPropertyAliasMotionRotation: return 459;
case CSSPropertyMotion: return 460;
case CSSPropertyX: return 461;
case CSSPropertyY: return 462;
@@ -566,6 +566,13 @@ int UseCounter::mapCSSPropertyIdToCSSSampleIdForHistogram(int id)
case CSSPropertyAliasWebkitTextSizeAdjust: return 537;
case CSSPropertyOverflowAnchor: return 538;
case CSSPropertyUserSelect: return 539;
+ case CSSPropertyOffsetDistance: return 540;
+ case CSSPropertyOffsetPath: return 541;
+ case CSSPropertyOffsetRotation: return 542;
+ case CSSPropertyOffset: return 543;
+ case CSSPropertyOffsetAnchor: return 544;
+ case CSSPropertyOffsetPosition: return 545;
+
// 1. Add new features above this line (don't change the assigned numbers of the existing
// items).
// 2. Update maximumCSSSampleId() with the new maximum value.
@@ -582,7 +589,7 @@ int UseCounter::mapCSSPropertyIdToCSSSampleIdForHistogram(int id)
}
// Make sure update_use_counter_css.py was run which updates histograms.xml.
-static int maximumCSSSampleId() { return 539; }
+static int maximumCSSSampleId() { return 545; }
static EnumerationHistogram& featureObserverHistogram()
{

Powered by Google App Engine
This is Rietveld 408576698