|
aura: Remove WindowTreeHost::PostNativeEvent().
WindowTreeHost::PostNativeEvent() is only used in tests. So remove this from
the public API. Instead:
. For Win32, directly use PostMessage (this is used in only two places).
. For Ozone, use EventSourceTestApi to inject the event (this is equivalent to
current code, in terms of not doing the right thing when menus are open).
. For X11, introduce aura::test::PostEventToWindowTreeHost() instead, and use
it in tests.
BUG=none
R=sky@chromium.org
Committed: https://chromium.googlesource.com/chromium/src/+/c332de7c1838b85e27685bed6c376c36ccb17287
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+94 lines, -129 lines) |
Patch |
 |
M |
ui/aura/BUILD.gn
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/aura.gyp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/remote_window_tree_host_win.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/remote_window_tree_host_win.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/aura/test/ui_controls_factory_aurax11.cc
|
View
|
|
7 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ui/aura/test/ui_controls_factory_ozone.cc
|
View
|
|
4 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
ui/aura/test/x11_event_sender.h
|
View
|
1
2
|
1 chunk |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
A |
ui/aura/test/x11_event_sender.cc
|
View
|
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window_tree_host.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window_tree_host_mac.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/window_tree_host_mac.mm
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window_tree_host_ozone.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/window_tree_host_ozone.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window_tree_host_win.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/window_tree_host_win.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window_tree_host_x11.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/window_tree_host_x11.cc
|
View
|
|
1 chunk |
+0 lines, -34 lines |
0 comments
|
Download
|
 |
M |
ui/views/test/ui_controls_factory_desktop_aurax11.cc
|
View
|
|
6 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_window_tree_host_win.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
|
View
|
|
1 chunk |
+0 lines, -33 lines |
0 comments
|
Download
|
 |
M |
ui/wm/core/nested_accelerator_controller_unittest.cc
|
View
|
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
Total messages: 7 (1 generated)
|