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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/interfaces/window_manager.mojom
diff --git a/services/ui/public/interfaces/window_manager.mojom b/services/ui/public/interfaces/window_manager.mojom
index b12905834ffe0eef6781c2dc1de5222c3203e557..63eb96ffc580df31cf3d4953524e252dbf32e27e 100644
--- a/services/ui/public/interfaces/window_manager.mojom
+++ b/services/ui/public/interfaces/window_manager.mojom
@@ -264,6 +264,10 @@ interface WindowManagerClient {
OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id);
// See description in WindowManager::OnAccelerator(). |ack_id| is the value
- // that was passed to OnAccelerator().
- OnAcceleratorAck(uint32 ack_id, EventResult event_result);
+ // that was passed to OnAccelerator(). If the accelerator is a pre-target
+ // handler and |event_result| is UNHANDLED, then |properties| is added to
+ // the KeyEvent that is dispatched to the client with the focused window.
+ OnAcceleratorAck(uint32 ack_id,
+ EventResult event_result,
+ map<string, array<uint8>> properties);
};
« 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