Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(442)

Unified Diff: ui/events/devices/input_device_event_observer.h

Issue 946173002: Make PointerDeviceObserver use ui::InputDeviceEventObserver on X11 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/devices/device_data_manager.cc ('k') | ui/events/devices/x11/device_data_manager_x11_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..4a2d55399e6e20304d70dfe9de79ea21aec58b33 100644
--- a/ui/events/devices/input_device_event_observer.h
+++ b/ui/events/devices/input_device_event_observer.h
@@ -14,10 +14,13 @@ class EVENTS_DEVICES_EXPORT InputDeviceEventObserver {
public:
virtual ~InputDeviceEventObserver() {}
- virtual void OnKeyboardDeviceConfigurationChanged() = 0;
- virtual void OnTouchscreenDeviceConfigurationChanged() = 0;
- virtual void OnMouseDeviceConfigurationChanged() = 0;
- virtual void OnTouchpadDeviceConfigurationChanged() = 0;
+ virtual void OnKeyboardDeviceConfigurationChanged() {}
+ virtual void OnTouchscreenDeviceConfigurationChanged() {}
+ virtual void OnMouseDeviceConfigurationChanged() {}
+ virtual void OnTouchpadDeviceConfigurationChanged() {}
+
+ protected:
+ InputDeviceEventObserver() {}
};
sadrul 2015/03/02 16:51:26 These changes have already landed in a separate CL
} // namespace ui
« no previous file with comments | « ui/events/devices/device_data_manager.cc ('k') | ui/events/devices/x11/device_data_manager_x11_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698