| OLD | NEW |
| 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 Loading... |
| 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 WindowMangaer to stack |above_id| in front of |below_id|. |
| 195 WmStackAbove(uint32 change_id, uint32 above_id, uint32 below_id); |
| 196 |
| 194 // Asks the WindowManager to stack |window_id| as the first child of its | 197 // Asks the WindowManager to stack |window_id| as the first child of its |
| 195 // window manager owned parent. | 198 // window manager owned parent. |
| 196 WmStackAtTop(uint32 change_id, uint32 window_id); | 199 WmStackAtTop(uint32 change_id, uint32 window_id); |
| 197 | 200 |
| 198 // An accelerator registered via AddAccelerator() has been triggered. If | 201 // An accelerator registered via AddAccelerator() has been triggered. If |
| 199 // |ack_id| is non-zero the accelerator matches a PRE_TARGET and must be | 202 // |ack_id| is non-zero the accelerator matches a PRE_TARGET and must be |
| 200 // acknowledged by WindowManagerClient::OnAcceleratorAck(). | 203 // acknowledged by WindowManagerClient::OnAcceleratorAck(). |
| 201 OnAccelerator(uint32 ack_id, uint32 accelerator_id, ui.mojom.Event event); | 204 OnAccelerator(uint32 ack_id, uint32 accelerator_id, ui.mojom.Event event); |
| 202 }; | 205 }; |
| 203 | 206 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id); | 254 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id); |
| 252 | 255 |
| 253 // Response from WmCreateTopLevelWindow() informing the client of the id for | 256 // Response from WmCreateTopLevelWindow() informing the client of the id for |
| 254 // the new window. | 257 // the new window. |
| 255 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); | 258 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); |
| 256 | 259 |
| 257 // See description in WindowManager::OnAccelerator(). |ack_id| is the value | 260 // See description in WindowManager::OnAccelerator(). |ack_id| is the value |
| 258 // that was passed to OnAccelerator(). | 261 // that was passed to OnAccelerator(). |
| 259 OnAcceleratorAck(uint32 ack_id, EventResult event_result); | 262 OnAcceleratorAck(uint32 ack_id, EventResult event_result); |
| 260 }; | 263 }; |
| OLD | NEW |