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

Issue 456323002: [WIP] Re-implement MediaControls in Blink-in-JS (Closed)

Created:
6 years, 4 months ago by hajimehoshi
Modified:
6 years, 2 months ago
CC:
arv+blink, blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, Inactive, dglazkov+blink, eae+blinkwatch, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, rwlbuis, sof, nessy, vcarbune.chromium
Project:
blink
Visibility:
Public.

Description

[WIP] Re-implement MediaControls in Blink-in-JS BUG=399821

Patch Set 1 #

Total comments: 15

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Total comments: 9

Patch Set 10 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+1054 lines, -76 lines) Patch
M Source/bindings/core/v8/PrivateScriptRunner.cpp View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -0 lines 0 comments Download
M Source/core/core.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/core_generated.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/shadow/MediaControlElementTypes.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/shadow/MediaControlElementTypes.cpp View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/html/shadow/MediaControlElements.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/shadow/MediaControlElements.cpp View 1 2 3 4 5 6 7 8 4 chunks +5 lines, -5 lines 0 comments Download
M Source/core/html/shadow/MediaControls.h View 1 2 3 4 5 6 7 8 9 2 chunks +19 lines, -2 lines 0 comments Download
M Source/core/html/shadow/MediaControls.cpp View 1 2 3 4 5 6 7 8 9 10 chunks +278 lines, -59 lines 2 comments Download
A Source/core/html/shadow/MediaControls.idl View 1 2 3 4 5 6 7 8 9 1 chunk +54 lines, -0 lines 1 comment Download
A Source/core/html/shadow/MediaControls.js View 1 2 3 4 5 6 7 8 1 chunk +672 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderMediaControls.cpp View 1 2 3 4 5 6 7 5 chunks +9 lines, -6 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
hajimehoshi
https://codereview.chromium.org/456323002/diff/1/Source/core/dom/Element.idl File Source/core/dom/Element.idl (right): https://codereview.chromium.org/456323002/diff/1/Source/core/dom/Element.idl#newcode110 Source/core/dom/Element.idl:110: [RaisesException, OnlyExposedToPrivateScript] createUserAgentShadowRoot(); TODO: This change and the changes ...
6 years, 4 months ago (2014-08-11 09:32:51 UTC) #1
haraken
Although this is a work-in-progress, I believe we're going a right way. https://codereview.chromium.org/456323002/diff/1/Source/core/dom/Element.cpp File Source/core/dom/Element.cpp ...
6 years, 4 months ago (2014-08-11 11:09:33 UTC) #2
abarth-chromium
https://codereview.chromium.org/456323002/diff/1/Source/core/html/HTMLMediaElement.idl File Source/core/html/HTMLMediaElement.idl (right): https://codereview.chromium.org/456323002/diff/1/Source/core/html/HTMLMediaElement.idl#newcode99 Source/core/html/HTMLMediaElement.idl:99: [OnlyExposedToPrivateScript] boolean hasAudio(); Why is this needed? We should ...
6 years, 4 months ago (2014-08-11 18:04:12 UTC) #3
philipj_slow
https://codereview.chromium.org/456323002/diff/1/Source/core/html/HTMLMediaElement.idl File Source/core/html/HTMLMediaElement.idl (right): https://codereview.chromium.org/456323002/diff/1/Source/core/html/HTMLMediaElement.idl#newcode99 Source/core/html/HTMLMediaElement.idl:99: [OnlyExposedToPrivateScript] boolean hasAudio(); On 2014/08/11 18:04:12, abarth wrote: > ...
6 years, 4 months ago (2014-08-11 19:40:15 UTC) #4
hajimehoshi
Thank you! https://codereview.chromium.org/456323002/diff/1/Source/core/html/HTMLMediaElement.idl File Source/core/html/HTMLMediaElement.idl (right): https://codereview.chromium.org/456323002/diff/1/Source/core/html/HTMLMediaElement.idl#newcode99 Source/core/html/HTMLMediaElement.idl:99: [OnlyExposedToPrivateScript] boolean hasAudio(); On 2014/08/11 19:40:15, philipj ...
6 years, 4 months ago (2014-08-12 06:54:09 UTC) #5
philipj_slow
https://codereview.chromium.org/456323002/diff/1/Source/core/html/HTMLMediaElement.idl File Source/core/html/HTMLMediaElement.idl (right): https://codereview.chromium.org/456323002/diff/1/Source/core/html/HTMLMediaElement.idl#newcode99 Source/core/html/HTMLMediaElement.idl:99: [OnlyExposedToPrivateScript] boolean hasAudio(); On 2014/08/12 06:54:09, hajimehoshi wrote: > ...
6 years, 4 months ago (2014-08-12 08:27:48 UTC) #6
hajimehoshi
I found a problem about image resources. AFAIK, the current parts of a media control, ...
6 years, 4 months ago (2014-08-15 06:01:15 UTC) #7
abarth-chromium
On 2014/08/15 at 06:01:15, hajimehoshi wrote: > My idea is creating an API of JavaScript ...
6 years, 4 months ago (2014-08-15 06:18:08 UTC) #8
hajimehoshi
On 2014/08/15 06:18:08, abarth wrote: > On 2014/08/15 at 06:01:15, hajimehoshi wrote: > > My ...
6 years, 4 months ago (2014-08-15 06:54:22 UTC) #9
eric.carlson
On 2014/08/15 06:54:22, hajimehoshi wrote: > On 2014/08/15 06:18:08, abarth wrote: > > > > ...
6 years, 4 months ago (2014-08-15 16:26:41 UTC) #10
abarth-chromium
On 2014/08/15 16:26:41, eric.carlson wrote: > That code is obsolete in trunk and will be ...
6 years, 4 months ago (2014-08-15 17:13:19 UTC) #11
hajimehoshi
Now the basic features are almost working (like media/video-controls.html), but there are still many thing ...
6 years, 4 months ago (2014-08-22 11:43:15 UTC) #12
abarth-chromium
https://codereview.chromium.org/456323002/diff/200001/Source/core/html/shadow/MediaControls.idl File Source/core/html/shadow/MediaControls.idl (right): https://codereview.chromium.org/456323002/diff/200001/Source/core/html/shadow/MediaControls.idl#newcode40 Source/core/html/shadow/MediaControls.idl:40: [OnlyExposedToPrivateScript] void updateTextTrackContainerDisplay(HTMLElement textTrackContainer); This is way too many ...
6 years, 4 months ago (2014-08-23 05:48:34 UTC) #13
abarth-chromium
How close can you come with zero private APIs?
6 years, 4 months ago (2014-08-23 05:48:49 UTC) #14
haraken
https://codereview.chromium.org/456323002/diff/200001/Source/core/html/shadow/MediaControls.idl File Source/core/html/shadow/MediaControls.idl (right): https://codereview.chromium.org/456323002/diff/200001/Source/core/html/shadow/MediaControls.idl#newcode40 Source/core/html/shadow/MediaControls.idl:40: [OnlyExposedToPrivateScript] void updateTextTrackContainerDisplay(HTMLElement textTrackContainer); On 2014/08/23 05:48:33, abarth wrote: ...
6 years, 3 months ago (2014-08-25 03:59:28 UTC) #15
haraken
https://codereview.chromium.org/456323002/diff/200001/Source/core/html/shadow/MediaControls.idl File Source/core/html/shadow/MediaControls.idl (right): https://codereview.chromium.org/456323002/diff/200001/Source/core/html/shadow/MediaControls.idl#newcode40 Source/core/html/shadow/MediaControls.idl:40: [OnlyExposedToPrivateScript] void updateTextTrackContainerDisplay(HTMLElement textTrackContainer); On 2014/08/23 05:48:33, abarth wrote: ...
6 years, 3 months ago (2014-08-25 03:59:28 UTC) #16
hajimehoshi
https://codereview.chromium.org/456323002/diff/200001/Source/core/html/shadow/MediaControls.idl File Source/core/html/shadow/MediaControls.idl (right): https://codereview.chromium.org/456323002/diff/200001/Source/core/html/shadow/MediaControls.idl#newcode40 Source/core/html/shadow/MediaControls.idl:40: [OnlyExposedToPrivateScript] void updateTextTrackContainerDisplay(HTMLElement textTrackContainer); On 2014/08/25 03:59:28, haraken wrote: ...
6 years, 3 months ago (2014-08-25 06:34:01 UTC) #17
haraken
https://codereview.chromium.org/456323002/diff/200001/Source/core/html/shadow/MediaControls.idl File Source/core/html/shadow/MediaControls.idl (right): https://codereview.chromium.org/456323002/diff/200001/Source/core/html/shadow/MediaControls.idl#newcode40 Source/core/html/shadow/MediaControls.idl:40: [OnlyExposedToPrivateScript] void updateTextTrackContainerDisplay(HTMLElement textTrackContainer); On 2014/08/25 06:34:01, hajimehoshi wrote: ...
6 years, 3 months ago (2014-08-25 06:53:49 UTC) #18
hajimehoshi
https://codereview.chromium.org/456323002/diff/200001/Source/core/html/shadow/MediaControls.idl File Source/core/html/shadow/MediaControls.idl (right): https://codereview.chromium.org/456323002/diff/200001/Source/core/html/shadow/MediaControls.idl#newcode40 Source/core/html/shadow/MediaControls.idl:40: [OnlyExposedToPrivateScript] void updateTextTrackContainerDisplay(HTMLElement textTrackContainer); On 2014/08/25 06:53:49, haraken wrote: ...
6 years, 3 months ago (2014-08-25 07:11:28 UTC) #19
philipj_slow
https://codereview.chromium.org/456323002/diff/200001/Source/core/html/shadow/MediaControls.idl File Source/core/html/shadow/MediaControls.idl (right): https://codereview.chromium.org/456323002/diff/200001/Source/core/html/shadow/MediaControls.idl#newcode40 Source/core/html/shadow/MediaControls.idl:40: [OnlyExposedToPrivateScript] void updateTextTrackContainerDisplay(HTMLElement textTrackContainer); On 2014/08/25 07:11:27, hajimehoshi wrote: ...
6 years, 3 months ago (2014-08-25 08:16:07 UTC) #20
hajimehoshi
https://codereview.chromium.org/456323002/diff/200001/Source/core/html/shadow/MediaControls.idl File Source/core/html/shadow/MediaControls.idl (right): https://codereview.chromium.org/456323002/diff/200001/Source/core/html/shadow/MediaControls.idl#newcode40 Source/core/html/shadow/MediaControls.idl:40: [OnlyExposedToPrivateScript] void updateTextTrackContainerDisplay(HTMLElement textTrackContainer); On 2014/08/25 08:16:07, philipj wrote: ...
6 years, 3 months ago (2014-08-25 09:11:18 UTC) #21
hajimehoshi
https://codereview.chromium.org/456323002/diff/220001/Source/core/html/shadow/MediaControls.idl File Source/core/html/shadow/MediaControls.idl (right): https://codereview.chromium.org/456323002/diff/220001/Source/core/html/shadow/MediaControls.idl#newcode54 Source/core/html/shadow/MediaControls.idl:54: }; I added the reasons why these private API ...
6 years, 3 months ago (2014-08-25 09:16:03 UTC) #22
philipj_slow
https://codereview.chromium.org/456323002/diff/200001/Source/core/html/shadow/MediaControls.idl File Source/core/html/shadow/MediaControls.idl (right): https://codereview.chromium.org/456323002/diff/200001/Source/core/html/shadow/MediaControls.idl#newcode40 Source/core/html/shadow/MediaControls.idl:40: [OnlyExposedToPrivateScript] void updateTextTrackContainerDisplay(HTMLElement textTrackContainer); On 2014/08/25 09:11:18, hajimehoshi wrote: ...
6 years, 3 months ago (2014-08-25 09:47:54 UTC) #23
philipj_slow
https://codereview.chromium.org/456323002/diff/220001/Source/core/html/shadow/MediaControls.cpp File Source/core/html/shadow/MediaControls.cpp (right): https://codereview.chromium.org/456323002/diff/220001/Source/core/html/shadow/MediaControls.cpp#newcode581 Source/core/html/shadow/MediaControls.cpp:581: void MediaControls::setCurrentTime(double time) I think this can be implemented ...
6 years, 3 months ago (2014-08-25 09:53:27 UTC) #24
hajimehoshi
https://codereview.chromium.org/456323002/diff/200001/Source/core/html/shadow/MediaControls.idl File Source/core/html/shadow/MediaControls.idl (right): https://codereview.chromium.org/456323002/diff/200001/Source/core/html/shadow/MediaControls.idl#newcode40 Source/core/html/shadow/MediaControls.idl:40: [OnlyExposedToPrivateScript] void updateTextTrackContainerDisplay(HTMLElement textTrackContainer); On 2014/08/25 09:47:54, philipj wrote: ...
6 years, 3 months ago (2014-08-26 04:33:52 UTC) #25
abarth-chromium
On 2014/08/26 at 04:33:52, hajimehoshi wrote: > Adam, what do you think? I think we ...
6 years, 3 months ago (2014-08-26 04:42:10 UTC) #26
haraken
On 2014/08/26 04:42:10, abarth wrote: > On 2014/08/26 at 04:33:52, hajimehoshi wrote: > > Adam, ...
6 years, 3 months ago (2014-08-26 04:51:17 UTC) #27
hajimehoshi
On 2014/08/26 04:51:17, haraken wrote: > On 2014/08/26 04:42:10, abarth wrote: > > On 2014/08/26 ...
6 years, 3 months ago (2014-08-26 05:29:02 UTC) #28
philipj_slow
6 years, 3 months ago (2014-09-10 11:20:20 UTC) #29
Can you close this review, please?

Powered by Google App Engine
This is Rietveld 408576698