Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / ui / events / ozone / evdev / event_converter_evdev.cc
blob7db1cd0b921444ba83762ee708cb02ec133d27f1
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"
9 namespace ui {
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);
22 } // namespace ui