|
|
Chromium Code Reviews
DescriptionUse WmLayoutManager::OnChildWindowVisibilityChanged to update the system modal state.
The issue in WmWindowObserver::OnChildWindowVisibility is fixed in
https://codereview.chromium.org/2369413002/
but it's probably better to use WmLayoutManager::OnChildWindowVisibilityChanged because it's WmLayoutManager.
BUG=crbug.com/650751
TEST=covered by unit tests. tested manulally with the test app in the bug.
Committed: https://crrev.com/a1246e525e255367df004c528c93009fefb645e0
Cr-Commit-Position: refs/heads/master@{#421558}
Patch Set 1 : . #
Total comments: 2
Patch Set 2 : Observe WmLayoutManager::OnChildWindowVisibilityChanged to update the systemo modal state. #
Messages
Total messages: 21 (15 generated)
Patchset #1 (id:1) has been deleted
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...
Description was changed from ========== Observe WmLayoutManager::OnChildWindowVisibilityChanged to update the systemo modal state. WmWindowObserver::OnChildWindowVisibility's 1st argument is now always receiver, and can be called multiple times with the same visibility state. That's causing the issue where the window is added to the modal window list multiple times. BUG=crbug.com/650751 TEST=covered by unit tests. tested manulally with the test app in the bug. ========== to ========== Observe WmLayoutManager::OnChildWindowVisibilityChanged to update the systemo modal state. WmWindowObserver::OnChildWindowVisibility's 1st argument is now always receiver, and can be called multiple times with the same visibility state. That's causing the issue where the window is added to the modal window list multiple times. BUG=crbug.com/650751 TEST=covered by unit tests. tested manulally with the test app in the bug. ==========
oshima@chromium.org changed reviewers: + lpique@chromium.org, sky@chromium.org
Description was changed from ========== Observe WmLayoutManager::OnChildWindowVisibilityChanged to update the systemo modal state. WmWindowObserver::OnChildWindowVisibility's 1st argument is now always receiver, and can be called multiple times with the same visibility state. That's causing the issue where the window is added to the modal window list multiple times. BUG=crbug.com/650751 TEST=covered by unit tests. tested manulally with the test app in the bug. ========== to ========== Use WmLayoutManager::OnChildWindowVisibilityChanged to update the systemo modal state. The issue in WmWindowObserver::OnChildWindowVisibility is fixed in https://codereview.chromium.org/2369413002/ but WmLayoutManager::OnChildWindowVisibilityChanged is better API because it's LayoutManager. BUG=crbug.com/650751 TEST=covered by unit tests. tested manulally with the test app in the bug. ==========
Description was changed from ========== Use WmLayoutManager::OnChildWindowVisibilityChanged to update the systemo modal state. The issue in WmWindowObserver::OnChildWindowVisibility is fixed in https://codereview.chromium.org/2369413002/ but WmLayoutManager::OnChildWindowVisibilityChanged is better API because it's LayoutManager. BUG=crbug.com/650751 TEST=covered by unit tests. tested manulally with the test app in the bug. ========== to ========== Use WmLayoutManager::OnChildWindowVisibilityChanged to update the systemo modal state. The issue in WmWindowObserver::OnChildWindowVisibility is fixed in https://codereview.chromium.org/2369413002/ but WmLayoutManager::OnChildWindowVisibilityChanged is better API because it's WmLayoutManager. BUG=crbug.com/650751 TEST=covered by unit tests. tested manulally with the test app in the bug. ==========
Description was changed from ========== Use WmLayoutManager::OnChildWindowVisibilityChanged to update the systemo modal state. The issue in WmWindowObserver::OnChildWindowVisibility is fixed in https://codereview.chromium.org/2369413002/ but WmLayoutManager::OnChildWindowVisibilityChanged is better API because it's WmLayoutManager. BUG=crbug.com/650751 TEST=covered by unit tests. tested manulally with the test app in the bug. ========== to ========== Use WmLayoutManager::OnChildWindowVisibilityChanged to update the system modal state. The issue in WmWindowObserver::OnChildWindowVisibility is fixed in https://codereview.chromium.org/2369413002/ but WmLayoutManager::OnChildWindowVisibilityChanged is better API because it's WmLayoutManager. BUG=crbug.com/650751 TEST=covered by unit tests. tested manulally with the test app in the bug. ==========
Description was changed from ========== Use WmLayoutManager::OnChildWindowVisibilityChanged to update the system modal state. The issue in WmWindowObserver::OnChildWindowVisibility is fixed in https://codereview.chromium.org/2369413002/ but WmLayoutManager::OnChildWindowVisibilityChanged is better API because it's WmLayoutManager. BUG=crbug.com/650751 TEST=covered by unit tests. tested manulally with the test app in the bug. ========== to ========== Use WmLayoutManager::OnChildWindowVisibilityChanged to update the system modal state. The issue in WmWindowObserver::OnChildWindowVisibility is fixed in https://codereview.chromium.org/2369413002/ but it's probably better to use WmLayoutManager::OnChildWindowVisibilityChanged because it's WmLayoutManager. BUG=crbug.com/650751 TEST=covered by unit tests. tested manulally with the test app in the bug. ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
LGTM https://codereview.chromium.org/2374613004/diff/20001/ash/wm/system_modal_con... File ash/wm/system_modal_container_layout_manager_unittest.cc (right): https://codereview.chromium.org/2374613004/diff/20001/ash/wm/system_modal_con... ash/wm/system_modal_container_layout_manager_unittest.cc:789: std::unique_ptr<aura::Window> child(new aura::Window(nullptr)); MakeUnique rather than new.
https://codereview.chromium.org/2374613004/diff/20001/ash/wm/system_modal_con... File ash/wm/system_modal_container_layout_manager_unittest.cc (right): https://codereview.chromium.org/2374613004/diff/20001/ash/wm/system_modal_con... ash/wm/system_modal_container_layout_manager_unittest.cc:789: std::unique_ptr<aura::Window> child(new aura::Window(nullptr)); On 2016/09/27 22:10:57, sky wrote: > MakeUnique rather than new. Done.
The CQ bit was checked by oshima@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from sky@chromium.org Link to the patchset: https://codereview.chromium.org/2374613004/#ps40001 (title: "Observe WmLayoutManager::OnChildWindowVisibilityChanged to update the systemo modal state.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Use WmLayoutManager::OnChildWindowVisibilityChanged to update the system modal state. The issue in WmWindowObserver::OnChildWindowVisibility is fixed in https://codereview.chromium.org/2369413002/ but it's probably better to use WmLayoutManager::OnChildWindowVisibilityChanged because it's WmLayoutManager. BUG=crbug.com/650751 TEST=covered by unit tests. tested manulally with the test app in the bug. ========== to ========== Use WmLayoutManager::OnChildWindowVisibilityChanged to update the system modal state. The issue in WmWindowObserver::OnChildWindowVisibility is fixed in https://codereview.chromium.org/2369413002/ but it's probably better to use WmLayoutManager::OnChildWindowVisibilityChanged because it's WmLayoutManager. BUG=crbug.com/650751 TEST=covered by unit tests. tested manulally with the test app in the bug. ==========
Message was sent while issue was closed.
Committed patchset #2 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== Use WmLayoutManager::OnChildWindowVisibilityChanged to update the system modal state. The issue in WmWindowObserver::OnChildWindowVisibility is fixed in https://codereview.chromium.org/2369413002/ but it's probably better to use WmLayoutManager::OnChildWindowVisibilityChanged because it's WmLayoutManager. BUG=crbug.com/650751 TEST=covered by unit tests. tested manulally with the test app in the bug. ========== to ========== Use WmLayoutManager::OnChildWindowVisibilityChanged to update the system modal state. The issue in WmWindowObserver::OnChildWindowVisibility is fixed in https://codereview.chromium.org/2369413002/ but it's probably better to use WmLayoutManager::OnChildWindowVisibilityChanged because it's WmLayoutManager. BUG=crbug.com/650751 TEST=covered by unit tests. tested manulally with the test app in the bug. Committed: https://crrev.com/a1246e525e255367df004c528c93009fefb645e0 Cr-Commit-Position: refs/heads/master@{#421558} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/a1246e525e255367df004c528c93009fefb645e0 Cr-Commit-Position: refs/heads/master@{#421558} |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
