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

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 2137483003: Add UMA metrics for root scroller intervention to track forcing passive breakage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change layout test to a unit test Created 4 years, 5 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:
Download patch
« no previous file with comments | « third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 839fb34b648dea0dfcc9f052fb3026387d70cf30..8c4dd5d3fbad600ee0b008e7c1e6a0e2892d2f2b 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -12976,6 +12976,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<summary>Time to request a timestamp from the X server.</summary>
</histogram>
+<histogram name="Event.PassiveForcedEventDispatchCancelled"
+ enum="PassiveForcedListenerResultType">
+ <owner>dtapuska@chromium.org</owner>
+ <summary>
+ Counts the number of event listener invocations that were forced to be
+ passive due to interventions and whether the invocation of the listener
+ called prevent default or not.
+ </summary>
+</histogram>
+
<histogram name="Event.PassiveListeners" enum="EventResultType">
<owner>dtapuska@chromium.org</owner>
<summary>
@@ -85223,6 +85233,11 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="3" label="Cookie contains both control chars and is invalid"/>
</enum>
+<enum name="PassiveForcedListenerResultType" type="int">
+ <int value="0" label="PreventDefaultNotCalled"/>
+ <int value="1" label="DocumentLevelTouchPreventDefaultCalled"/>
+</enum>
+
<enum name="PasswordBubbleDisplayDisposition" type="int">
<int value="0" label="Opened automatically / Offering a password to save"/>
<int value="1" label="Opened manually / Offering a password to save"/>
« no previous file with comments | « third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698