|
Split the event library into a cross-platform and native part. Part 1.
This removes construction of ui::Event and subclasses from
base::NativeEvents. It removes all usage of NativeEvents from that
file. It moves the code from there to the ui/events/platform/ directory,
which will eventually be its own library. The previous constructors have
been refactored into ui/events/platform/platform_event_builder.h. Tests
that relied on events were moved or rewritten.
Also adds events_unittests to the build.
BUG= 443439
R=sky@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/1f3263d89a45bedf1e7b125d5981827951ab54d7
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+724 lines, -930 lines) |
Patch |
 |
M |
BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/converters/input_events/input_events_type_converters.cc
|
View
|
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
mojo/tools/data/unittests
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/events/BUILD.gn
|
View
|
1
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/events/cocoa/events_mac.mm
|
View
|
1
2
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ui/events/event.h
|
View
|
1
2
3
|
22 chunks |
+51 lines, -67 lines |
0 comments
|
Download
|
 |
M |
ui/events/event.cc
|
View
|
|
15 chunks |
+26 lines, -316 lines |
0 comments
|
Download
|
 |
M |
ui/events/event_unittest.cc
|
View
|
|
6 chunks |
+0 lines, -196 lines |
0 comments
|
Download
|
 |
M |
ui/events/event_utils.h
|
View
|
1
2
|
4 chunks |
+0 lines, -27 lines |
0 comments
|
Download
|
 |
M |
ui/events/event_utils.cc
|
View
|
1
2
|
2 chunks |
+0 lines, -55 lines |
0 comments
|
Download
|
 |
M |
ui/events/events_stub.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
D |
ui/events/ipc/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -20 lines |
0 comments
|
Download
|
 |
D |
ui/events/ipc/OWNERS
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
D |
ui/events/ipc/latency_info_param_traits.h
|
View
|
|
1 chunk |
+0 lines, -38 lines |
0 comments
|
Download
|
 |
D |
ui/events/ipc/latency_info_param_traits.cc
|
View
|
|
1 chunk |
+0 lines, -26 lines |
0 comments
|
Download
|
 |
M |
ui/events/platform/BUILD.gn
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/platform/platform_event_builder.h
|
View
|
1
2
3
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/platform/platform_event_builder.cc
|
View
|
|
1 chunk |
+282 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/platform/platform_event_builder_x_unittest.cc
|
View
|
|
1 chunk |
+250 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/events/win/events_win.cc
|
View
|
1
2
|
2 chunks |
+0 lines, -31 lines |
0 comments
|
Download
|
 |
M |
ui/events/x/events_x.cc
|
View
|
1
2
|
3 chunks |
+0 lines, -102 lines |
0 comments
|
Download
|
 |
M |
ui/events/x/events_x_unittest.cc
|
View
|
|
6 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/platform_window/x11/x11_window.cc
|
View
|
|
7 chunks |
+19 lines, -10 lines |
0 comments
|
Download
|
Total messages: 4 (1 generated)
|