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

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

Issue 2568303006: aura-mus: Implement Deactivate(). (Closed)
Patch Set: Add 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
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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 // Asks the WindowManager to interactively move the window. This will return 180 // Asks the WindowManager to interactively move the window. This will return
181 // whether this completed successfully or not through the client's 181 // whether this completed successfully or not through the client's
182 // OnWmMoveLoopCompleted(). 182 // OnWmMoveLoopCompleted().
183 WmPerformMoveLoop(uint32 change_id, uint32 window_id, 183 WmPerformMoveLoop(uint32 change_id, uint32 window_id,
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
191 // to the next. The window manager may completely ignore this message.
192 WmDeactivateWindow(uint32 window_id);
193
190 // An accelerator registered via AddAccelerator() has been triggered. If 194 // An accelerator registered via AddAccelerator() has been triggered. If
191 // |ack_id| is non-zero the accelerator matches a PRE_TARGET and must be 195 // |ack_id| is non-zero the accelerator matches a PRE_TARGET and must be
192 // acknowledged by WindowManagerClient::OnAcceleratorAck(). 196 // acknowledged by WindowManagerClient::OnAcceleratorAck().
193 OnAccelerator(uint32 ack_id, uint32 accelerator_id, ui.mojom.Event event); 197 OnAccelerator(uint32 ack_id, uint32 accelerator_id, ui.mojom.Event event);
194 }; 198 };
195 199
196 struct Accelerator { 200 struct Accelerator {
197 uint32 id; 201 uint32 id;
198 EventMatcher event_matcher; 202 EventMatcher event_matcher;
199 }; 203 };
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id); 247 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id);
244 248
245 // Response from WmCreateTopLevelWindow() informing the client of the id for 249 // Response from WmCreateTopLevelWindow() informing the client of the id for
246 // the new window. 250 // the new window.
247 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); 251 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id);
248 252
249 // See description in WindowManager::OnAccelerator(). |ack_id| is the value 253 // See description in WindowManager::OnAccelerator(). |ack_id| is the value
250 // that was passed to OnAccelerator(). 254 // that was passed to OnAccelerator().
251 OnAcceleratorAck(uint32 ack_id, EventResult event_result); 255 OnAcceleratorAck(uint32 ack_id, EventResult event_result);
252 }; 256 };
OLDNEW
« no previous file with comments | « services/ui/public/cpp/window_tree_client.cc ('k') | services/ui/public/interfaces/window_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698