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

Unified Diff: components/mus/public/cpp/input_event_handler.h

Issue 1806703002: Use ui::Event instead of mojom::EventPtr in mus::InputEventHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: components/mus/public/cpp/input_event_handler.h
diff --git a/components/mus/public/cpp/input_event_handler.h b/components/mus/public/cpp/input_event_handler.h
index 597653ba3d487163b8ad607b19d68ca8f898a6d5..7dff5cfcf859d819e72f52edbe31213bf99f7f6e 100644
--- a/components/mus/public/cpp/input_event_handler.h
+++ b/components/mus/public/cpp/input_event_handler.h
@@ -6,7 +6,7 @@
#define COMPONENTS_MUS_PUBLIC_CPP_INPUT_EVENT_HANDLER_H_
#include "base/callback_forward.h"
-#include "components/mus/public/interfaces/input_events.mojom.h"
+#include "ui/events/event.h"
sky 2016/03/16 18:12:34 You should be able to forward declare the event.
Hadi 2016/03/16 18:46:44 Done.
namespace mus {
@@ -21,7 +21,7 @@ class InputEventHandler {
// the callback, then WindowTreeClientImpl will ack the event as not consumed.
virtual void OnWindowInputEvent(
Window* target,
- mojom::EventPtr event,
+ ui::Event* event,
sky 2016/03/16 18:12:34 const ui::Event&?
Hadi 2016/03/16 18:46:43 Done. This was infected from PlatformWindowDelegat
scoped_ptr<base::Callback<void(bool)>>* ack_callback) = 0;
protected:

Powered by Google App Engine
This is Rietveld 408576698