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

Issue 2391153002: Converts most of WorkspaceLayoutManager tests to use common code (Closed)

Created:
4 years, 2 months ago by sky
Modified:
4 years, 2 months ago
Reviewers:
msw
CC:
chromium-reviews, kalyank, sadrul, James Cook
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Converts most of WorkspaceLayoutManager tests to use common code A couple triggers crashes, which I've filed separately. The keyboard ones won't work in mash. I plan to move those out of this file separately. BUG=624172, 652871 TEST=covered by tests R=jamescook@chromium.org Committed: https://crrev.com/8335eeddd6a5bc06515eb7c577a9196112f4583c Cr-Commit-Position: refs/heads/master@{#423732}

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 28

Patch Set 3 : feedback #

Patch Set 4 : merge #

Total comments: 25

Patch Set 5 : feedback #

Patch Set 6 : formatting #

Patch Set 7 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+669 lines, -474 lines) Patch
M ash/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M ash/aura/wm_window_aura.h View 2 chunks +3 lines, -0 lines 0 comments Download
M ash/aura/wm_window_aura.cc View 1 2 2 chunks +12 lines, -0 lines 0 comments Download
M ash/common/test/ash_test.h View 1 2 3 4 5 4 chunks +31 lines, -4 lines 0 comments Download
M ash/common/test/ash_test.cc View 1 2 3 4 4 chunks +38 lines, -0 lines 0 comments Download
M ash/common/test/ash_test_impl.h View 1 chunk +7 lines, -0 lines 0 comments Download
M ash/common/wm/default_state.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/wm/fullscreen_window_finder.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/wm_window.h View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M ash/mus/bridge/wm_window_mus.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M ash/mus/bridge/wm_window_mus.cc View 1 2 2 chunks +18 lines, -1 line 0 comments Download
M ash/mus/test/ash_test_impl_mus.h View 1 chunk +7 lines, -0 lines 0 comments Download
M ash/mus/test/ash_test_impl_mus.cc View 1 2 2 chunks +23 lines, -0 lines 0 comments Download
M ash/mus/test/wm_test_base.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M ash/system/chromeos/power/power_event_observer_unittest.cc View 1 2 3 4 5 chunks +5 lines, -4 lines 0 comments Download
M ash/test/ash_test_base.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M ash/test/ash_test_base.cc View 1 2 3 4 5 6 1 chunk +0 lines, -5 lines 0 comments Download
M ash/test/ash_test_impl_aura.h View 1 chunk +7 lines, -0 lines 0 comments Download
M ash/test/ash_test_impl_aura.cc View 1 2 3 4 5 6 3 chunks +24 lines, -0 lines 0 comments Download
M ash/test/test_session_state_delegate.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ash/test/test_session_state_delegate.cc View 1 2 3 4 2 chunks +6 lines, -1 line 0 comments Download
M ash/wm/lock_state_controller_unittest.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M ash/wm/workspace/workspace_layout_manager_unittest.cc View 1 2 3 4 5 6 32 chunks +467 lines, -452 lines 0 comments Download
M ui/aura/window.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 29 (20 generated)
sky
My plan after this patch is to move everything except the keyboard tests to the ...
4 years, 2 months ago (2016-10-04 22:38:23 UTC) #1
James Cook
Nice to see more things being converted. https://codereview.chromium.org/2391153002/diff/20001/ash/aura/wm_window_aura.cc File ash/aura/wm_window_aura.cc (right): https://codereview.chromium.org/2391153002/diff/20001/ash/aura/wm_window_aura.cc#newcode198 ash/aura/wm_window_aura.cc:198: bool WmWindowAura::GetLayerTargetVisibility() ...
4 years, 2 months ago (2016-10-04 23:16:05 UTC) #6
sky
jamescook->msw as James is OOO until Monday https://codereview.chromium.org/2391153002/diff/20001/ash/aura/wm_window_aura.cc File ash/aura/wm_window_aura.cc (right): https://codereview.chromium.org/2391153002/diff/20001/ash/aura/wm_window_aura.cc#newcode198 ash/aura/wm_window_aura.cc:198: bool WmWindowAura::GetLayerTargetVisibility() ...
4 years, 2 months ago (2016-10-06 17:57:07 UTC) #9
msw
Wow, it takes a lot of changes to migrate this test file! https://codereview.chromium.org/2391153002/diff/60001/ash/common/test/ash_test.h File ash/common/test/ash_test.h ...
4 years, 2 months ago (2016-10-06 20:18:24 UTC) #15
sky
https://codereview.chromium.org/2391153002/diff/60001/ash/common/test/ash_test.h File ash/common/test/ash_test.h (right): https://codereview.chromium.org/2391153002/diff/60001/ash/common/test/ash_test.h#newcode59 ash/common/test/ash_test.h:59: // Cover functions for WmShell::Get()->IsRunningInMash(). On 2016/10/06 20:18:24, msw ...
4 years, 2 months ago (2016-10-06 21:05:59 UTC) #18
msw
Okay, lgtm https://codereview.chromium.org/2391153002/diff/60001/ash/common/wm_window.h File ash/common/wm_window.h (right): https://codereview.chromium.org/2391153002/diff/60001/ash/common/wm_window.h#newcode244 ash/common/wm_window.h:244: // See ScreenPinningController::SetPinnedWindow() for details. On 2016/10/06 ...
4 years, 2 months ago (2016-10-06 21:19:16 UTC) #23
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/2391153002/120001
4 years, 2 months ago (2016-10-06 22:27:16 UTC) #26
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 2 months ago (2016-10-06 23:25:34 UTC) #27
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 23:26:48 UTC) #29
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/8335eeddd6a5bc06515eb7c577a9196112f4583c
Cr-Commit-Position: refs/heads/master@{#423732}

Powered by Google App Engine
This is Rietveld 408576698