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

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

Issue 2784663003: mus: Rename mojom::Cursor to mojom::CursorType. (Closed)
Patch Set: Created 3 years, 8 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 "services/ui/public/interfaces/cursor.mojom"; 8 import "services/ui/public/interfaces/cursor.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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 271
272 // Calls WindowTreeClient::RequestClose() on the embedded app at the 272 // Calls WindowTreeClient::RequestClose() on the embedded app at the
273 // specified window. 273 // specified window.
274 WmRequestClose(uint32 window_id); 274 WmRequestClose(uint32 window_id);
275 275
276 // Sets the frame decoration constants of the display the window manager is 276 // Sets the frame decoration constants of the display the window manager is
277 // associated with. 277 // associated with.
278 WmSetFrameDecorationValues(FrameDecorationValues values); 278 WmSetFrameDecorationValues(FrameDecorationValues values);
279 279
280 // Sets the cursor that the non-client areas of the window should use. 280 // Sets the cursor that the non-client areas of the window should use.
281 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id); 281 WmSetNonClientCursor(uint32 window_id, CursorType cursor_id);
282 282
283 // Response from WmCreateTopLevelWindow() informing the client of the id for 283 // Response from WmCreateTopLevelWindow() informing the client of the id for
284 // the new window. 284 // the new window.
285 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); 285 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id);
286 286
287 // See description in WindowManager::OnAccelerator(). |ack_id| is the value 287 // See description in WindowManager::OnAccelerator(). |ack_id| is the value
288 // that was passed to OnAccelerator(). If the accelerator is a pre-target 288 // that was passed to OnAccelerator(). If the accelerator is a pre-target
289 // handler and |event_result| is UNHANDLED, then |properties| is added to 289 // handler and |event_result| is UNHANDLED, then |properties| is added to
290 // the KeyEvent that is dispatched to the client with the focused window. 290 // the KeyEvent that is dispatched to the client with the focused window.
291 OnAcceleratorAck(uint32 ack_id, 291 OnAcceleratorAck(uint32 ack_id,
292 EventResult event_result, 292 EventResult event_result,
293 map<string, array<uint8>> properties); 293 map<string, array<uint8>> properties);
294 }; 294 };
OLDNEW
« no previous file with comments | « services/ui/public/interfaces/cursor.mojom ('k') | services/ui/public/interfaces/window_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698