| Index: third_party/WebKit/Source/modules/gamepad/Gamepad.h
|
| diff --git a/third_party/WebKit/Source/modules/gamepad/Gamepad.h b/third_party/WebKit/Source/modules/gamepad/Gamepad.h
|
| index b9ac12c8f19f75e5612e7d73bf6ca6d113e6630b..51156f29a17138d1e0eef1172ca43fca2fdd5b44 100644
|
| --- a/third_party/WebKit/Source/modules/gamepad/Gamepad.h
|
| +++ b/third_party/WebKit/Source/modules/gamepad/Gamepad.h
|
| @@ -28,6 +28,7 @@
|
|
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "modules/gamepad/GamepadButton.h"
|
| +#include "modules/gamepad/GamepadPose.h"
|
| #include "platform/heap/Handle.h"
|
| #include "public/platform/WebGamepad.h"
|
| #include "wtf/Vector.h"
|
| @@ -67,6 +68,9 @@ public:
|
| const GamepadButtonVector& buttons() const { return m_buttons; }
|
| void setButtons(unsigned count, const WebGamepadButton* data);
|
|
|
| + GamepadPose* pose() const { return m_pose; }
|
| + void setPose(const WebGamepadPose&);
|
| +
|
| DECLARE_TRACE();
|
|
|
| private:
|
| @@ -79,6 +83,7 @@ private:
|
| String m_mapping;
|
| DoubleVector m_axes;
|
| GamepadButtonVector m_buttons;
|
| + Member<GamepadPose> m_pose;
|
| };
|
|
|
| } // namespace blink
|
|
|