OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #ifndef UI_EVENTS_INPUT_DEVICE_EVENT_OBSERVER_H_ | |
6 #define UI_EVENTS_INPUT_DEVICE_EVENT_OBSERVER_H_ | |
7 | |
8 #include "ui/events/events_base_export.h" | |
9 | |
10 namespace ui { | |
11 | |
12 // DeviceDataManager observer used to announce input hotplug events. | |
13 class EVENTS_BASE_EXPORT InputDeviceEventObserver { | |
14 public: | |
15 virtual ~InputDeviceEventObserver() {} | |
16 | |
17 virtual void OnKeyboardDeviceConfigurationChanged() = 0; | |
18 virtual void OnTouchscreenDeviceConfigurationChanged() = 0; | |
19 }; | |
20 | |
21 } // namespace ui | |
22 | |
23 #endif // UI_EVENTS_INPUT_DEVICE_EVENT_OBSERVER_H_ | |
OLD | NEW |