|
|
Handle primary display changes in mustash.
This CL adds code to propagate the primary display id from
PlatformScreen to the WS, then from the WS to all mus clients.
1. Rename display.mojom to display_manager.mojom to reflect the main
interface name.
2. Add primary and internal display id to the OnDisplays() message.
3. Add OnPrimaryDisplayChanged() message for when the primary display
changes.
4. Improve platform_screen_ozone_unittests. Track the ordering of events
to ensure the expected events happen in the expected order.
5. Fix some ordering problems with PlatformScreenOzone.
BUG= 657125
Committed: https://crrev.com/100dccedb99065973e21ecf0661d123e719784e1
Cr-Commit-Position: refs/heads/master@{#428517}
Total comments: 17
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+272 lines, -190 lines) |
Patch |
 |
M |
services/ui/display/platform_screen_delegate.h
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/display/platform_screen_ozone.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/display/platform_screen_ozone.cc
|
View
|
1
2
|
5 chunks |
+21 lines, -15 lines |
0 comments
|
Download
|
 |
M |
services/ui/display/platform_screen_ozone_unittests.cc
|
View
|
1
2
3
|
11 chunks |
+91 lines, -71 lines |
0 comments
|
Download
|
 |
M |
services/ui/public/interfaces/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
services/ui/public/interfaces/display.mojom
|
View
|
|
1 chunk |
+0 lines, -25 lines |
0 comments
|
Download
|
 |
A + |
services/ui/public/interfaces/display_manager.mojom
|
View
|
1
2
|
2 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
 |
M |
services/ui/public/interfaces/window_manager_constants.mojom
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/service.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/display.h
|
View
|
1
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/display.cc
|
View
|
1
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/display_manager.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/display_manager.cc
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/test_utils.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/user_display_manager.h
|
View
|
1
|
3 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/user_display_manager.cc
|
View
|
1
|
5 chunks |
+51 lines, -29 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/user_display_manager_delegate.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/user_display_manager_unittest.cc
|
View
|
1
2
3
|
5 chunks |
+25 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_manager_state.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/mus/screen_mus.h
|
View
|
1
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/screen_mus.cc
|
View
|
1
2
|
5 chunks |
+36 lines, -17 lines |
0 comments
|
Download
|
Total messages: 20 (9 generated)
|