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

Issue 192453005: Merge MediaControlsAndroid into MediaControls (Closed)

Created:
6 years, 9 months ago by philipj_slow
Modified:
6 years, 9 months ago
CC:
blink-reviews, nessy, gasubic, ed+blinkwatch_opera.com, eric.carlson_apple.com, fs, feature-media-reviews_chromium.org, dglazkov+blink, apavlov+blink_chromium.org, adamk+blink_chromium.org, darktears, rwlbuis, vcarbune.chromium, rune+blink
Visibility:
Public.

Description

Merge MediaControlsAndroid into MediaControls The additional functionality in MediaControlsAndroid is so small that merging it was trivial. Just use CSS to hide the overlay enclosure. One unsightly ifdef remains in MediaControls::shouldHideControls(), hopefully this can eventually be removed by using a setting or perhaps checking the device capabilities. MediaControls::createTextTrackDisplay() was made simpler. BUG=341813 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168967

Patch Set 1 #

Patch Set 2 : create only if needed #

Patch Set 3 : revert simplification #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -187 lines) Patch
M Source/core/core.gypi View 1 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/css/mediaControls.css View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/mediaControlsAndroid.css View 1 chunk +0 lines, -4 lines 0 comments Download
M Source/core/html/shadow/MediaControls.h View 1 4 chunks +10 lines, -20 lines 0 comments Download
M Source/core/html/shadow/MediaControls.cpp View 1 2 13 chunks +47 lines, -23 lines 0 comments Download
D Source/core/html/shadow/MediaControlsAndroid.h View 1 chunk +0 lines, -53 lines 0 comments Download
D Source/core/html/shadow/MediaControlsAndroid.cpp View 1 chunk +0 lines, -84 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
philipj_slow
PTAL. It's been frustrating at times to work on this because the Android code isn't ...
6 years, 9 months ago (2014-03-10 17:33:45 UTC) #1
acolwell GONE FROM CHROMIUM
On 2014/03/10 17:33:45, philipj wrote: > PTAL. It's been frustrating at times to work on ...
6 years, 9 months ago (2014-03-10 21:06:12 UTC) #2
philipj_slow
I've tried to make things more explicit now and think it's for the better, thanks ...
6 years, 9 months ago (2014-03-11 11:36:40 UTC) #3
philipj_slow
I reverted the simplifcation to MediaControls::createTextTrackDisplay(), since after testing with the Android code paths I ...
6 years, 9 months ago (2014-03-11 17:07:56 UTC) #4
acolwell GONE FROM CHROMIUM
lgtm
6 years, 9 months ago (2014-03-11 19:07:21 UTC) #5
philipj_slow
The CQ bit was checked by philipj@opera.com
6 years, 9 months ago (2014-03-12 00:45:49 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/192453005/40001
6 years, 9 months ago (2014-03-12 00:47:35 UTC) #7
commit-bot: I haz the power
6 years, 9 months ago (2014-03-12 01:03:43 UTC) #8
Message was sent while issue was closed.
Change committed as 168967

Powered by Google App Engine
This is Rietveld 408576698