Chromium Code Reviews| Index: ui/events/devices/input_device_event_observer.h |
| diff --git a/ui/events/devices/input_device_event_observer.h b/ui/events/devices/input_device_event_observer.h |
| index 707fea2095d6cf2d40675aba9cfcd4d5500716dc..a4b5ac99488ae0fcfdbd70cdc09438acc3a694ed 100644 |
| --- a/ui/events/devices/input_device_event_observer.h |
| +++ b/ui/events/devices/input_device_event_observer.h |
| @@ -12,12 +12,13 @@ namespace ui { |
| // DeviceDataManager observer used to announce input hotplug events. |
| class EVENTS_DEVICES_EXPORT InputDeviceEventObserver { |
| public: |
| - virtual ~InputDeviceEventObserver() {} |
| + virtual void OnKeyboardDeviceConfigurationChanged() {} |
| + virtual void OnTouchscreenDeviceConfigurationChanged() {} |
| + virtual void OnMouseDeviceConfigurationChanged() {} |
| + virtual void OnTouchpadDeviceConfigurationChanged() {} |
| - virtual void OnKeyboardDeviceConfigurationChanged() = 0; |
| - virtual void OnTouchscreenDeviceConfigurationChanged() = 0; |
| - virtual void OnMouseDeviceConfigurationChanged() = 0; |
| - virtual void OnTouchpadDeviceConfigurationChanged() = 0; |
| + protected: |
| + virtual ~InputDeviceEventObserver() {} |
|
sadrul
2015/02/20 20:12:27
I think this should remain public. Maybe make the
pkotwicz
2015/02/20 21:22:50
Ok, I've made the destructor public!
We seem to m
sadrul
2015/02/23 17:02:52
I think the point of making the dtor protected is
|
| }; |
| } // namespace ui |