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/event_matcher.mojom"; | 8 import "services/ui/public/interfaces/event_matcher.mojom"; |
9 import "services/ui/public/interfaces/window_manager_constants.mojom"; | 9 import "services/ui/public/interfaces/window_manager_constants.mojom"; |
10 import "services/ui/public/interfaces/window_tree_constants.mojom"; | 10 import "services/ui/public/interfaces/window_tree_constants.mojom"; |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 WmSetFrameDecorationValues(FrameDecorationValues values); | 257 WmSetFrameDecorationValues(FrameDecorationValues values); |
258 | 258 |
259 // Sets the cursor that the non-client areas of the window should use. | 259 // Sets the cursor that the non-client areas of the window should use. |
260 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id); | 260 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id); |
261 | 261 |
262 // Response from WmCreateTopLevelWindow() informing the client of the id for | 262 // Response from WmCreateTopLevelWindow() informing the client of the id for |
263 // the new window. | 263 // the new window. |
264 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); | 264 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); |
265 | 265 |
266 // See description in WindowManager::OnAccelerator(). |ack_id| is the value | 266 // See description in WindowManager::OnAccelerator(). |ack_id| is the value |
267 // that was passed to OnAccelerator(). | 267 // that was passed to OnAccelerator(). If the accelerator is a pre-target |
268 OnAcceleratorAck(uint32 ack_id, EventResult event_result); | 268 // handler and |event_result| is UNHANDLED, then |properties| is added to |
| 269 // the KeyEvent that is dispatched to the client with the focused window. |
| 270 OnAcceleratorAck(uint32 ack_id, |
| 271 EventResult event_result, |
| 272 map<string, array<uint8>> properties); |
269 }; | 273 }; |
OLD | NEW |