|
|
mash: Preliminary support for widget hit test masks
This plumbs widget hit test masks through to the window server and uses them
for hit testing. It has the following limitations:
* Like "additional client areas" the mask is a rectangle, not a path.
* The mask is only updated on window bounds and client area change.
This fixes the system tray bubble not closing when you click in its bottom
border region, in particular the part that overlaps the tray button.
BUG= 612566
TEST=added to mus_ws_unittests and views_mus_unittests
Committed: https://crrev.com/265527f8745b9d36e277d7c93ed7818204baf323
Cr-Commit-Position: refs/heads/master@{#395133}
Total comments: 6
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+254 lines, -18 lines) |
Patch |
 |
M |
components/mus/public/cpp/lib/window.cc
|
View
|
1
2
3
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/public/cpp/lib/window_tree_client_impl.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/public/cpp/lib/window_tree_client_impl.cc
|
View
|
1
2
3
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/public/cpp/tests/test_window_tree.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/public/cpp/tests/test_window_tree.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/public/cpp/window.h
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/public/interfaces/window_tree.mojom
|
View
|
1
2
3
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/access_policy.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/default_access_policy.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/default_access_policy.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/event_dispatcher_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/server_window.h
|
View
|
1
2
3
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/server_window.cc
|
View
|
1
2
3
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/window_finder.cc
|
View
|
1
2
3
|
1 chunk |
+11 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/window_finder_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/window_manager_access_policy.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/window_manager_access_policy.cc
|
View
|
|
5 chunks |
+22 lines, -11 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/window_tree.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/mus/ws/window_tree.cc
|
View
|
1
2
3
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/native_widget_mus.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/native_widget_mus.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+23 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/native_widget_mus_unittest.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+35 lines, -1 line |
0 comments
|
Download
|
Total messages: 24 (5 generated)
|