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

Issue 2759643003: Add system modals to the proper container in mus+ash. (Closed)

Created:
3 years, 9 months ago by Hadi
Modified:
3 years, 9 months ago
Reviewers:
sky
CC:
chromium-reviews, rjkroege, kalyank, sadrul
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add system modals to the proper container in mus+ash. System modal windows should be added to kShellWindowId_SystemModalContainer so we get effects like gray background for them. BUG=702747 Review-Url: https://codereview.chromium.org/2759643003 Cr-Commit-Position: refs/heads/master@{#458533} Committed: https://chromium.googlesource.com/chromium/src/+/92b3b48f68b255d6acc8efee1ac5682684676bba

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : Remove extra code. #

Total comments: 3

Patch Set 4 : Addressed feedback. #

Patch Set 5 : More sensible context value. #

Patch Set 6 : Removed |context|. #

Patch Set 7 : rebased. #

Patch Set 8 : fix rebase. #

Total comments: 4

Patch Set 9 : addressed feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -1 line) Patch
M ash/mus/window_manager.h View 1 2 3 7 1 chunk +1 line, -0 lines 0 comments Download
M ash/mus/window_manager.cc View 1 2 3 4 5 6 7 8 2 chunks +18 lines, -0 lines 0 comments Download
M mash/simple_wm/simple_wm.h View 7 1 chunk +1 line, -0 lines 0 comments Download
M mash/simple_wm/simple_wm.cc View 7 1 chunk +2 lines, -0 lines 0 comments Download
M services/ui/demo/mus_demo_internal.h View 1 2 3 7 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/demo/mus_demo_internal.cc View 1 2 3 7 1 chunk +2 lines, -0 lines 0 comments Download
M services/ui/test_wm/test_wm.cc View 1 2 3 7 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/ws/window_manager_client_unittest.cc View 1 2 3 7 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/ws/window_server_test_base.h View 7 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/ws/window_server_test_base.cc View 1 2 3 7 1 chunk +6 lines, -0 lines 0 comments Download
M ui/aura/mus/window_manager_delegate.h View 1 2 3 7 1 chunk +3 lines, -0 lines 0 comments Download
M ui/aura/mus/window_tree_client.cc View 1 2 3 6 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/test/aura_test_base.h View 7 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/test/aura_test_base.cc View 7 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 26 (16 generated)
Hadi
PTAL.
3 years, 9 months ago (2017-03-17 20:07:08 UTC) #4
sky
https://codereview.chromium.org/2759643003/diff/40001/ash/mus/window_manager.cc File ash/mus/window_manager.cc (right): https://codereview.chromium.org/2759643003/diff/40001/ash/mus/window_manager.cc#newcode325 ash/mus/window_manager.cc:325: void WindowManager::OnWmSetModalType(aura::Window* window, ui::ModalType type) { I'm a little ...
3 years, 9 months ago (2017-03-17 21:37:47 UTC) #7
Hadi
Couple of questions: 1. |context| is unused in ash::wm::GetDefaultParent(), should we remove it? 2. If ...
3 years, 9 months ago (2017-03-20 15:03:29 UTC) #10
sky
On 2017/03/20 15:03:29, Hadi wrote: > Couple of questions: > > 1. |context| is unused ...
3 years, 9 months ago (2017-03-20 16:37:14 UTC) #15
Hadi
On 2017/03/20 16:37:14, sky wrote: > On 2017/03/20 15:03:29, Hadi wrote: > > Couple of ...
3 years, 9 months ago (2017-03-20 19:04:32 UTC) #18
sky
https://codereview.chromium.org/2759643003/diff/140001/ash/mus/window_manager.cc File ash/mus/window_manager.cc (right): https://codereview.chromium.org/2759643003/diff/140001/ash/mus/window_manager.cc#newcode332 ash/mus/window_manager.cc:332: window->SetProperty(aura::client::kModalKey, type); If the property changes from system shouldn't ...
3 years, 9 months ago (2017-03-20 20:14:30 UTC) #19
Hadi
https://codereview.chromium.org/2759643003/diff/140001/ash/mus/window_manager.cc File ash/mus/window_manager.cc (right): https://codereview.chromium.org/2759643003/diff/140001/ash/mus/window_manager.cc#newcode332 ash/mus/window_manager.cc:332: window->SetProperty(aura::client::kModalKey, type); On 2017/03/20 20:14:30, sky wrote: > If ...
3 years, 9 months ago (2017-03-20 20:28:58 UTC) #20
sky
LGTM
3 years, 9 months ago (2017-03-20 21:53:24 UTC) #21
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/2759643003/160001
3 years, 9 months ago (2017-03-21 18:50:01 UTC) #23
commit-bot: I haz the power
3 years, 9 months ago (2017-03-21 20:29:24 UTC) #26
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/92b3b48f68b255d6acc8efee1ac5...

Powered by Google App Engine
This is Rietveld 408576698