| Index: Source/modules/gamepad/NavigatorGamepad.h
|
| diff --git a/Source/modules/gamepad/NavigatorGamepad.h b/Source/modules/gamepad/NavigatorGamepad.h
|
| index 9144eccf53048671e56e53ac650fc3703c94bf27..eb68daed715d47a6eb3aae9174925fe4502b25aa 100644
|
| --- a/Source/modules/gamepad/NavigatorGamepad.h
|
| +++ b/Source/modules/gamepad/NavigatorGamepad.h
|
| @@ -28,6 +28,7 @@
|
|
|
| #include "heap/Handle.h"
|
| #include "platform/Supplementable.h"
|
| +#include "public/platform/WebGamepads.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -40,7 +41,9 @@ public:
|
| static NavigatorGamepad& from(Navigator&);
|
|
|
| static GamepadList* webkitGetGamepads(Navigator&);
|
| + static GamepadList* getGamepads(Navigator&);
|
|
|
| + GamepadList* webkitGamepads();
|
| GamepadList* gamepads();
|
|
|
| private:
|
| @@ -48,6 +51,7 @@ private:
|
| static const char* supplementName();
|
|
|
| RefPtrWillBePersistent<GamepadList> m_gamepads;
|
| + RefPtrWillBePersistent<GamepadList> m_webkitGamepads;
|
| };
|
|
|
| } // namespace WebCore
|
|
|