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

Issue 2728133002: Media Controls: make the MediaControlsOverlayPlayButton a runtime enabled flag. (Closed)

Created:
3 years, 9 months ago by mlamouri (slow - plz ping)
Modified:
3 years, 9 months ago
CC:
alokp+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-frames_chromium.org, blink-reviews-html_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, halliwell+watch_chromium.org, jam, kinuko+watch, lcwu+watch_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-blink_chromium.org, nasko+codewatch_chromium.org, posciak+watch_chromium.org, nessy, Srirama, steimel
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Media Controls: make the MediaControlsOverlayPlayButton a runtime enabled flag. It doesn't need to be a settings because it is not used on a document basis but on a platform basis. A runtime enabled flag has a lower overhead and is easier to work with because there is no need for a settings object to be available, making tests easier to write. BUG=698237 Review-Url: https://codereview.chromium.org/2728133002 Cr-Commit-Position: refs/heads/master@{#454771} Committed: https://chromium.googlesource.com/chromium/src/+/48a24fcc7bcf3f9c02faf6b1e949eed37f246c81

Patch Set 1 #

Total comments: 1

Patch Set 2 : add missing header #

Patch Set 3 : oups #

Patch Set 4 : should create a cast target #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -63 lines) Patch
M chromecast/renderer/cast_content_renderer_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M chromecast/renderer/cast_content_renderer_client.cc View 1 2 3 3 chunks +7 lines, -3 lines 0 comments Download
M content/child/runtime_features.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 chunk +0 lines, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/media/controls/video-overlay-play-button.html View 1 chunk +54 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html View 1 chunk +0 lines, -47 lines 0 comments Download
M third_party/WebKit/Source/core/frame/Settings.json5 View 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/shadow/MediaControls.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebRuntimeFeatures.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebSettingsImpl.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebSettingsImpl.cpp View 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/public/web/WebRuntimeFeatures.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebSettings.h View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 27 (19 generated)
mlamouri (slow - plz ping)
lcwu@, PTAL at chromecast/ changes. esprehn@, PTAL at content/ and Blink changes. avayvod@, PTAL at ...
3 years, 9 months ago (2017-03-03 14:31:15 UTC) #2
halliwell
https://codereview.chromium.org/2728133002/diff/1/chromecast/renderer/cast_content_renderer_client.cc File chromecast/renderer/cast_content_renderer_client.cc (right): https://codereview.chromium.org/2728133002/diff/1/chromecast/renderer/cast_content_renderer_client.cc#newcode151 chromecast/renderer/cast_content_renderer_client.cc:151: WebRuntimeFeatures::enableMediaControlsOverlayPlayButton(false); do you need to include a header for ...
3 years, 9 months ago (2017-03-03 15:26:29 UTC) #8
mlamouri (slow - plz ping)
On 2017/03/03 at 15:26:29, halliwell wrote: > https://codereview.chromium.org/2728133002/diff/1/chromecast/renderer/cast_content_renderer_client.cc > File chromecast/renderer/cast_content_renderer_client.cc (right): > > https://codereview.chromium.org/2728133002/diff/1/chromecast/renderer/cast_content_renderer_client.cc#newcode151 ...
3 years, 9 months ago (2017-03-03 17:25:03 UTC) #9
mlamouri (slow - plz ping)
Added header. PTAL :)
3 years, 9 months ago (2017-03-03 17:26:19 UTC) #11
halliwell
On 2017/03/03 17:26:19, mlamouri wrote: > Added header. PTAL :) chromecast/ lgtm
3 years, 9 months ago (2017-03-03 18:30:51 UTC) #19
esprehn
lgtm
3 years, 9 months ago (2017-03-03 21:46:32 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2728133002/60001
3 years, 9 months ago (2017-03-04 13:41:06 UTC) #24
commit-bot: I haz the power
3 years, 9 months ago (2017-03-04 13:45:25 UTC) #27
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/48a24fcc7bcf3f9c02faf6b1e949...

Powered by Google App Engine
This is Rietveld 408576698