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

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

Issue 1835303002: Implementation of the GreenWeb language extensions. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change GreenWeb-related CSS property names such that they apply in the desired order at runtime. Created 4 years, 9 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 017d1fb12cd5c650eaf018bc67d79da899e19338..fbf3a9c4737d433595430fdb26d825644dcac20e 100644
--- a/third_party/WebKit/Source/core/frame/UseCounter.cpp
+++ b/third_party/WebKit/Source/core/frame/UseCounter.cpp
@@ -547,6 +547,26 @@ int UseCounter::mapCSSPropertyIdToCSSSampleIdForHistogram(int id)
case CSSPropertyGridRowGap: return 512;
case CSSPropertyGridGap: return 513;
case CSSPropertyFontFeatureSettings: return 514;
+ case CSSPropertyOnclickType: return 515;
+ case CSSPropertyOnclickVduration: return 516;
+ case CSSPropertyOnclickVpi: return 517;
+ case CSSPropertyOnclickVpu: return 518;
+ case CSSPropertyOntouchstartType: return 519;
+ case CSSPropertyOntouchstartVduration: return 520;
+ case CSSPropertyOntouchstartVpi: return 521;
+ case CSSPropertyOntouchstartVpu: return 522;
+ case CSSPropertyOntouchmoveType: return 523;
+ case CSSPropertyOntouchmoveVduration: return 524;
+ case CSSPropertyOntouchmoveVpi: return 525;
+ case CSSPropertyOntouchmoveVpu: return 526;
+ case CSSPropertyOnscrollType: return 527;
+ case CSSPropertyOnscrollVduration: return 528;
+ case CSSPropertyOnscrollVpi: return 529;
+ case CSSPropertyOnscrollVpu: return 530;
+ case CSSPropertyOntouchendType: return 531;
+ case CSSPropertyOntouchendVduration: return 532;
+ case CSSPropertyOntouchendVpi: return 533;
+ case CSSPropertyOntouchendVpu: return 534;
// 1. Add new features above this line (don't change the assigned numbers of the existing
// items).
@@ -563,7 +583,7 @@ int UseCounter::mapCSSPropertyIdToCSSSampleIdForHistogram(int id)
return 0;
}
-static int maximumCSSSampleId() { return 514; }
+static int maximumCSSSampleId() { return 534; }
void UseCounter::muteForInspector()
{
« no previous file with comments | « third_party/WebKit/Source/core/events/EventDispatcher.cpp ('k') | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698