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

Issue 2374613004: Use WmLayoutManager::OnChildWindowVisibilityChanged to update the system modal state. (Closed)

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

Description

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}

Patch Set 1 : . #

Total comments: 2

Patch Set 2 : Observe WmLayoutManager::OnChildWindowVisibilityChanged to update the systemo modal state. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -15 lines) Patch
M ash/common/wm/system_modal_container_layout_manager.h View 2 chunks +1 line, -1 line 0 comments Download
M ash/common/wm/system_modal_container_layout_manager.cc View 2 chunks +15 lines, -14 lines 0 comments Download
M ash/wm/system_modal_container_layout_manager_unittest.cc View 1 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (15 generated)
oshima
4 years, 2 months ago (2016-09-27 18:46:17 UTC) #10
sky
LGTM https://codereview.chromium.org/2374613004/diff/20001/ash/wm/system_modal_container_layout_manager_unittest.cc File ash/wm/system_modal_container_layout_manager_unittest.cc (right): https://codereview.chromium.org/2374613004/diff/20001/ash/wm/system_modal_container_layout_manager_unittest.cc#newcode789 ash/wm/system_modal_container_layout_manager_unittest.cc:789: std::unique_ptr<aura::Window> child(new aura::Window(nullptr)); MakeUnique rather than new.
4 years, 2 months ago (2016-09-27 22:10:58 UTC) #13
oshima
https://codereview.chromium.org/2374613004/diff/20001/ash/wm/system_modal_container_layout_manager_unittest.cc File ash/wm/system_modal_container_layout_manager_unittest.cc (right): https://codereview.chromium.org/2374613004/diff/20001/ash/wm/system_modal_container_layout_manager_unittest.cc#newcode789 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: > ...
4 years, 2 months ago (2016-09-28 14:26:00 UTC) #14
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/2374613004/40001
4 years, 2 months ago (2016-09-28 17:03:55 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 2 months ago (2016-09-28 17:31:38 UTC) #19
commit-bot: I haz the power
4 years, 2 months ago (2016-09-28 17:34:41 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a1246e525e255367df004c528c93009fefb645e0
Cr-Commit-Position: refs/heads/master@{#421558}

Powered by Google App Engine
This is Rietveld 408576698