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 #ifndef UI_EVENTS_OZONE_DEVICE_EVENT_H_
6 #define UI_EVENTS_OZONE_DEVICE_EVENT_H_
8 #include "base/files/file_path.h"
9 #include "base/macros.h"
10 #include "ui/events/events_export.h"
14 class EVENTS_EXPORT DeviceEvent {
27 DeviceEvent(DeviceType type, ActionType action, const base::FilePath& path);
29 DeviceType device_type() const { return device_type_; }
30 ActionType action_type() const { return action_type_; }
31 base::FilePath path() const { return path_; }
34 DeviceType device_type_;
35 ActionType action_type_;
38 DISALLOW_COPY_AND_ASSIGN(DeviceEvent);
43 #endif // UI_EVENTS_OZONE_DEVICE_EVENT_H_