Decouple DeviceSensorEventPump from PlatformEventObserver
This changes prepares DeviceSensorEventPump and its subclasses for the move to blink by removing the inheritance of DeviceSensorEventPump from PlatformEventObserver and moving listener-related logic to DeviceSensorEventPump. Since Device*EventPump instances can no longer be stored in RendererBlinkPlatformImpl::platform_event_observers_, separate variables have been added temporarily that will be moved to appropriate Device*Dispatcher classes along with the logic when Device*EventPump classes are moved to blink. Bug: 850997 Change-Id: Iedf23e368adb9180091d094146306330987bcf9c Reviewed-on: https://chromium-review.googlesource.com/1091275 Commit-Queue: Oksana Zhuravlova <oksamyt@chromium.org> Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Tim Volodine <timvolodine@chromium.org> Reviewed-by:
Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#566706}
Showing
Please register or sign in to comment