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

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

Issue 2918553003: Implement a MoveCursorToScreenLocation for just the window manager. (Closed)
Patch Set: Created 3 years, 6 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 "cc/ipc/frame_sink_id.mojom"; 7 import "cc/ipc/frame_sink_id.mojom";
8 import "cc/ipc/local_surface_id.mojom"; 8 import "cc/ipc/local_surface_id.mojom";
9 import "services/ui/public/interfaces/cursor/cursor.mojom"; 9 import "services/ui/public/interfaces/cursor/cursor.mojom";
10 import "services/ui/public/interfaces/event_matcher.mojom"; 10 import "services/ui/public/interfaces/event_matcher.mojom";
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 WmLockCursor(); 313 WmLockCursor();
314 WmUnlockCursor(); 314 WmUnlockCursor();
315 315
316 // Shows and hides the cursor globally. Used during window management tasks. 316 // Shows and hides the cursor globally. Used during window management tasks.
317 WmSetCursorVisible(bool visible); 317 WmSetCursorVisible(bool visible);
318 318
319 // Sets a global cursor which overrides per-window cursors. Pass null to 319 // Sets a global cursor which overrides per-window cursors. Pass null to
320 // clear. 320 // clear.
321 WmSetGlobalOverrideCursor(CursorData? cursor); 321 WmSetGlobalOverrideCursor(CursorData? cursor);
322 322
323 // Moves the cursor on the screen.
324 WmMoveCursorToScreenLocationInPixels(gfx.mojom.Point point);
325
323 // Response from WmCreateTopLevelWindow() informing the client of the id for 326 // Response from WmCreateTopLevelWindow() informing the client of the id for
324 // the new window. 327 // the new window.
325 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); 328 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id);
326 329
327 // See description in WindowManager::OnAccelerator(). |ack_id| is the value 330 // See description in WindowManager::OnAccelerator(). |ack_id| is the value
328 // that was passed to OnAccelerator(). If the accelerator is a pre-target 331 // that was passed to OnAccelerator(). If the accelerator is a pre-target
329 // handler and |event_result| is UNHANDLED, then |properties| is added to 332 // handler and |event_result| is UNHANDLED, then |properties| is added to
330 // the KeyEvent that is dispatched to the client with the focused window. 333 // the KeyEvent that is dispatched to the client with the focused window.
331 OnAcceleratorAck(uint32 ack_id, 334 OnAcceleratorAck(uint32 ack_id,
332 EventResult event_result, 335 EventResult event_result,
333 map<string, array<uint8>> properties); 336 map<string, array<uint8>> properties);
334 }; 337 };
OLDNEW
« no previous file with comments | « no previous file | services/ui/ws/window_manager_state.h » ('j') | services/ui/ws/window_manager_state.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698