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

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

Issue 945983002: Make ui::InputDeviceEventObserver provide a default implementation (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
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() {}
};
} // namespace ui
« no previous file with comments | « chrome/browser/chromeos/system/pointer_device_observer.h ('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