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

Unified Diff: Source/modules/gamepad/WebKitGamepad.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/NavigatorGamepad.idl ('k') | Source/modules/gamepad/WebKitGamepad.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/gamepad/WebKitGamepad.h
diff --git a/Source/modules/gamepad/WebKitGamepad.h b/Source/modules/gamepad/WebKitGamepad.h
deleted file mode 100644
index 1bf7333f9f0eaebf5cf78c7bdef1dbacecb45b7d..0000000000000000000000000000000000000000
--- a/Source/modules/gamepad/WebKitGamepad.h
+++ /dev/null
@@ -1,38 +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 WebKitGamepad_h
-#define WebKitGamepad_h
-
-#include "bindings/core/v8/ScriptWrappable.h"
-#include "modules/gamepad/GamepadCommon.h"
-#include "platform/heap/Handle.h"
-#include "wtf/Vector.h"
-
-namespace blink {
-
-class WebKitGamepad final : public GarbageCollectedFinalized<WebKitGamepad>, public GamepadCommon, public ScriptWrappable {
- DEFINE_WRAPPERTYPEINFO();
-public:
- static WebKitGamepad* create()
- {
- return new WebKitGamepad();
- }
- ~WebKitGamepad();
-
- typedef Vector<float> FloatVector;
-
- const FloatVector& buttons() const { return m_buttons; }
- void setButtons(unsigned count, const WebGamepadButton* data);
-
- void trace(Visitor*) { }
-
-private:
- WebKitGamepad();
- FloatVector m_buttons;
-};
-
-} // namespace blink
-
-#endif // WebKitGamepad_h
« no previous file with comments | « Source/modules/gamepad/NavigatorGamepad.idl ('k') | Source/modules/gamepad/WebKitGamepad.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698