|
Improve detection of touch events when hiding media controls.
We propagate synthetic state down from PlatformMouseEvent
into MouseEvent / MediaControls instead of relying on
whether the platform does not support a mouse. This allows
us to hide the controls after touch even in those platforms
that support a mouse.
We rename NotFromTouch to RealOrIndistinguishable in
preparation for adding new values, for example to replace
isSimulated.
BUG= 401177
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181055
Total comments: 2
Total comments: 4
Total comments: 22
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+139 lines, -74 lines) |
Patch |
|
M |
LayoutTests/media/video-controls-hide-after-touch-on-control.html
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/media/video-controls-visibility-multimodal-mouse-after-touch.html
|
View
|
1
2
3
4
5
|
1 chunk |
+11 lines, -12 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/media/video-controls-visibility-multimodal-mouse-after-touch-expected.txt
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
A |
LayoutTests/media/video-controls-visibility-multimodal-touch-after-mouse.html
|
View
|
1
2
3
4
5
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/media/video-controls-visibility-multimodal-touch-after-mouse-expected.txt
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/events/MouseEvent.h
|
View
|
1
2
3
4
5
6
|
5 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/events/MouseEvent.cpp
|
View
|
1
2
3
4
5
|
4 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/core/events/MouseRelatedEvent.h
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/events/WheelEvent.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/core/html/shadow/MediaControls.h
|
View
|
1
2
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/shadow/MediaControls.cpp
|
View
|
1
2
3
4
5
|
4 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/core/inspector/InspectorInputAgent.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/page/DragController.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/page/EventHandler.cpp
|
View
|
1
2
3
4
5
8
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/platform/PlatformMouseEvent.h
|
View
|
1
2
3
4
5
|
5 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/web/PopupContainer.cpp
|
View
|
1
2
3
4
5
8
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/web/PopupMenuTest.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/web/WebViewImpl.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/web/tests/WebInputEventConversionTest.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 32 (0 generated)
|