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

Unified Diff: services/ui/ws/window_manager_state.h

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/ws/window_manager_client_unittest.cc ('k') | services/ui/ws/window_manager_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_manager_state.h
diff --git a/services/ui/ws/window_manager_state.h b/services/ui/ws/window_manager_state.h
index 67a343b533682225d4be403a8927ac0256fdc171..108fd1040578a5a128969d220c92e647ebcd12e5 100644
--- a/services/ui/ws/window_manager_state.h
+++ b/services/ui/ws/window_manager_state.h
@@ -9,6 +9,8 @@
#include <memory>
#include <queue>
+#include <string>
+#include <unordered_map>
#include <vector>
#include "base/memory/weak_ptr.h"
@@ -100,7 +102,9 @@ class WindowManagerState : public EventDispatcherDelegate,
void OnEventAck(mojom::WindowTree* tree, mojom::EventResult result);
// Called when the WindowManager acks an accelerator.
- void OnAcceleratorAck(mojom::EventResult result);
+ void OnAcceleratorAck(
+ mojom::EventResult result,
+ const std::unordered_map<std::string, std::vector<uint8_t>>& properties);
private:
class ProcessedEventTarget;
« no previous file with comments | « services/ui/ws/window_manager_client_unittest.cc ('k') | services/ui/ws/window_manager_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698