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

Unified Diff: ui/events/ozone/evdev/event_factory_evdev.h

Issue 689933004: Make OnDeviceEvent and OnDispatcherListChanged protected to allow overload. (Closed) Base URL: git://nuxepg2.fr.nds.com/CHROM/chromium-src.git@master
Patch Set: Created 6 years, 2 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 | « AUTHORS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/evdev/event_factory_evdev.h
diff --git a/ui/events/ozone/evdev/event_factory_evdev.h b/ui/events/ozone/evdev/event_factory_evdev.h
index 74585fc6b0d874986440be563ba7d81eaa7ef295..71f94c492f924d75976f5dc3876c803f2d1c7278 100644
--- a/ui/events/ozone/evdev/event_factory_evdev.h
+++ b/ui/events/ozone/evdev/event_factory_evdev.h
@@ -42,6 +42,15 @@ class EVENTS_OZONE_EVDEV_EXPORT EventFactoryEvdev : public DeviceEventObserver,
void WarpCursorTo(gfx::AcceleratedWidget widget,
const gfx::PointF& location);
+ protected:
+ // DeviceEventObserver overrides:
+ //
+ // Callback for device add (on UI thread).
+ virtual void OnDeviceEvent(const DeviceEvent& event) override;
+
+ // PlatformEventSource:
+ virtual void OnDispatcherListChanged() override;
+
private:
// Post a task to dispatch an event.
void PostUiEvent(scoped_ptr<Event> event);
@@ -59,14 +68,6 @@ class EVENTS_OZONE_EVDEV_EXPORT EventFactoryEvdev : public DeviceEventObserver,
int NextDeviceId();
- // DeviceEventObserver overrides:
- //
- // Callback for device add (on UI thread).
- virtual void OnDeviceEvent(const DeviceEvent& event) override;
-
- // PlatformEventSource:
- virtual void OnDispatcherListChanged() override;
-
// Owned per-device event converters (by path).
std::map<base::FilePath, EventConverterEvdev*> converters_;
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698