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

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

Issue 2830703003: [views-mus] Support custom cursors. (Closed)
Patch Set: fix cast_shell_linux Created 3 years, 7 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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 291
292 // Calls WindowTreeClient::RequestClose() on the embedded app at the 292 // Calls WindowTreeClient::RequestClose() on the embedded app at the
293 // specified window. 293 // specified window.
294 WmRequestClose(uint32 window_id); 294 WmRequestClose(uint32 window_id);
295 295
296 // Sets the frame decoration constants of the display the window manager is 296 // Sets the frame decoration constants of the display the window manager is
297 // associated with. 297 // associated with.
298 WmSetFrameDecorationValues(FrameDecorationValues values); 298 WmSetFrameDecorationValues(FrameDecorationValues values);
299 299
300 // Sets the cursor that the non-client areas of the window should use. 300 // Sets the cursor that the non-client areas of the window should use.
301 WmSetNonClientCursor(uint32 window_id, CursorType cursor_id); 301 WmSetNonClientCursor(uint32 window_id, CursorData cursor);
302 302
303 // Response from WmCreateTopLevelWindow() informing the client of the id for 303 // Response from WmCreateTopLevelWindow() informing the client of the id for
304 // the new window. 304 // the new window.
305 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); 305 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id);
306 306
307 // See description in WindowManager::OnAccelerator(). |ack_id| is the value 307 // See description in WindowManager::OnAccelerator(). |ack_id| is the value
308 // that was passed to OnAccelerator(). If the accelerator is a pre-target 308 // that was passed to OnAccelerator(). If the accelerator is a pre-target
309 // handler and |event_result| is UNHANDLED, then |properties| is added to 309 // handler and |event_result| is UNHANDLED, then |properties| is added to
310 // the KeyEvent that is dispatched to the client with the focused window. 310 // the KeyEvent that is dispatched to the client with the focused window.
311 OnAcceleratorAck(uint32 ack_id, 311 OnAcceleratorAck(uint32 ack_id,
312 EventResult event_result, 312 EventResult event_result,
313 map<string, array<uint8>> properties); 313 map<string, array<uint8>> properties);
314 }; 314 };
OLDNEW
« no previous file with comments | « services/ui/public/interfaces/cursor/cursor_struct_traits_unittest.cc ('k') | services/ui/public/interfaces/window_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698