|
|
Remove CreateDefaultDisplay().
Initializing displays after first WM connection seems unnecessary. This
is especially true on Chrome OS devices where there is a significant
delay to query display hardware.
Immediately start display initialization after ui::Service starts. The
timing of this step isn't deterministic anyways. Tests that rely on
displays being created already make a method call to set the number of
displays. Change this call to actually create ws::Display objects
instead.
BUG= 663907
Committed: https://crrev.com/526be5ac7017cdb08fcaba441125b2a3aaec3d92
Cr-Commit-Position: refs/heads/master@{#431677}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+27 lines, -63 lines) |
Patch |
 |
M |
services/ui/service.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/service.cc
|
View
|
1
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/cursor_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/display_unittest.cc
|
View
|
|
7 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/test_utils.h
|
View
|
1
|
3 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/test_utils.cc
|
View
|
1
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/user_display_manager_unittest.cc
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_manager_state_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_manager_window_tree_factory_set.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_manager_window_tree_factory_set.cc
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_server.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_server.cc
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_server_delegate.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_tree_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 15 (8 generated)
|