[Media Controls] Add UMA for rotate-to-fullscreen feature

Desktop / Chromium - johnme [chromium.org] - 16 June 2017 14:23 EDT

Measures how often rotate-to-fullscren enters or exits fullscreen:- Media.Video.RotateToFullscreen.Enter- Media.Video.RotateToFullscreen.Exit

and whether the screen orientation is allowed to rotate by the user:- Media.Video.FullscreenOrientationLock.AutoRotateEnabled

BUG=713703

Review-Url: https://codereview.chromium.org/2936413002 Cr-Commit-Position: refs/heads/master@{#480105}

ce63450 [Media Controls] Add UMA for rotate-to-fullscreen feature
.../MediaControlsOrientationLockDelegate.cpp | 9 +++++++++
.../MediaControlsRotateToFullscreenDelegate.cpp | 10 ++++++++--
tools/metrics/actions/actions.xml | 18 ++++++++++++++++++
tools/metrics/histograms/histograms.xml | 14 ++++++++++++++
4 files changed, 49 insertions(+), 2 deletions(-)

Upstream: git.chromium.org


  • Share