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

Issue 1700743003: Record whether and why the media default controls are being shown. (Closed)

Created:
4 years, 10 months ago by mlamouri (slow - plz ping)
Modified:
4 years, 10 months ago
CC:
asvitkine+watch_chromium.org, blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, mlamouri+watch-blink_chromium.org, philipj_slow, nessy, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@media-controls-usecount
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Record whether and why the media default controls are being shown. Whenever the default media controls should become visible, an entry is added to an histogram recording whether the default controls are shown and if they are, why. BUG=583709 Committed: https://crrev.com/e911caae47d8ed83b0b5ca28284d21a7091f49d6 Cr-Commit-Position: refs/heads/master@{#377265}

Patch Set 1 #

Total comments: 10

Patch Set 2 : review comments #

Total comments: 12

Patch Set 3 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -10 lines) Patch
M third_party/WebKit/Source/core/html/HTMLMediaElement.h View 1 2 3 chunks +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 2 3 chunks +30 lines, -8 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
mlamouri (slow - plz ping)
4 years, 10 months ago (2016-02-15 16:42:05 UTC) #2
philipj_slow
https://codereview.chromium.org/1700743003/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/1700743003/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode94 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:94: enum DefaultControlsShow { I'd call it MediaControls, because these ...
4 years, 10 months ago (2016-02-16 06:20:27 UTC) #3
Alexei Svitkine (slow)
https://codereview.chromium.org/1700743003/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1700743003/diff/1/tools/metrics/histograms/histograms.xml#newcode19114 tools/metrics/histograms/histograms.xml:19114: + <summary>Whether default media controls were shown and why.</summary> ...
4 years, 10 months ago (2016-02-16 22:22:10 UTC) #4
mlamouri (slow - plz ping)
PTAL. https://codereview.chromium.org/1700743003/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/1700743003/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode94 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:94: enum DefaultControlsShow { On 2016/02/16 at 06:20:27, philipj_UTC7 ...
4 years, 10 months ago (2016-02-18 15:49:31 UTC) #5
Alexei Svitkine (slow)
lgtm
4 years, 10 months ago (2016-02-18 15:51:01 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1700743003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1700743003/20001
4 years, 10 months ago (2016-02-18 15:51:37 UTC) #8
sof
https://codereview.chromium.org/1700743003/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.h File third_party/WebKit/Source/core/html/HTMLMediaElement.h (right): https://codereview.chromium.org/1700743003/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.h#newcode448 third_party/WebKit/Source/core/html/HTMLMediaElement.h:448: bool shouldShowControlsInternal(bool record) const; We prefer using enums rather ...
4 years, 10 months ago (2016-02-18 16:12:17 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-18 19:11:55 UTC) #12
philipj_slow
https://codereview.chromium.org/1700743003/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/1700743003/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode118 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:118: MediaControlsShowNone, Maybe MediaControlsNotShown? https://codereview.chromium.org/1700743003/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode119 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:119: MediaControlsShowMax AutoplayExperimentHelper.h has NumberOfAutoplayMetrics, ...
4 years, 10 months ago (2016-02-19 04:05:44 UTC) #13
mlamouri (slow - plz ping)
Comments applied. PTAL. https://codereview.chromium.org/1700743003/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/1700743003/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode118 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:118: MediaControlsShowNone, On 2016/02/19 at 04:05:43, philipj_UTC7 ...
4 years, 10 months ago (2016-02-23 18:42:13 UTC) #14
philipj_slow
lgtm https://codereview.chromium.org/1700743003/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/1700743003/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode119 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:119: MediaControlsShowMax On 2016/02/23 18:42:13, Mounir Lamouri wrote: > ...
4 years, 10 months ago (2016-02-24 09:54:33 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1700743003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1700743003/40001
4 years, 10 months ago (2016-02-24 10:00:52 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-24 11:28:27 UTC) #19
commit-bot: I haz the power
4 years, 10 months ago (2016-02-24 11:30:04 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e911caae47d8ed83b0b5ca28284d21a7091f49d6
Cr-Commit-Position: refs/heads/master@{#377265}

Powered by Google App Engine
This is Rietveld 408576698