| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ui/events/ozone/device/udev/device_manager_udev.h" | 5 #include "ui/events/ozone/device/udev/device_manager_udev.h" |
| 6 | 6 |
| 7 #include "base/debug/trace_event.h" | |
| 8 #include "base/strings/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
| 8 #include "base/trace_event/trace_event.h" |
| 9 #include "ui/events/ozone/device/device_event.h" | 9 #include "ui/events/ozone/device/device_event.h" |
| 10 #include "ui/events/ozone/device/device_event_observer.h" | 10 #include "ui/events/ozone/device/device_event_observer.h" |
| 11 | 11 |
| 12 namespace ui { | 12 namespace ui { |
| 13 | 13 |
| 14 namespace { | 14 namespace { |
| 15 | 15 |
| 16 const char* const kSubsystems[] = { | 16 const char* const kSubsystems[] = { |
| 17 "input", | 17 "input", |
| 18 "drm", | 18 "drm", |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 else if (!strcmp(action, "change")) | 178 else if (!strcmp(action, "change")) |
| 179 action_type = DeviceEvent::CHANGE; | 179 action_type = DeviceEvent::CHANGE; |
| 180 else | 180 else |
| 181 return nullptr; | 181 return nullptr; |
| 182 | 182 |
| 183 return make_scoped_ptr( | 183 return make_scoped_ptr( |
| 184 new DeviceEvent(device_type, action_type, base::FilePath(path))); | 184 new DeviceEvent(device_type, action_type, base::FilePath(path))); |
| 185 } | 185 } |
| 186 | 186 |
| 187 } // namespace ui | 187 } // namespace ui |
| OLD | NEW |