|
|
Adds ability for WindowManager to create display roots
Prior to this patch mus would automatically create a Window for
each display and tell the WindowManager about it. This patch allows
the WindowManager to control this behavior so that if the
windowmanager wants to create the windows it can. In the new mode mus
still creates a window for the display, but it doesn't tell the
client. The expectation is the client eventually calls
SetDisplayRoot() with the client supplied window. When
SetDisplayRoot() is called mus wires up the window appropriately.
The expectation is ash transitions to observing newly added displays
using another mechanism and then tells mus about it.
BUG= 708287
TEST=covered by tests
R=erg@chromium.org
Review-Url: https://codereview.chromium.org/2804403002
Cr-Commit-Position: refs/heads/master@{#463070}
Committed: https://chromium.googlesource.com/chromium/src/+/bb4b4de1b5a2b99c62e71b93f6c157e8290e3c3b
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+329 lines, -55 lines) |
Patch |
 |
M |
services/ui/public/interfaces/window_manager.mojom
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/public/interfaces/window_manager_window_tree_factory.mojom
|
View
|
|
1 chunk |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/display.h
|
View
|
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/display.cc
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/display_binding.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/display_manager.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/test_utils.h
|
View
|
|
10 chunks |
+36 lines, -17 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/test_utils.cc
|
View
|
|
3 chunks |
+26 lines, -5 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_manager_state.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_manager_state.cc
|
View
|
|
3 chunks |
+29 lines, -4 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_manager_window_tree_factory.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_manager_window_tree_factory.cc
|
View
|
|
2 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_server.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_server.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_tree.h
|
View
|
|
4 chunks |
+18 lines, -2 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_tree.cc
|
View
|
|
8 chunks |
+77 lines, -7 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_tree_unittest.cc
|
View
|
1
|
1 chunk |
+79 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/mus/window_tree_client.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/mus/window_tree_client.cc
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
Total messages: 18 (9 generated)
|