Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(935)

Unified Diff: third_party/WebKit/Source/modules/gamepad/GamepadPose.h

Issue 2808093006: [Device Service] Move Gamepad Blink headers to be part of the Gamepad client library (Closed)
Patch Set: rebase and address comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/gamepad/GamepadPose.h
diff --git a/third_party/WebKit/Source/modules/gamepad/GamepadPose.h b/third_party/WebKit/Source/modules/gamepad/GamepadPose.h
index e40b4d0eb1cd41ce77f9b2c04068fc8c24a7cf6c..9f48783cadcc0946165556ec9e6cda2849738cd6 100644
--- a/third_party/WebKit/Source/modules/gamepad/GamepadPose.h
+++ b/third_party/WebKit/Source/modules/gamepad/GamepadPose.h
@@ -7,9 +7,9 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/dom/DOMTypedArray.h"
+#include "device/gamepad/public/cpp/gamepad.h"
#include "platform/heap/Handle.h"
#include "platform/wtf/Forward.h"
-#include "public/platform/WebGamepad.h"
namespace blink {
@@ -30,7 +30,7 @@ class GamepadPose final : public GarbageCollected<GamepadPose>,
DOMFloat32Array* angularAcceleration() const { return angular_acceleration_; }
DOMFloat32Array* linearAcceleration() const { return linear_acceleration_; }
- void SetPose(const WebGamepadPose& state);
+ void SetPose(const device::GamepadPose& state);
DECLARE_VIRTUAL_TRACE();
« no previous file with comments | « third_party/WebKit/Source/modules/gamepad/GamepadList.cpp ('k') | third_party/WebKit/Source/modules/gamepad/GamepadPose.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698