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

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

Issue 183313003: Added non-prefixed navigator.getGamepads() with updated API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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: Source/modules/gamepad/GamepadList.h
diff --git a/Source/modules/gamepad/GamepadList.h b/Source/modules/gamepad/GamepadList.h
index 78c7e75a5e1e3fcdb79e0543b58c76d1988d5191..404728f7b6f81d82fc8373260e78a56dd0c21df1 100644
--- a/Source/modules/gamepad/GamepadList.h
+++ b/Source/modules/gamepad/GamepadList.h
@@ -42,6 +42,7 @@ public:
void set(unsigned index, PassRefPtrWillBeRawPtr<Gamepad>);
Gamepad* item(unsigned index);
+
unsigned length() const;
void trace(Visitor*);

Powered by Google App Engine
This is Rietveld 408576698