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

Unified Diff: ui/events/ozone/evdev/event_converter_evdev_impl.h

Issue 872683006: [PATCH 3/11] ozone: evdev: Move MouseButtonMap usage during dispatch to EventFactoryEvdev (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update per comments on previous patches Created 5 years, 11 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 | ui/events/ozone/evdev/event_converter_evdev_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/evdev/event_converter_evdev_impl.h
diff --git a/ui/events/ozone/evdev/event_converter_evdev_impl.h b/ui/events/ozone/evdev/event_converter_evdev_impl.h
index 50d4dfd5e6ba6e6e05635b2b0c0bc0c7417b3032..160266821cf78dfec03f9af6d42e5bd72b132732 100644
--- a/ui/events/ozone/evdev/event_converter_evdev_impl.h
+++ b/ui/events/ozone/evdev/event_converter_evdev_impl.h
@@ -26,16 +26,17 @@ namespace ui {
class EVENTS_OZONE_EVDEV_EXPORT EventConverterEvdevImpl
: public EventConverterEvdev {
public:
- EventConverterEvdevImpl(int fd,
- base::FilePath path,
- int id,
- InputDeviceType type,
- const EventDeviceInfo& info,
- EventModifiersEvdev* modifiers,
- MouseButtonMapEvdev* button_map,
- CursorDelegateEvdev* cursor,
- const KeyEventDispatchCallback& key_callback,
- const EventDispatchCallback& callback);
+ EventConverterEvdevImpl(
+ int fd,
+ base::FilePath path,
+ int id,
+ InputDeviceType type,
+ const EventDeviceInfo& info,
+ EventModifiersEvdev* modifiers,
+ CursorDelegateEvdev* cursor,
+ const KeyEventDispatchCallback& key_callback,
+ const MouseMoveEventDispatchCallback& mouse_move_callback,
+ const MouseButtonEventDispatchCallback& mouse_button_callback);
~EventConverterEvdevImpl() override;
// EventConverterEvdev:
@@ -81,12 +82,10 @@ class EVENTS_OZONE_EVDEV_EXPORT EventConverterEvdevImpl
// Modifier key state (shift, ctrl, etc).
EventModifiersEvdev* modifiers_;
- // Shared mouse button map.
- MouseButtonMapEvdev* button_map_;
-
// Callbacks for dispatching events.
KeyEventDispatchCallback key_callback_;
- EventDispatchCallback callback_;
+ MouseMoveEventDispatchCallback mouse_move_callback_;
+ MouseButtonEventDispatchCallback mouse_button_callback_;
DISALLOW_COPY_AND_ASSIGN(EventConverterEvdevImpl);
};
« no previous file with comments | « no previous file | ui/events/ozone/evdev/event_converter_evdev_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698