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

Unified Diff: ash/mus/accelerator_registrar_impl.h

Issue 1939133002: StructTraits to map mus::mojom::Event to unique_ptr<ui::Event> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed feedback. Created 4 years, 6 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 | « no previous file | ash/mus/accelerator_registrar_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/accelerator_registrar_impl.h
diff --git a/ash/mus/accelerator_registrar_impl.h b/ash/mus/accelerator_registrar_impl.h
index 2c52d455c452c68b83616f3b3b0c511a3dad361c..695cca714be73263645cba19e11c5c2aedf859e9 100644
--- a/ash/mus/accelerator_registrar_impl.h
+++ b/ash/mus/accelerator_registrar_impl.h
@@ -40,8 +40,7 @@ class AcceleratorRegistrarImpl : public ::mus::mojom::AcceleratorRegistrar,
// specified id.
bool OwnsAccelerator(uint32_t accelerator_id) const;
- void ProcessAccelerator(uint32_t accelerator_id,
- ::mus::mojom::EventPtr event);
+ void ProcessAccelerator(uint32_t accelerator_id, const ui::Event& event);
private:
struct Accelerator;
« no previous file with comments | « no previous file | ash/mus/accelerator_registrar_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698