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

Unified Diff: ui/views/mus/desktop_window_tree_host_mus.cc

Issue 2633233003: aura-mus: Implement stacking in DesktopWindowTreeHostMus. (Closed)
Patch Set: Reword comment. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/test/mus/test_window_tree.cc ('k') | ui/views/mus/desktop_window_tree_host_mus_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/desktop_window_tree_host_mus.cc
diff --git a/ui/views/mus/desktop_window_tree_host_mus.cc b/ui/views/mus/desktop_window_tree_host_mus.cc
index bdec8679620c576ebe35c2f839049be5cfc582b3..12d11166f2452f579f464c2aa520cc1357488595 100644
--- a/ui/views/mus/desktop_window_tree_host_mus.cc
+++ b/ui/views/mus/desktop_window_tree_host_mus.cc
@@ -404,8 +404,10 @@ void DesktopWindowTreeHostMus::StackAbove(aura::Window* window) {
}
void DesktopWindowTreeHostMus::StackAtTop() {
- // TODO: implement window stacking, http://crbug.com/663617.
- NOTIMPLEMENTED();
+ // Request to the server to stack our current mus window at the top. Our
+ // window() is a root, and we can't reach up past it so we can't just request
+ // a Reorder(), which is what we'd do to reorder our own subwindows.
+ WindowTreeHostMus::StackAtTop();
}
void DesktopWindowTreeHostMus::CenterWindow(const gfx::Size& size) {
« no previous file with comments | « ui/aura/test/mus/test_window_tree.cc ('k') | ui/views/mus/desktop_window_tree_host_mus_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698