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

Side by Side Diff: services/ui/public/interfaces/window_manager.mojom

Issue 2652713003: aura-mus: Make StackAtTop() proxy to the window manager. (Closed)
Patch Set: Add check to window_manager_delegate_ in WmStackAtTop. Created 3 years, 10 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 | « no previous file | services/ui/ws/test_utils.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 module ui.mojom; 5 module ui.mojom;
6 6
7 import "services/ui/public/interfaces/cursor.mojom"; 7 import "services/ui/public/interfaces/cursor.mojom";
8 import "services/ui/public/interfaces/display/display.mojom"; 8 import "services/ui/public/interfaces/display/display.mojom";
9 import "services/ui/public/interfaces/event_matcher.mojom"; 9 import "services/ui/public/interfaces/event_matcher.mojom";
10 import "services/ui/public/interfaces/window_manager_constants.mojom"; 10 import "services/ui/public/interfaces/window_manager_constants.mojom";
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 MoveLoopSource source, 184 MoveLoopSource source,
185 gfx.mojom.Point cursor_location); 185 gfx.mojom.Point cursor_location);
186 186
187 // Asks the WindowManager to cancel any outstanding move loop on |change_id|. 187 // Asks the WindowManager to cancel any outstanding move loop on |change_id|.
188 WmCancelMoveLoop(uint32 change_id); 188 WmCancelMoveLoop(uint32 change_id);
189 189
190 // Asks the WindowManager to change the activation from the current window 190 // Asks the WindowManager to change the activation from the current window
191 // to the next. The window manager may completely ignore this message. 191 // to the next. The window manager may completely ignore this message.
192 WmDeactivateWindow(uint32 window_id); 192 WmDeactivateWindow(uint32 window_id);
193 193
194 // Asks the WindowManager to stack |window_id| as the first child of its
195 // window manager owned parent.
196 WmStackAtTop(uint32 change_id, uint32 window_id);
197
194 // An accelerator registered via AddAccelerator() has been triggered. If 198 // An accelerator registered via AddAccelerator() has been triggered. If
195 // |ack_id| is non-zero the accelerator matches a PRE_TARGET and must be 199 // |ack_id| is non-zero the accelerator matches a PRE_TARGET and must be
196 // acknowledged by WindowManagerClient::OnAcceleratorAck(). 200 // acknowledged by WindowManagerClient::OnAcceleratorAck().
197 OnAccelerator(uint32 ack_id, uint32 accelerator_id, ui.mojom.Event event); 201 OnAccelerator(uint32 ack_id, uint32 accelerator_id, ui.mojom.Event event);
198 }; 202 };
199 203
200 struct Accelerator { 204 struct Accelerator {
201 uint32 id; 205 uint32 id;
202 EventMatcher event_matcher; 206 EventMatcher event_matcher;
203 }; 207 };
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id); 251 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id);
248 252
249 // Response from WmCreateTopLevelWindow() informing the client of the id for 253 // Response from WmCreateTopLevelWindow() informing the client of the id for
250 // the new window. 254 // the new window.
251 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); 255 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id);
252 256
253 // See description in WindowManager::OnAccelerator(). |ack_id| is the value 257 // See description in WindowManager::OnAccelerator(). |ack_id| is the value
254 // that was passed to OnAccelerator(). 258 // that was passed to OnAccelerator().
255 OnAcceleratorAck(uint32 ack_id, EventResult event_result); 259 OnAcceleratorAck(uint32 ack_id, EventResult event_result);
256 }; 260 };
OLDNEW
« no previous file with comments | « no previous file | services/ui/ws/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698