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

Unified Diff: third_party/WebKit/Source/modules/gamepad/Gamepad.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/Gamepad.h
diff --git a/third_party/WebKit/Source/modules/gamepad/Gamepad.h b/third_party/WebKit/Source/modules/gamepad/Gamepad.h
index 623d06e79349eea5f4d9012f0d47526daff4e247..0b1895965f34a7f14cb25882d05d4510233c9565 100644
--- a/third_party/WebKit/Source/modules/gamepad/Gamepad.h
+++ b/third_party/WebKit/Source/modules/gamepad/Gamepad.h
@@ -27,12 +27,12 @@
#define Gamepad_h
#include "bindings/core/v8/ScriptWrappable.h"
+#include "device/gamepad/public/cpp/gamepad.h"
#include "modules/gamepad/GamepadButton.h"
#include "modules/gamepad/GamepadPose.h"
#include "platform/heap/Handle.h"
#include "platform/wtf/Vector.h"
#include "platform/wtf/text/WTFString.h"
-#include "public/platform/WebGamepad.h"
namespace blink {
@@ -65,13 +65,13 @@ class Gamepad final : public GarbageCollectedFinalized<Gamepad>,
void SetAxes(unsigned count, const double* data);
const GamepadButtonVector& buttons() const { return buttons_; }
- void SetButtons(unsigned count, const WebGamepadButton* data);
+ void SetButtons(unsigned count, const device::GamepadButton* data);
GamepadPose* pose() const { return pose_; }
- void SetPose(const WebGamepadPose&);
+ void SetPose(const device::GamepadPose&);
const String& hand() const { return hand_; }
- void SetHand(const WebGamepadHand&);
+ void SetHand(const device::GamepadHand&);
unsigned displayId() const { return display_id_; }
void SetDisplayId(unsigned val) { display_id_ = val; }
« no previous file with comments | « third_party/WebKit/Source/modules/gamepad/DEPS ('k') | third_party/WebKit/Source/modules/gamepad/Gamepad.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698