|
|
Descriptioncollect windows from mru_list in workspace_controller.
BUG=b:38505617
TEST=
ash_unittests on ShelfLayoutManagerTest.AutohideShelfForAutohideWhenActiveWindow
ash unittests on AppListPresenterDelegateTest.ShelfBackgroundRespondsToAppListBeingShown
Review-Url: https://codereview.chromium.org/2967543003
Cr-Commit-Position: refs/heads/master@{#486462}
Committed: https://chromium.googlesource.com/chromium/src/+/754ce9484c33d957a31a4a6aa822c92abc62694a
Patch Set 1 #Patch Set 2 : add unittest #
Total comments: 4
Patch Set 3 : add more verification to test #Patch Set 4 : address applist tests #
Total comments: 2
Patch Set 5 : address review comment #
Total comments: 2
Patch Set 6 : write down todo for test #
Messages
Total messages: 39 (21 generated)
muyuanli@chromium.org changed reviewers: + oshima@chromium.org
can you add unit tests?
Description was changed from ========== collect windows from mru_list in workspace_controller. BUG=b:38505617 ========== to ========== collect windows from mru_list in workspace_controller. BUG=b:38505617 TEST=ash_unittests --gtest_filter=ShelfLayoutManagerTest.AutohideShelfForAutohideWhenActiveWindow ==========
On 2017/06/29 22:57:08, oshima (OOO back on July 5th) wrote: > can you add unit tests? done
The CQ bit was checked by oshima@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
please add following checks, then lgtm https://codereview.chromium.org/2967543003/diff/20001/ash/shelf/shelf_layout_... File ash/shelf/shelf_layout_manager_unittest.cc (right): https://codereview.chromium.org/2967543003/diff/20001/ash/shelf/shelf_layout_... ash/shelf/shelf_layout_manager_unittest.cc:1565: window_two->SetProperty(aura::client::kAlwaysOnTopKey, true); please test if the window is in the always on container. https://codereview.chromium.org/2967543003/diff/20001/ash/shelf/shelf_layout_... ash/shelf/shelf_layout_manager_unittest.cc:1567: EXPECT_EQ(SHELF_AUTO_HIDE, shelf->GetVisibilityState()); Can you also check if the workspace state is in maximized?
https://codereview.chromium.org/2967543003/diff/20001/ash/shelf/shelf_layout_... File ash/shelf/shelf_layout_manager_unittest.cc (right): https://codereview.chromium.org/2967543003/diff/20001/ash/shelf/shelf_layout_... ash/shelf/shelf_layout_manager_unittest.cc:1565: window_two->SetProperty(aura::client::kAlwaysOnTopKey, true); On 2017/06/30 00:04:08, oshima (OOO back on July 5th) wrote: > please test if the window is in the always on container. Done. https://codereview.chromium.org/2967543003/diff/20001/ash/shelf/shelf_layout_... ash/shelf/shelf_layout_manager_unittest.cc:1567: EXPECT_EQ(SHELF_AUTO_HIDE, shelf->GetVisibilityState()); On 2017/06/30 00:04:08, oshima (OOO back on July 5th) wrote: > Can you also check if the workspace state is in maximized? Done.
The CQ bit was checked by muyuanli@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from oshima@chromium.org Link to the patchset: https://codereview.chromium.org/2967543003/#ps40001 (title: "add more verification to test")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
Patchset #4 (id:60001) has been deleted
Description was changed from ========== collect windows from mru_list in workspace_controller. BUG=b:38505617 TEST=ash_unittests --gtest_filter=ShelfLayoutManagerTest.AutohideShelfForAutohideWhenActiveWindow ========== to ========== collect windows from mru_list in workspace_controller. BUG=b:38505617 TEST= ash_unittests on ShelfLayoutManagerTest.AutohideShelfForAutohideWhenActiveWindow ash unittests on AppListPresenterDelegateTest.ShelfBackgroundRespondsToAppListBeingShown ==========
The CQ bit was checked by muyuanli@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from oshima@chromium.org Link to the patchset: https://codereview.chromium.org/2967543003/#ps80001 (title: "address applist tests")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2967543003/diff/80001/ash/app_list/app_list_p... File ash/app_list/app_list_presenter_delegate.cc (right): https://codereview.chromium.org/2967543003/diff/80001/ash/app_list/app_list_p... ash/app_list/app_list_presenter_delegate.cc:125: ->set_ignored_by_shelf(!IsSideShelf(root_window)); we should always set this to true, to keep the same behavior even for current app list.
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by muyuanli@chromium.org
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by muyuanli@chromium.org
https://codereview.chromium.org/2967543003/diff/80001/ash/app_list/app_list_p... File ash/app_list/app_list_presenter_delegate.cc (right): https://codereview.chromium.org/2967543003/diff/80001/ash/app_list/app_list_p... ash/app_list/app_list_presenter_delegate.cc:125: ->set_ignored_by_shelf(!IsSideShelf(root_window)); On 2017/07/13 00:21:54, oshima wrote: > we should always set this to true, to keep the same behavior even for current > app list. Done.
The CQ bit was checked by muyuanli@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from oshima@chromium.org Link to the patchset: https://codereview.chromium.org/2967543003/#ps100001 (title: "address review comment")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
https://codereview.chromium.org/2967543003/diff/100001/ash/app_list/app_list_... File ash/app_list/app_list_presenter_delegate_unittest.cc (left): https://codereview.chromium.org/2967543003/diff/100001/ash/app_list/app_list_... ash/app_list/app_list_presenter_delegate_unittest.cc:703: SHELF_BACKGROUND_DEFAULT); This should stay right?
https://codereview.chromium.org/2967543003/diff/100001/ash/app_list/app_list_... File ash/app_list/app_list_presenter_delegate_unittest.cc (left): https://codereview.chromium.org/2967543003/diff/100001/ash/app_list/app_list_... ash/app_list/app_list_presenter_delegate_unittest.cc:703: SHELF_BACKGROUND_DEFAULT); On 2017/07/13 04:41:32, oshima wrote: > This should stay right? It should be OVERLAP per UX requirement. The test itself is not setup properly.. I put down a todo and created a bug: https://bugs.chromium.org/p/chromium/issues/detail?id=742461 to track the issue separately.
The CQ bit was checked by muyuanli@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from oshima@chromium.org Link to the patchset: https://codereview.chromium.org/2967543003/#ps120001 (title: "write down todo for test")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 120001, "attempt_start_ts": 1499971566684970, "parent_rev": "d4f5c197b9d01fd820038bd4a85945c55a1c8d4f", "commit_rev": "754ce9484c33d957a31a4a6aa822c92abc62694a"}
Message was sent while issue was closed.
Description was changed from ========== collect windows from mru_list in workspace_controller. BUG=b:38505617 TEST= ash_unittests on ShelfLayoutManagerTest.AutohideShelfForAutohideWhenActiveWindow ash unittests on AppListPresenterDelegateTest.ShelfBackgroundRespondsToAppListBeingShown ========== to ========== collect windows from mru_list in workspace_controller. BUG=b:38505617 TEST= ash_unittests on ShelfLayoutManagerTest.AutohideShelfForAutohideWhenActiveWindow ash unittests on AppListPresenterDelegateTest.ShelfBackgroundRespondsToAppListBeingShown Review-Url: https://codereview.chromium.org/2967543003 Cr-Commit-Position: refs/heads/master@{#486462} Committed: https://chromium.googlesource.com/chromium/src/+/754ce9484c33d957a31a4a6aa822... ==========
Message was sent while issue was closed.
Committed patchset #6 (id:120001) as https://chromium.googlesource.com/chromium/src/+/754ce9484c33d957a31a4a6aa822... |