WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
136644
Separate the Apple media controls module from other ports
https://bugs.webkit.org/show_bug.cgi?id=136644
Summary
Separate the Apple media controls module from other ports
Dean Jackson
Reported
2014-09-08 14:26:13 PDT
Currently, mediaControlsApple is acting as the base class for all ports that use JS-based controls. It's nice that we're trying to consolidate all behaviour into one place, but that one place should not be an Apple-specific controller. For now, make a Base.js that is identical to the Apple.js, and have the EFL and GTK ports use that. Over time we'll probably change Apple.js to use the same base.
Attachments
Patch
(82.72 KB, patch)
2014-09-08 14:38 PDT
,
Dean Jackson
eric.carlson
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dean Jackson
Comment 1
2014-09-08 14:29:18 PDT
Lots of discussion in 131951
Dean Jackson
Comment 2
2014-09-08 14:29:32 PDT
https://bugs.webkit.org/show_bug.cgi?id=131951
Dean Jackson
Comment 3
2014-09-08 14:36:31 PDT
rdar://problem/18270969
Dean Jackson
Comment 4
2014-09-08 14:38:02 PDT
Created
attachment 237812
[details]
Patch
Dean Jackson
Comment 5
2014-09-08 14:51:12 PDT
Letting EWS check the ports I can't build.
Dean Jackson
Comment 6
2014-09-08 15:32:51 PDT
EFL EWS seems to be stuck. Committing for now.
Dean Jackson
Comment 7
2014-09-08 15:33:50 PDT
Committed
r173401
: <
http://trac.webkit.org/changeset/173401
>
Xabier Rodríguez Calvar
Comment 8
2014-09-08 15:36:54 PDT
(In reply to
comment #0
)
> Currently, mediaControlsApple is acting as the base class for all ports that use JS-based controls. It's nice that we're trying to consolidate all behaviour into one place, but that one place should not be an Apple-specific controller. > > For now, make a Base.js that is identical to the Apple.js, and have the EFL and GTK ports use that. Over time we'll probably change Apple.js to use the same base.
For me it would be more credible if you had based the Apple controls already on Base, otherwise the discussion on
bug 131951
is completely disregarded.
Dean Jackson
Comment 9
2014-09-09 15:19:39 PDT
(In reply to
comment #8
)
> For me it would be more credible if you had based the Apple controls already on Base, otherwise the discussion on
bug 131951
is completely disregarded.
I understand your point, although this stuff is really supposed to be platform specific. The part that is really the base of the implementation is the HTMLMediaElement and the MediaControlsHost. For example, we might want to replicate the way scrubbing works on iOS, where vertical position implies a scrubbing speed. That's not a stylistic thing - it's behaviour that we'd have to implement. It's quite hard to do that for platforms you don't have access to. We're already sharing base functionality. All this change did was move it up the stack a bit.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug