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

Unified Diff: Source/modules/gamepad/WebKitGamepadList.h

Issue 806993002: Removed deprecated navigator.webkitGetGamepads. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Missed one layout test expectations update Created 6 years 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
« no previous file with comments | « Source/modules/gamepad/WebKitGamepad.idl ('k') | Source/modules/gamepad/WebKitGamepadList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/gamepad/WebKitGamepadList.h
diff --git a/Source/modules/gamepad/WebKitGamepadList.h b/Source/modules/gamepad/WebKitGamepadList.h
deleted file mode 100644
index 5a5a0244a2503ea68979577e802c4b791e96ed4f..0000000000000000000000000000000000000000
--- a/Source/modules/gamepad/WebKitGamepadList.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef WebKitGamepadList_h
-#define WebKitGamepadList_h
-
-#include "bindings/core/v8/ScriptWrappable.h"
-#include "modules/gamepad/WebKitGamepad.h"
-#include "platform/heap/Handle.h"
-#include "public/platform/WebGamepads.h"
-
-namespace blink {
-
-class WebKitGamepadList final : public GarbageCollected<WebKitGamepadList>, public ScriptWrappable {
- DEFINE_WRAPPERTYPEINFO();
-public:
- static WebKitGamepadList* create()
- {
- return new WebKitGamepadList;
- }
-
- void set(unsigned index, WebKitGamepad*);
- WebKitGamepad* item(unsigned index);
- unsigned length() const { return WebGamepads::itemsLengthCap; }
-
- void trace(Visitor*);
-
-private:
- WebKitGamepadList();
- Member<WebKitGamepad> m_items[WebGamepads::itemsLengthCap];
-};
-
-} // namespace blink
-
-#endif // WebKitGamepadList_h
« no previous file with comments | « Source/modules/gamepad/WebKitGamepad.idl ('k') | Source/modules/gamepad/WebKitGamepadList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698