1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ui/events/ozone/evdev/event_converter_evdev.h"
7 #include "ui/events/event.h"
11 EventConverterEvdev::EventConverterEvdev() {}
13 EventConverterEvdev::EventConverterEvdev(const EventDispatchCallback
& callback
)
14 : dispatch_callback_(callback
) {}
16 EventConverterEvdev::~EventConverterEvdev() {}
18 void EventConverterEvdev::DispatchEventToCallback(ui::Event
* event
) {
19 dispatch_callback_
.Run(event
);