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

Issue 914043002: Tap on the video element toggles controls visibility (Closed)

Created:
5 years, 10 months ago by Tima Vaisburd
Modified:
4 years, 2 months ago
Reviewers:
aberent, qinmin, fs, philipj_slow
CC:
blink-reviews, nessy, gasubic, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, blink-reviews-html_chromium.org, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Tap on the video element toggles controls visibility We would like to match YouTube where a tap turns controls on and off. This CL tries to decouple tap gesture from mouse events and process them separately. BUG=436592

Patch Set 1 #

Total comments: 6

Patch Set 2 : Reset the hiding timer while touching controls, skip input events etc. for m_wasLastEventTouch #

Total comments: 5

Patch Set 3 : Rebased, process mouse only for non-synthetic events. #

Total comments: 15
Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -4 lines) Patch
M Source/core/html/shadow/MediaControlElements.h View 1 2 1 chunk +2 lines, -0 lines 3 comments Download
M Source/core/html/shadow/MediaControlElements.cpp View 1 2 1 chunk +3 lines, -0 lines 3 comments Download
M Source/core/html/shadow/MediaControls.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/html/shadow/MediaControls.cpp View 1 2 5 chunks +49 lines, -4 lines 9 comments Download

Messages

Total messages: 32 (4 generated)
Tima Vaisburd
Min, Could you, please, verify that this aproach makes sense? If yes I will think ...
5 years, 10 months ago (2015-02-11 02:42:01 UTC) #2
philipj_slow
5 years, 10 months ago (2015-02-11 04:54:02 UTC) #4
philipj_slow
This is great, we need to solve this. However, there's one small adjustment to the ...
5 years, 10 months ago (2015-02-11 06:57:38 UTC) #5
Tima Vaisburd
On 2015/02/11 06:57:38, philipj_UTC7 wrote: > There's one small adjustment to > the behavior I ...
5 years, 10 months ago (2015-02-11 19:47:11 UTC) #6
qinmin
https://codereview.chromium.org/914043002/diff/1/Source/core/html/shadow/MediaControls.cpp File Source/core/html/shadow/MediaControls.cpp (right): https://codereview.chromium.org/914043002/diff/1/Source/core/html/shadow/MediaControls.cpp#newcode461 Source/core/html/shadow/MediaControls.cpp:461: event->preventDefault(); What if there is a onclick eventhandler on ...
5 years, 10 months ago (2015-02-11 22:29:12 UTC) #7
Tima Vaisburd
https://codereview.chromium.org/914043002/diff/1/Source/core/html/shadow/MediaControls.cpp File Source/core/html/shadow/MediaControls.cpp (right): https://codereview.chromium.org/914043002/diff/1/Source/core/html/shadow/MediaControls.cpp#newcode461 Source/core/html/shadow/MediaControls.cpp:461: event->preventDefault(); On 2015/02/11 22:29:12, qinmin wrote: > What if ...
5 years, 10 months ago (2015-02-11 22:48:20 UTC) #8
philipj_slow
On 2015/02/11 19:47:11, Tima Vaisburd wrote: > On 2015/02/11 06:57:38, philipj_UTC7 wrote: > > There's ...
5 years, 10 months ago (2015-02-12 02:29:01 UTC) #9
philipj_slow
https://codereview.chromium.org/914043002/diff/1/Source/core/html/shadow/MediaControls.cpp File Source/core/html/shadow/MediaControls.cpp (right): https://codereview.chromium.org/914043002/diff/1/Source/core/html/shadow/MediaControls.cpp#newcode461 Source/core/html/shadow/MediaControls.cpp:461: event->preventDefault(); On 2015/02/11 22:48:20, Tima Vaisburd wrote: > On ...
5 years, 10 months ago (2015-02-12 02:31:21 UTC) #10
Tima Vaisburd
On 2015/02/12 02:29:01, philipj_UTC7 wrote: > I mean that the controls should be shown immediately ...
5 years, 10 months ago (2015-02-12 02:38:53 UTC) #11
Tima Vaisburd
On 2015/02/12 02:31:21, philipj_UTC7 wrote: > > We can't simply remove this preventDefault() though: in ...
5 years, 10 months ago (2015-02-12 02:51:26 UTC) #12
Tima Vaisburd
In this new patch I tried to fix 2 bugs: 1. Controls disappear "under my ...
5 years, 10 months ago (2015-02-12 03:18:02 UTC) #13
philipj_slow
On 2015/02/12 02:51:26, Tima Vaisburd wrote: > On 2015/02/12 02:31:21, philipj_UTC7 wrote: > > > ...
5 years, 10 months ago (2015-02-12 04:02:03 UTC) #14
philipj_slow
https://codereview.chromium.org/914043002/diff/20001/Source/core/html/shadow/MediaControls.cpp File Source/core/html/shadow/MediaControls.cpp (right): https://codereview.chromium.org/914043002/diff/20001/Source/core/html/shadow/MediaControls.cpp#newcode464 Source/core/html/shadow/MediaControls.cpp:464: m_wasLastEventTouch = event->isTouchEvent() || event->isGestureEvent() On 2015/02/12 03:18:02, Tima ...
5 years, 10 months ago (2015-02-12 04:26:29 UTC) #15
Tima Vaisburd
On 2015/02/12 04:02:03, philipj_UTC7 wrote: > I will have to apply your CL and try ...
5 years, 10 months ago (2015-02-12 18:52:17 UTC) #16
Tima Vaisburd
https://codereview.chromium.org/914043002/diff/20001/Source/core/html/shadow/MediaControls.cpp File Source/core/html/shadow/MediaControls.cpp (right): https://codereview.chromium.org/914043002/diff/20001/Source/core/html/shadow/MediaControls.cpp#newcode494 Source/core/html/shadow/MediaControls.cpp:494: if (event->type() == EventTypeNames::mouseover) { On 2015/02/12 04:26:28, philipj_UTC7 ...
5 years, 10 months ago (2015-02-12 21:45:59 UTC) #17
philipj_slow
On 2015/02/12 18:52:17, Tima Vaisburd wrote: > On 2015/02/12 04:02:03, philipj_UTC7 wrote: > > > ...
5 years, 10 months ago (2015-02-13 01:17:58 UTC) #18
philipj_slow
It's Monday! https://codereview.chromium.org/914043002/diff/40001/Source/core/html/shadow/MediaControlElements.cpp File Source/core/html/shadow/MediaControlElements.cpp (right): https://codereview.chromium.org/914043002/diff/40001/Source/core/html/shadow/MediaControlElements.cpp#newcode381 Source/core/html/shadow/MediaControlElements.cpp:381: mediaControls().timelineKnobDragged(); Isn't this fixing an unrelated problem, ...
5 years, 10 months ago (2015-02-16 10:45:19 UTC) #19
Tima Vaisburd
Thank you for the thorough review! https://codereview.chromium.org/914043002/diff/40001/Source/core/html/shadow/MediaControlElements.cpp File Source/core/html/shadow/MediaControlElements.cpp (right): https://codereview.chromium.org/914043002/diff/40001/Source/core/html/shadow/MediaControlElements.cpp#newcode381 Source/core/html/shadow/MediaControlElements.cpp:381: mediaControls().timelineKnobDragged(); On 2015/02/16 ...
5 years, 10 months ago (2015-02-16 20:32:12 UTC) #20
philipj_slow
https://codereview.chromium.org/914043002/diff/40001/Source/core/html/shadow/MediaControlElements.cpp File Source/core/html/shadow/MediaControlElements.cpp (right): https://codereview.chromium.org/914043002/diff/40001/Source/core/html/shadow/MediaControlElements.cpp#newcode381 Source/core/html/shadow/MediaControlElements.cpp:381: mediaControls().timelineKnobDragged(); On 2015/02/16 20:32:11, Tima Vaisburd wrote: > On ...
5 years, 10 months ago (2015-02-17 02:37:24 UTC) #21
philipj_slow
aberent@, can you comment on the MediaControlOverlayEnclosureElement::preDispatchEventHandler case? Does the touchstart case actually work? I ...
5 years, 10 months ago (2015-02-17 02:41:25 UTC) #23
aberent
On 2015/02/17 at 02:41:25, philipj wrote: > aberent@, can you comment on the MediaControlOverlayEnclosureElement::preDispatchEventHandler case? ...
5 years, 10 months ago (2015-02-17 09:32:57 UTC) #24
Tima Vaisburd
I saw the comments, I can come back to this next week only. https://codereview.chromium.org/914043002/diff/40001/Source/core/html/shadow/MediaControls.cpp File ...
5 years, 10 months ago (2015-02-19 19:32:29 UTC) #25
philipj_slow
On 2015/02/19 19:32:29, Tima Vaisburd wrote: > I saw the comments, I can come back ...
5 years, 10 months ago (2015-02-20 04:22:19 UTC) #26
aberent
On 2015/02/20 04:22:19, philipj wrote: > On 2015/02/19 19:32:29, Tima Vaisburd wrote: > > I ...
5 years, 5 months ago (2015-06-29 09:56:34 UTC) #27
Tima Vaisburd
On 2015/06/29 09:56:34, aberent wrote: > On 2015/02/20 04:22:19, philipj wrote: > > On 2015/02/19 ...
5 years, 5 months ago (2015-07-08 19:09:07 UTC) #28
philipj_slow
On 2015/07/08 19:09:07, Tima Vaisburd wrote: > On 2015/06/29 09:56:34, aberent wrote: > > On ...
5 years, 5 months ago (2015-07-21 11:42:06 UTC) #29
aberent
Is this CL still live? If not then please close it.
4 years, 2 months ago (2016-10-04 08:43:21 UTC) #30
Tima Vaisburd
4 years, 2 months ago (2016-10-04 16:16:34 UTC) #31
On 2016/10/04 08:43:21, aberent wrote:
> Is this CL still live? If not then please close it.

Closing since no interest has been shown after I stopped working on this.

Powered by Google App Engine
This is Rietveld 408576698