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

Unified Diff: ash/mus/accelerator_registrar_unittest.cc

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 | « ash/mus/accelerator_registrar_impl.cc ('k') | ash/mus/window_manager_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/accelerator_registrar_unittest.cc
diff --git a/ash/mus/accelerator_registrar_unittest.cc b/ash/mus/accelerator_registrar_unittest.cc
index aee5d52150224d27a73526dcb36ad6cdcfe36506..180eff8428769fc14033d63ba4a6f734ed7104ee 100644
--- a/ash/mus/accelerator_registrar_unittest.cc
+++ b/ash/mus/accelerator_registrar_unittest.cc
@@ -56,7 +56,7 @@ class TestAcceleratorHandler : public AcceleratorHandler {
}
// AcceleratorHandler:
- void OnAccelerator(uint32_t id, ::mus::mojom::EventPtr event) override {}
+ void OnAccelerator(uint32_t id, std::unique_ptr<ui::Event> event) override {}
std::set<uint32_t> installed_accelerators_;
std::unique_ptr<base::RunLoop> run_loop_;
« no previous file with comments | « ash/mus/accelerator_registrar_impl.cc ('k') | ash/mus/window_manager_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698