Currently the Gamepad implementation and Blink client share common Blink headers:
third_party/WebKit/public/platform/WebGamepad.h
third_party/WebKit/public/platform/WebGamepads.h
However, the Device Service implementation should not depend on Blink. Thus, to complete the servicification of Gamepad, the structs and types in these headers should be moved to be defined in mojom rather than being C++ headers in Blink.
Comment 1 by dtapu...@chromium.org
, Mar 2 2017