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

Issue 2633233003: aura-mus: Implement stacking in DesktopWindowTreeHostMus. (Closed)

Created:
3 years, 11 months ago by Elliot Glaysher
Modified:
3 years, 10 months ago
Reviewers:
sky, Will Harris
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

aura-mus: Implement DesktopWindowTreeHostMus::StackAtTop(). Adds API to the window server so that a client can request that one of their windows gets stacked on top of everything else. BUG=663617 Review-Url: https://codereview.chromium.org/2633233003 Cr-Commit-Position: refs/heads/master@{#445211} Committed: https://chromium.googlesource.com/chromium/src/+/a77d1f27b7d151775ba412bd522344e060736d02

Patch Set 1 #

Patch Set 2 : Round trip with the server. #

Patch Set 3 : Fix cast_shell_linux #

Patch Set 4 : Save my files before committing and uploading. #

Patch Set 5 : Add unit tests #

Patch Set 6 : Actually add new headers. #

Patch Set 7 : Patch cleanup. #

Total comments: 6

Patch Set 8 : Add access policy for CanStackAtTop. #

Total comments: 6

Patch Set 9 : Build a general ChangeCompletionWaiter #

Patch Set 10 : Reword comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -13 lines) Patch
M services/ui/public/cpp/tests/test_window_tree.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/public/cpp/tests/test_window_tree.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M services/ui/public/interfaces/window_tree.mojom View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M services/ui/ws/access_policy.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/ws/access_policy_delegate.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M services/ui/ws/default_access_policy.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/ws/default_access_policy.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M services/ui/ws/window_manager_access_policy.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/ws/window_manager_access_policy.cc View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -0 lines 0 comments Download
M services/ui/ws/window_tree.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
M services/ui/ws/window_tree.cc View 1 2 3 4 5 6 7 8 3 chunks +52 lines, -10 lines 0 comments Download
M ui/aura/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
M ui/aura/mus/window_tree_client.h View 1 2 3 4 5 6 7 8 4 chunks +7 lines, -0 lines 0 comments Download
M ui/aura/mus/window_tree_client.cc View 1 2 3 4 5 6 7 8 5 chunks +24 lines, -0 lines 0 comments Download
A ui/aura/mus/window_tree_client_test_observer.h View 1 2 3 4 5 6 7 8 1 chunk +30 lines, -0 lines 0 comments Download
M ui/aura/mus/window_tree_host_mus.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M ui/aura/mus/window_tree_host_mus.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ui/aura/mus/window_tree_host_mus_delegate.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
A ui/aura/test/mus/change_completion_waiter.h View 1 2 3 4 5 6 7 8 9 1 chunk +58 lines, -0 lines 0 comments Download
A ui/aura/test/mus/change_completion_waiter.cc View 1 2 3 4 5 6 7 8 9 1 chunk +56 lines, -0 lines 0 comments Download
M ui/aura/test/mus/test_window_tree.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/test/mus/test_window_tree.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/mus/desktop_window_tree_host_mus.cc View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M ui/views/mus/desktop_window_tree_host_mus_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +35 lines, -1 line 0 comments Download

Messages

Total messages: 50 (40 generated)
Elliot Glaysher
3 years, 11 months ago (2017-01-19 22:06:23 UTC) #24
sky
https://codereview.chromium.org/2633233003/diff/120001/services/ui/public/interfaces/window_tree.mojom File services/ui/public/interfaces/window_tree.mojom (right): https://codereview.chromium.org/2633233003/diff/120001/services/ui/public/interfaces/window_tree.mojom#newcode267 services/ui/public/interfaces/window_tree.mojom:267: // Stacks the window above everything. everything -> all ...
3 years, 11 months ago (2017-01-19 22:20:59 UTC) #26
Elliot Glaysher
https://codereview.chromium.org/2633233003/diff/120001/services/ui/public/interfaces/window_tree.mojom File services/ui/public/interfaces/window_tree.mojom (right): https://codereview.chromium.org/2633233003/diff/120001/services/ui/public/interfaces/window_tree.mojom#newcode267 services/ui/public/interfaces/window_tree.mojom:267: // Stacks the window above everything. On 2017/01/19 22:20:59, ...
3 years, 11 months ago (2017-01-20 01:03:44 UTC) #29
sky
https://codereview.chromium.org/2633233003/diff/140001/services/ui/ws/default_access_policy.cc File services/ui/ws/default_access_policy.cc (right): https://codereview.chromium.org/2633233003/diff/140001/services/ui/ws/default_access_policy.cc#newcode160 services/ui/ws/default_access_policy.cc:160: return delegate_->HasRootForAccessPolicy(window); Can you also add a function to ...
3 years, 11 months ago (2017-01-20 16:36:11 UTC) #32
Elliot Glaysher
https://codereview.chromium.org/2633233003/diff/140001/services/ui/ws/default_access_policy.cc File services/ui/ws/default_access_policy.cc (right): https://codereview.chromium.org/2633233003/diff/140001/services/ui/ws/default_access_policy.cc#newcode160 services/ui/ws/default_access_policy.cc:160: return delegate_->HasRootForAccessPolicy(window); On 2017/01/20 16:36:10, sky wrote: > Can ...
3 years, 11 months ago (2017-01-20 22:31:03 UTC) #38
sky
LGTM
3 years, 11 months ago (2017-01-20 22:36:16 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/2633233003/180001
3 years, 11 months ago (2017-01-20 23:24:57 UTC) #43
commit-bot: I haz the power
Committed patchset #10 (id:180001) as https://chromium.googlesource.com/chromium/src/+/a77d1f27b7d151775ba412bd522344e060736d02
3 years, 11 months ago (2017-01-20 23:43:04 UTC) #46
Wez
Hallo wfh@chromium.org! Due to a depot_tools patch which mistakenly removed the OWNERS check for non-source ...
3 years, 10 months ago (2017-02-08 02:09:10 UTC) #49
Will Harris
3 years, 10 months ago (2017-02-13 18:33:59 UTC) #50
retroactive lgtm

Powered by Google App Engine
This is Rietveld 408576698