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

Unified Diff: services/ui/demo/mus_demo_internal.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 | « ash/mus/window_manager.cc ('k') | services/ui/demo/mus_demo_internal.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/demo/mus_demo_internal.h
diff --git a/services/ui/demo/mus_demo_internal.h b/services/ui/demo/mus_demo_internal.h
index ee93d5e38840d8e148e4fa14aa908b14b0e58451..4b6ecfddfe4a2cc89a0eee0a3112b516e2c79c19 100644
--- a/services/ui/demo/mus_demo_internal.h
+++ b/services/ui/demo/mus_demo_internal.h
@@ -47,8 +47,10 @@ class MusDemoInternal : public MusDemo, public aura::WindowManagerDelegate {
const display::Display& display) final;
void OnWmDisplayRemoved(aura::WindowTreeHostMus* window_tree_host) final;
void OnWmDisplayModified(const display::Display& display) final;
- ui::mojom::EventResult OnAccelerator(uint32_t id,
- const ui::Event& event) final;
+ ui::mojom::EventResult OnAccelerator(
+ uint32_t id,
+ const ui::Event& event,
+ std::unordered_map<std::string, std::vector<uint8_t>>* properties) final;
void OnWmPerformMoveLoop(aura::Window* window,
ui::mojom::MoveLoopSource source,
const gfx::Point& cursor_location,
« no previous file with comments | « ash/mus/window_manager.cc ('k') | services/ui/demo/mus_demo_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698