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

Side by Side Diff: ui/aura/mus/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 unified diff | Download patch
« no previous file with comments | « ui/aura/mus/window_tree_host_mus.h ('k') | ui/aura/mus/window_tree_host_mus_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/aura/mus/window_tree_host_mus.h" 5 #include "ui/aura/mus/window_tree_host_mus.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "ui/aura/env.h" 8 #include "ui/aura/env.h"
9 #include "ui/aura/mus/input_method_mus.h" 9 #include "ui/aura/mus/input_method_mus.h"
10 #include "ui/aura/mus/window_port_mus.h" 10 #include "ui/aura/mus/window_port_mus.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 } 119 }
120 120
121 void WindowTreeHostMus::SetHitTestMask(const base::Optional<gfx::Rect>& rect) { 121 void WindowTreeHostMus::SetHitTestMask(const base::Optional<gfx::Rect>& rect) {
122 delegate_->OnWindowTreeHostHitTestMaskWillChange(this, rect); 122 delegate_->OnWindowTreeHostHitTestMaskWillChange(this, rect);
123 } 123 }
124 124
125 void WindowTreeHostMus::DeactivateWindow() { 125 void WindowTreeHostMus::DeactivateWindow() {
126 delegate_->OnWindowTreeHostDeactivateWindow(this); 126 delegate_->OnWindowTreeHostDeactivateWindow(this);
127 } 127 }
128 128
129 void WindowTreeHostMus::StackAtTop() {
130 delegate_->OnWindowTreeHostStackAtTop(this);
131 }
132
129 display::Display WindowTreeHostMus::GetDisplay() const { 133 display::Display WindowTreeHostMus::GetDisplay() const {
130 display::Display display; 134 display::Display display;
131 display::Screen::GetScreen()->GetDisplayWithDisplayId(display_id_, &display); 135 display::Screen::GetScreen()->GetDisplayWithDisplayId(display_id_, &display);
132 return display; 136 return display;
133 } 137 }
134 138
135 void WindowTreeHostMus::HideImpl() { 139 void WindowTreeHostMus::HideImpl() {
136 WindowTreeHostPlatform::HideImpl(); 140 WindowTreeHostPlatform::HideImpl();
137 window()->Hide(); 141 window()->Hide();
138 } 142 }
(...skipping 23 matching lines...) Expand all
162 void WindowTreeHostMus::OnCloseRequest() { 166 void WindowTreeHostMus::OnCloseRequest() {
163 OnHostCloseRequested(); 167 OnHostCloseRequested();
164 } 168 }
165 169
166 gfx::ICCProfile WindowTreeHostMus::GetICCProfileForCurrentDisplay() { 170 gfx::ICCProfile WindowTreeHostMus::GetICCProfileForCurrentDisplay() {
167 // TODO: This should read the profile from mus. crbug.com/647510 171 // TODO: This should read the profile from mus. crbug.com/647510
168 return gfx::ICCProfile(); 172 return gfx::ICCProfile();
169 } 173 }
170 174
171 } // namespace aura 175 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/mus/window_tree_host_mus.h ('k') | ui/aura/mus/window_tree_host_mus_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698