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

Unified Diff: mash/app_driver/app_driver.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: todo comments + reorganize files 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
Index: mash/app_driver/app_driver.cc
diff --git a/mash/app_driver/app_driver.cc b/mash/app_driver/app_driver.cc
index a676c73b03a6cc1f38fbdfcd89ba98ae0e218409..bca1280df2f7160db955ece2978f57d306807450 100644
--- a/mash/app_driver/app_driver.cc
+++ b/mash/app_driver/app_driver.cc
@@ -102,7 +102,8 @@ bool AppDriver::ShellConnectionLost() {
return true;
}
-void AppDriver::OnAccelerator(uint32_t id, mus::mojom::EventPtr event) {
+void AppDriver::OnAccelerator(uint32_t id,
+ const std::unique_ptr<ui::Event>& event) {
struct LaunchOptions {
uint32_t option;
const char* app;

Powered by Google App Engine
This is Rietveld 408576698