Decouple GamepadSharedMemoryReader from RendererGamepadProvider
This change prepares GamepadSharedMemoryReader for the move to blink by removing its inheritance from RendererGamepadProvider and moving listener-related logic to GamepadSharedMemeoryReader. Since the GamepadSharedMemoryReader instance can no longer be stored in RendererBlinkPlatformImpl::platform_event_observers_, a separate variable has been added temporarily that will be moved to GamepadDispatcher along with the logic when the GamepadSharedMemoryReader class is moved to blink. Bug: 612330 Change-Id: I4a6e2dd1af5afb52f7f6a980eb8aace7642426ac Reviewed-on: https://chromium-review.googlesource.com/1096349 Commit-Queue: Oksana Zhuravlova <oksamyt@chromium.org> Reviewed-by:Reilly Grant <reillyg@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#567091}
Showing
Please register or sign in to comment