|
mus: Add PointerWatcher for passively observing mouse and touch events
This will support closing the system tray bubble when clicking outside
its bounds. It also provides a path for converting existing ui::EventHandlers
that are used to observe events that occur outside of existing widgets.
Dependent CL https://codereview.chromium.org/1918183003 implements closing the tray bubble.
BUG= 599142
TEST=added to views_mus_unittests and mojo_view_manager_lib_unittests
Committed: https://crrev.com/214fcbde97eec5f468f0de0561a3f0eb26571a9f
Cr-Commit-Position: refs/heads/master@{#390267}
Total comments: 6
Total comments: 2
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+608 lines, -12 lines) |
Patch |
 |
M |
ash/ash.gyp
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/mus/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/mus/pointer_watcher_delegate_mus.h
|
View
|
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/mus/pointer_watcher_delegate_mus.cc
|
View
|
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/mus/shell_delegate_mus.h
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/mus/shell_delegate_mus.cc
|
View
|
1
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/pointer_watcher_delegate.h
|
View
|
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/pointer_watcher_delegate_aura.h
|
View
|
1
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/pointer_watcher_delegate_aura.cc
|
View
|
1
2
3
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shell.h
|
View
|
1
2
3
4
5
|
4 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shell.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shell/shell_delegate_impl.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shell/shell_delegate_impl.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shell_delegate.h
|
View
|
1
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/test/test_shell_delegate.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/test/test_shell_delegate.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/chrome_shell_delegate.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/chrome_shell_delegate.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/demo/mus_demo.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/demo/mus_demo.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/public/cpp/lib/window_tree_client_impl.h
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/public/cpp/lib/window_tree_client_impl.cc
|
View
|
|
3 chunks |
+24 lines, -4 lines |
0 comments
|
Download
|
 |
M |
components/mus/public/cpp/tests/window_server_test_base.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/public/cpp/tests/window_server_test_base.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/public/cpp/tests/window_tree_client_impl_unittest.cc
|
View
|
|
5 chunks |
+131 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/mus/public/cpp/window_tree_connection.h
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/public/cpp/window_tree_delegate.h
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/mus/compositor_mus_connection.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/mus/compositor_mus_connection.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mash/wm/root_window_controller.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
mash/wm/root_window_controller.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mash/wm/window_manager_unittest.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/window_manager_connection.h
|
View
|
1
2
3
|
4 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/window_manager_connection.cc
|
View
|
1
2
3
4
|
4 chunks |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/views/mus/window_manager_connection_unittest.cc
|
View
|
|
1 chunk |
+108 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/views/pointer_watcher.h
|
View
|
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/views.gyp
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
ui/views/views_exports.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 26 (10 generated)
|