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

Issue 2652713003: aura-mus: Make StackAtTop() proxy to the window manager. (Closed)

Created:
3 years, 11 months ago by Elliot Glaysher
Modified:
3 years, 11 months ago
Reviewers:
Tom Sepez, sky
CC:
chromium-reviews, rjkroege, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, kalyank, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

aura-mus: Make StackAtTop() proxy to the window manager. sky convinced me that we can't just let the window server handle this; reordering assumes that the caller is also the owner of parent, so the window manager is the one who must make the reorder call. BUG=663617 TEST=DesktopWindowTreeHostMusTest.Stack* Review-Url: https://codereview.chromium.org/2652713003 Cr-Commit-Position: refs/heads/master@{#445864} Committed: https://chromium.googlesource.com/chromium/src/+/180d76b0129bc5361b80d850d3b442d8dfebf401

Patch Set 1 #

Patch Set 2 : Merge with tot #

Patch Set 3 : Fix mus_ws_unittests compile. #

Patch Set 4 : Fix grammar. #

Total comments: 2

Patch Set 5 : Add explicit bails in WmStackAtTop. #

Total comments: 1

Patch Set 6 : Assume aura::Window::StackAtTop succeeds. #

Patch Set 7 : Add check to window_manager_delegate_ in WmStackAtTop. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -6 lines) Patch
M services/ui/public/interfaces/window_manager.mojom View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M services/ui/ws/test_utils.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/ws/test_utils.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M services/ui/ws/window_tree.cc View 1 2 3 4 1 chunk +14 lines, -6 lines 0 comments Download
M services/ui/ws/window_tree_client_unittest.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ui/aura/mus/window_tree_client.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/mus/window_tree_client.cc View 1 2 3 4 5 6 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 47 (32 generated)
Elliot Glaysher
3 years, 11 months ago (2017-01-24 00:47:38 UTC) #15
sky
https://codereview.chromium.org/2652713003/diff/50001/ui/aura/mus/window_tree_client.cc File ui/aura/mus/window_tree_client.cc (right): https://codereview.chromium.org/2652713003/diff/50001/ui/aura/mus/window_tree_client.cc#newcode1522 ui/aura/mus/window_tree_client.cc:1522: void WindowTreeClient::WmStackAtTop(uint32_t wm_change_id, uint32_t window_id) { How does the ...
3 years, 11 months ago (2017-01-24 00:54:02 UTC) #16
Elliot Glaysher
https://codereview.chromium.org/2652713003/diff/50001/ui/aura/mus/window_tree_client.cc File ui/aura/mus/window_tree_client.cc (right): https://codereview.chromium.org/2652713003/diff/50001/ui/aura/mus/window_tree_client.cc#newcode1522 ui/aura/mus/window_tree_client.cc:1522: void WindowTreeClient::WmStackAtTop(uint32_t wm_change_id, uint32_t window_id) { On 2017/01/24 00:54:01, ...
3 years, 11 months ago (2017-01-24 01:16:06 UTC) #19
sky
On 2017/01/24 01:16:06, Elliot Glaysher wrote: > https://codereview.chromium.org/2652713003/diff/50001/ui/aura/mus/window_tree_client.cc > File ui/aura/mus/window_tree_client.cc (right): > > https://codereview.chromium.org/2652713003/diff/50001/ui/aura/mus/window_tree_client.cc#newcode1522 ...
3 years, 11 months ago (2017-01-24 17:18:15 UTC) #22
sky
https://codereview.chromium.org/2652713003/diff/70001/ui/aura/mus/window_tree_client.cc File ui/aura/mus/window_tree_client.cc (right): https://codereview.chromium.org/2652713003/diff/70001/ui/aura/mus/window_tree_client.cc#newcode1523 ui/aura/mus/window_tree_client.cc:1523: WindowMus* window = GetWindowByServerId(window_id); I think you want almost ...
3 years, 11 months ago (2017-01-24 17:18:23 UTC) #23
Elliot Glaysher
ptal this calls Window::StackChildAtTop() in WmStackAtTop and assumes it succeeds, as discussed in person.
3 years, 11 months ago (2017-01-24 20:11:02 UTC) #26
sky
LGTM
3 years, 11 months ago (2017-01-24 22:14:23 UTC) #29
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/2652713003/90001
3 years, 11 months ago (2017-01-24 22:18:08 UTC) #31
Elliot Glaysher
+tseepez for mojom review.
3 years, 11 months ago (2017-01-24 22:28:24 UTC) #33
Tom Sepez
On 2017/01/24 22:28:24, Elliot Glaysher wrote: > +tseepez for mojom review. This is browser to ...
3 years, 11 months ago (2017-01-24 22:31:15 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/349192)
3 years, 11 months ago (2017-01-24 22:31:33 UTC) #36
Elliot Glaysher
On 2017/01/24 22:31:15, Tom Sepez wrote: > On 2017/01/24 22:28:24, Elliot Glaysher wrote: > > ...
3 years, 11 months ago (2017-01-24 22:32:25 UTC) #37
Tom Sepez
OK, we can trust the IDs then so LGTM.
3 years, 11 months ago (2017-01-24 22:37:51 UTC) #40
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/2652713003/110001
3 years, 11 months ago (2017-01-24 22:51:30 UTC) #44
commit-bot: I haz the power
3 years, 11 months ago (2017-01-24 23:54:08 UTC) #47
Message was sent while issue was closed.
Committed patchset #7 (id:110001) as
https://chromium.googlesource.com/chromium/src/+/180d76b0129bc5361b80d850d3b4...

Powered by Google App Engine
This is Rietveld 408576698