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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 1700743003: Record whether and why the media default controls are being shown. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@media-controls-usecount
Patch Set: review comments 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:
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElement.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 bce3cf4240b395184f3558969d262fe2d373322b..4ebbd2550cfc5cc62ae982175c35bf6784beb142 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -19273,6 +19273,14 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Media.Controls.Show" enum="MediaControlsShowReason">
+ <owner>mlamouri@chromium.org</owner>
+ <summary>
+ Record whether the default media controls where shown and why every time
+ they could be shown.
+ </summary>
+</histogram>
+
<histogram name="Media.CrosBeamformingDeviceState"
enum="CrosBeamformingDeviceState">
<owner>ajm@chromium.org</owner>
@@ -72720,6 +72728,13 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="39" label="SmoothStream"/>
</enum>
+<enum name="MediaControlsShowReason" type="int">
+ <int value="0" label="Attribute"/>
+ <int value="1" label="Fullscreen"/>
+ <int value="2" label="No scripts allowed"/>
+ <int value="3" label="Not shown"/>
+</enum>
+
<enum name="MediaElementAutoPlay" type="int">
<int value="0" label="Media element with autoplay seen"/>
<int value="1"
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698