Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Issue 2484223006: Remove CreateDefaultDisplay(). (Closed)

Created:
4 years, 1 month ago by kylechar
Modified:
4 years, 1 month ago
Reviewers:
sky
CC:
chromium-reviews, rjkroege
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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}

Patch Set 1 #

Patch Set 2 : Remove debug LOG. #

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:

Messages

Total messages: 15 (8 generated)
kylechar
4 years, 1 month ago (2016-11-10 18:43:25 UTC) #5
sky
The reason to wait for the WM is that clients need the non-client frame values ...
4 years, 1 month ago (2016-11-10 23:48:17 UTC) #8
kylechar
On 2016/11/10 23:48:17, sky wrote: > The reason to wait for the WM is that ...
4 years, 1 month ago (2016-11-11 19:56:03 UTC) #9
sky
Thanks for looking LGTM
4 years, 1 month ago (2016-11-11 21:19:56 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2484223006/40001
4 years, 1 month ago (2016-11-11 21:32:13 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 1 month ago (2016-11-11 23:11:58 UTC) #13
commit-bot: I haz the power
4 years, 1 month ago (2016-11-11 23:54:18 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/526be5ac7017cdb08fcaba441125b2a3aaec3d92
Cr-Commit-Position: refs/heads/master@{#431677}

Powered by Google App Engine
This is Rietveld 408576698