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

Unified Diff: third_party/WebKit/Source/modules/gamepad/GamepadList.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/GamepadList.h
diff --git a/third_party/WebKit/Source/modules/gamepad/GamepadList.h b/third_party/WebKit/Source/modules/gamepad/GamepadList.h
index df484683d0b9b85fb117ad7a0465ec0469aa7ebe..31e4f7e2302fff1aa2d0a2b98f6096b08843f67c 100644
--- a/third_party/WebKit/Source/modules/gamepad/GamepadList.h
+++ b/third_party/WebKit/Source/modules/gamepad/GamepadList.h
@@ -27,9 +27,9 @@
#define GamepadList_h
#include "bindings/core/v8/ScriptWrappable.h"
+#include "device/gamepad/public/cpp/gamepads.h"
#include "modules/gamepad/Gamepad.h"
#include "platform/heap/Handle.h"
-#include "public/platform/WebGamepads.h"
namespace blink {
@@ -42,13 +42,13 @@ class GamepadList final : public GarbageCollected<GamepadList>,
void Set(unsigned index, Gamepad*);
Gamepad* item(unsigned index);
- unsigned length() const { return WebGamepads::kItemsLengthCap; }
+ unsigned length() const { return device::Gamepads::kItemsLengthCap; }
DECLARE_TRACE();
private:
GamepadList();
- Member<Gamepad> items_[WebGamepads::kItemsLengthCap];
+ Member<Gamepad> items_[device::Gamepads::kItemsLengthCap];
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698