|
|
Converts WindowTreeClientTest to be in terms of aura
Only real interesting change is
WindowTreeClient::OnWindowDeleted(). If a root is deleted this now
calls to the delegate to handle deletion. This is necessary as
generally the Window shouldn't be deleted directly, rather the
WindowTreeHostMus which owns the window.
I also changed Embed() to fail immediately if the window has children. The
server has logic to force removal, but I think we should treat it as
an error in client code if they try to embed and there are children.
BUG= 664621
TEST=covered by tests
R=msw@chromium.org
Committed: https://crrev.com/247a606263c48168e56020f845df0b3c41857e14
Cr-Commit-Position: refs/heads/master@{#437264}
Total comments: 35
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+828 lines, -1178 lines) |
Patch |
 |
M |
ash/mus/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/mus/window_manager.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/mus/window_manager.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/mus/window_manager_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
mash/simple_wm/simple_wm.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mash/simple_wm/simple_wm.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/demo/mus_demo.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/demo/mus_demo.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/public/cpp/tests/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -23 lines |
0 comments
|
Download
|
 |
D |
services/ui/public/cpp/tests/window_server_shelltest_base.h
|
View
|
|
1 chunk |
+0 lines, -32 lines |
0 comments
|
Download
|
 |
D |
services/ui/public/cpp/tests/window_server_shelltest_base.cc
|
View
|
|
1 chunk |
+0 lines, -63 lines |
0 comments
|
Download
|
 |
D |
services/ui/public/cpp/tests/window_server_test_base.h
|
View
|
|
1 chunk |
+0 lines, -124 lines |
0 comments
|
Download
|
 |
D |
services/ui/public/cpp/tests/window_server_test_base.cc
|
View
|
|
1 chunk |
+0 lines, -201 lines |
0 comments
|
Download
|
 |
M |
services/ui/test_wm/test_wm.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/BUILD.gn
|
View
|
|
2 chunks |
+14 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_manager_client_unittest.cc
|
View
|
1
2
|
16 chunks |
+293 lines, -705 lines |
0 comments
|
Download
|
 |
A + |
services/ui/ws/window_server_service_test_base.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
services/ui/ws/window_server_service_test_base.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
services/ui/ws/window_server_test_base.h
|
View
|
1
2
|
1 chunk |
+160 lines, -0 lines |
4 comments
|
Download
|
 |
A |
services/ui/ws/window_server_test_base.cc
|
View
|
1
2
|
1 chunk |
+284 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_tree_client_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/mus/window_mus.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/mus/window_port_mus.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/mus/window_port_mus.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/mus/window_tree_client.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/mus/window_tree_client.cc
|
View
|
1
2
|
3 chunks |
+22 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/aura/mus/window_tree_client_delegate.h
|
View
|
1
|
1 chunk |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/aura/test/aura_test_base.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/test/aura_test_base.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/test/mus/window_tree_client_private.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/test/mus/window_tree_client_private.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/desktop_window_tree_host_mus.h
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/mus_client.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/mus/mus_client.cc
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 20 (10 generated)
|