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

Issue 2438193003: Migrate WindowServerTestBase to be a WM client. (Closed)

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

Description

Make WindowServerTestBase connect as WM client. WindowServerTestBase already implements the WindowManagerDelegate interface to be a WM client. Instead of connecting to service:ui as a WM client, it connects using mojom::WindowTreeHost. This interface is only used in tests and doesn't exercise the real display codepath in service:ui. Change WindowServerTestBase to connect WM client. The first response that it receives will be in OnWmNewDisplay() instead of OnEmbed(), so move call QuitRunLoop() to OnWmNewDisplay() as well. BUG=none Committed: https://crrev.com/919090e7946b429d0854602d711ccf9215c4d279 Cr-Commit-Position: refs/heads/master@{#427159}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -25 lines) Patch
M services/ui/public/cpp/tests/window_server_test_base.h View 3 chunks +0 lines, -12 lines 0 comments Download
M services/ui/public/cpp/tests/window_server_test_base.cc View 5 chunks +7 lines, -7 lines 0 comments Download
M services/ui/ws/mus_ws_unittests_app_manifest.json View 1 chunk +4 lines, -1 line 0 comments Download
M services/ui/ws/user_display_manager_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M services/ui/ws/window_manager_state_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M services/ui/ws/window_server.h View 1 chunk +0 lines, -1 line 0 comments Download
M services/ui/ws/window_server.cc View 1 chunk +0 lines, -1 line 0 comments Download
M services/ui/ws/window_tree_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 15 (9 generated)
kylechar
4 years, 1 month ago (2016-10-24 13:37:08 UTC) #7
msw
Scott would be a much better reviewer here, sorry :-/
4 years, 1 month ago (2016-10-24 18:58:35 UTC) #9
sky
LGTM
4 years, 1 month ago (2016-10-24 20:18:14 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/2438193003/1
4 years, 1 month ago (2016-10-24 20:19:11 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-10-24 21:42:09 UTC) #13
commit-bot: I haz the power
4 years, 1 month ago (2016-10-24 21:46:03 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/919090e7946b429d0854602d711ccf9215c4d279
Cr-Commit-Position: refs/heads/master@{#427159}

Powered by Google App Engine
This is Rietveld 408576698