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

Unified Diff: services/ui/public/interfaces/window_manager.mojom

Issue 2520093003: WindowManagerClient::AddAccelerator() should take an array (Closed)
Patch Set: Forget to add these files to previous patch. Created 4 years, 1 month 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
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 80569d45c547444cf2af4e10e5fd3ec53519b48e..c0b01a2b14a5e5b7daf310a4efec1d8f13d290ea 100644
--- a/services/ui/public/interfaces/window_manager.mojom
+++ b/services/ui/public/interfaces/window_manager.mojom
@@ -138,6 +138,11 @@ interface WindowManager {
OnAccelerator(uint32 ack_id, uint32 accelerator_id, ui.mojom.Event event);
};
+struct AcceleratorEvent{
mfomitchev 2016/11/22 22:44:16 "AcceleratorEvent" implies to me "event that trigg
thanhph 2016/11/24 16:10:13 Done, I use AcceleratorTransport to avoid name con
+ uint32 id;
+ EventMatcher event_matcher;
+};
+
// This interface is only used as an associated interface and is associated
// with WindowTree.
interface WindowManagerClient {
@@ -164,7 +169,7 @@ interface WindowManagerClient {
// Accelerator ids 1 << 31 and above are reserved for internal use.
//
// See WindowTree for details on event dispatch.
- AddAccelerator(uint32 id, EventMatcher matcher) => (bool success);
+ AddAccelerator(array<AcceleratorEvent> multi_accelerators) => (bool success);
RemoveAccelerator(uint32 id);
// The window manager has completed a request with the specific change id.

Powered by Google App Engine
This is Rietveld 408576698