Description was changed from ========== Media Controls: move all MediaControlDivElement sub-classes to modules/. This isn't ...
3 years, 8 months ago
(2017-04-12 10:56:38 UTC)
#1
Description was changed from
==========
Media Controls: move all MediaControlDivElement sub-classes to modules/.
This isn't moving MediaControlDivElement as all the classes in
MediaControlElementTypes will be handled later. However, there is no
usage of this class outside of modules/ or MediaControlElementTypes
itself now.
BUG=662761
R=avayvod@chromium.org
==========
to
==========
Media Controls: move all MediaControlDivElement sub-classes to modules/.
This isn't moving MediaControlDivElement as all the classes in
MediaControlElementTypes will be handled later. However, there is no
usage of this class outside of modules/ or MediaControlElementTypes
itself now.
BUG=662761
R=avayvod@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
==========
mlamouri (slow - plz ping)
Anton, your daily media controls refactoring joy :)
3 years, 8 months ago
(2017-04-12 11:00:20 UTC)
#2
Anton, your daily media controls refactoring joy :)
mlamouri (slow - plz ping)
The CQ bit was checked by mlamouri@chromium.org to run a CQ dry run
3 years, 8 months ago
(2017-04-12 11:00:34 UTC)
#3
3 years, 8 months ago
(2017-04-12 13:28:53 UTC)
#6
Dry run: This issue passed the CQ dry run.
whywhat
lgtm https://codereview.chromium.org/2810173003/diff/1/third_party/WebKit/Source/core/html/media/MediaControls.h File third_party/WebKit/Source/core/html/media/MediaControls.h (right): https://codereview.chromium.org/2810173003/diff/1/third_party/WebKit/Source/core/html/media/MediaControls.h#newcode72 third_party/WebKit/Source/core/html/media/MediaControls.h:72: // TODO: the following are required by other ...
3 years, 8 months ago
(2017-04-12 15:36:41 UTC)
#7
https://codereview.chromium.org/2810173003/diff/1/third_party/WebKit/Source/modules/media_controls/elements/MediaControlElementsHelper.cpp File third_party/WebKit/Source/modules/media_controls/elements/MediaControlElementsHelper.cpp (right): https://codereview.chromium.org/2810173003/diff/1/third_party/WebKit/Source/modules/media_controls/elements/MediaControlElementsHelper.cpp#newcode16 third_party/WebKit/Source/modules/media_controls/elements/MediaControlElementsHelper.cpp:16: event->IsKeyboardEvent() || event->IsTouchEvent(); On 2017/04/12 at 15:36:41, whywhat wrote: ...
3 years, 8 months ago
(2017-04-13 21:59:54 UTC)
#10
https://codereview.chromium.org/2810173003/diff/1/third_party/WebKit/Source/m...
File
third_party/WebKit/Source/modules/media_controls/elements/MediaControlElementsHelper.cpp
(right):
https://codereview.chromium.org/2810173003/diff/1/third_party/WebKit/Source/m...
third_party/WebKit/Source/modules/media_controls/elements/MediaControlElementsHelper.cpp:16:
event->IsKeyboardEvent() || event->IsTouchEvent();
On 2017/04/12 at 15:36:41, whywhat wrote:
> q: would isTouchEvent() return true if I fling over the media element when
scrolling the page and happen to touch one of the controls? Some touch events
are not considered to be user gesture anymore, right?
It's not meant to check for user gesture but user interaction. This code was
added by aberent@ IIRC. The purpose is to prevent some events from being seen
outside the media controls shadow DOM IIRC. It should be re-written to use
pointer events IMO.
https://codereview.chromium.org/2810173003/diff/1/third_party/WebKit/Source/m...
File
third_party/WebKit/Source/modules/media_controls/elements/MediaControlElementsHelper.h
(right):
https://codereview.chromium.org/2810173003/diff/1/third_party/WebKit/Source/m...
third_party/WebKit/Source/modules/media_controls/elements/MediaControlElementsHelper.h:14:
class MediaControlElementsHelper final {
On 2017/04/12 at 15:36:41, whywhat wrote:
> Class comment?
Got it.
> It's not clear why it's needed at all with one static method :)
There should be more I believe. Also, it's a method that is used by a few
elements.
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/2810173003/20001
3 years, 8 months ago
(2017-04-13 22:00:18 UTC)
#11
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/411012)
3 years, 8 months ago
(2017-04-13 22:09:16 UTC)
#13
3 years, 8 months ago
(2017-04-13 22:13:30 UTC)
#15
+chrishtr@ for core/paint/
chrishtr
lgtm https://codereview.chromium.org/2810173003/diff/20001/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp File third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp (right): https://codereview.chromium.org/2810173003/diff/20001/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp#newcode184 third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp:184: // TODO(mlamouri): it might be possible to use ...
3 years, 8 months ago
(2017-04-13 22:52:04 UTC)
#16
CQ is committing da patch. Bot data: {"patchset_id": 40001, "attempt_start_ts": 1492126833030660, "parent_rev": "4dcdb6bbf30724ed511754410da319c35c3546ca", "commit_rev": "a77b04a2af76e6eb19db28716651912d2621d040"}
3 years, 8 months ago
(2017-04-14 01:39:33 UTC)
#21
CQ is committing da patch.
Bot data: {"patchset_id": 40001, "attempt_start_ts": 1492126833030660,
"parent_rev": "4dcdb6bbf30724ed511754410da319c35c3546ca", "commit_rev":
"a77b04a2af76e6eb19db28716651912d2621d040"}
commit-bot: I haz the power
Description was changed from ========== Media Controls: move all MediaControlDivElement sub-classes to modules/. This isn't ...
3 years, 8 months ago
(2017-04-14 01:40:24 UTC)
#22
Message was sent while issue was closed.
Description was changed from
==========
Media Controls: move all MediaControlDivElement sub-classes to modules/.
This isn't moving MediaControlDivElement as all the classes in
MediaControlElementTypes will be handled later. However, there is no
usage of this class outside of modules/ or MediaControlElementTypes
itself now.
BUG=662761
R=avayvod@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
==========
to
==========
Media Controls: move all MediaControlDivElement sub-classes to modules/.
This isn't moving MediaControlDivElement as all the classes in
MediaControlElementTypes will be handled later. However, there is no
usage of this class outside of modules/ or MediaControlElementTypes
itself now.
BUG=662761
R=avayvod@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2810173003
Cr-Commit-Position: refs/heads/master@{#464649}
Committed:
https://chromium.googlesource.com/chromium/src/+/a77b04a2af76e6eb19db28716651...
==========
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/a77b04a2af76e6eb19db28716651912d2621d040
3 years, 8 months ago
(2017-04-14 01:40:25 UTC)
#23
Issue 2810173003: Media Controls: move all MediaControlDivElement sub-classes to modules/.
(Closed)
Created 3 years, 8 months ago by mlamouri (slow - plz ping)
Modified 3 years, 8 months ago
Reviewers: chrishtr, whywhat
Base URL:
Comments: 6