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

Issue 2143033003: Fix tests in ShelfLayoutManagerTest when MD is enable (Closed)

Created:
4 years, 5 months ago by yiyix
Modified:
4 years, 5 months ago
Reviewers:
James Cook, bruthig
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix tests in ShelfLayoutManagerTest when MD is enable When ash-md is set to MATERIAL_EXPERIMENTAL by default, shelf has a visible height of 0 whereas the visible height is 3 for non-MD. Updated test cases GestureDrag, SetAlignment and AutoHide to match the new value. BUG=623432, 623430, 623429 Committed: https://crrev.com/b7a57976c42de5959d7a45cc9133864b45cf3399 Cr-Commit-Position: refs/heads/master@{#405962}

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix wording #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -22 lines) Patch
M ash/shelf/shelf_layout_manager_unittest.cc View 1 10 chunks +39 lines, -22 lines 1 comment Download

Messages

Total messages: 24 (12 generated)
yiyix
@bruthig, could you please take a look at this change? Thank you.
4 years, 5 months ago (2016-07-13 02:29:54 UTC) #4
bruthig
https://codereview.chromium.org/2143033003/diff/1/ash/shelf/shelf_layout_manager_unittest.cc File ash/shelf/shelf_layout_manager_unittest.cc (right): https://codereview.chromium.org/2143033003/diff/1/ash/shelf/shelf_layout_manager_unittest.cc#newcode195 ash/shelf/shelf_layout_manager_unittest.cc:195: if (GetShelf()->GetAutoHideState() != ash::SHELF_AUTO_HIDE_HIDDEN) { Can you collapse this ...
4 years, 5 months ago (2016-07-13 19:36:51 UTC) #8
yiyix
@bruthig, could you please take a loot at the new version? Thank you. https://codereview.chromium.org/2143033003/diff/1/ash/shelf/shelf_layout_manager_unittest.cc File ...
4 years, 5 months ago (2016-07-14 18:24:49 UTC) #9
bruthig
lgtm
4 years, 5 months ago (2016-07-14 21:22:51 UTC) #10
yiyix
@jamescook, could you please take a look? Thank you very much.
4 years, 5 months ago (2016-07-14 21:57:44 UTC) #12
James Cook
LGTM https://codereview.chromium.org/2143033003/diff/20001/ash/shelf/shelf_layout_manager_unittest.cc File ash/shelf/shelf_layout_manager_unittest.cc (right): https://codereview.chromium.org/2143033003/diff/20001/ash/shelf/shelf_layout_manager_unittest.cc#newcode143 ash/shelf/shelf_layout_manager_unittest.cc:143: : auto_hidden_shelf_widget_bounds_(not_visible), These names are much clearer. Thanks ...
4 years, 5 months ago (2016-07-14 22:59:14 UTC) #13
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/2143033003/20001
4 years, 5 months ago (2016-07-17 20:00:37 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/53989)
4 years, 5 months ago (2016-07-17 21:33:49 UTC) #17
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/2143033003/20001
4 years, 5 months ago (2016-07-18 04:29:27 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-18 08:05:44 UTC) #21
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-18 08:05:46 UTC) #22
commit-bot: I haz the power
4 years, 5 months ago (2016-07-18 08:07:54 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b7a57976c42de5959d7a45cc9133864b45cf3399
Cr-Commit-Position: refs/heads/master@{#405962}

Powered by Google App Engine
This is Rietveld 408576698