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

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

Issue 2761233003: Adds ability for accelerators to add key/value pairs to KeyEvent (Closed)
Patch Set: feedback and compile Created 3 years, 9 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
« no previous file with comments | « services/ui/demo/mus_demo_internal.cc ('k') | services/ui/ws/test_change_tracker.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "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
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 };
OLDNEW
« no previous file with comments | « services/ui/demo/mus_demo_internal.cc ('k') | services/ui/ws/test_change_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698