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

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

Issue 302563003: Remove ENABLE_NEW_GAMEPAD_API #ifdefs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/modules/gamepad/GamepadCommon.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/gamepad/GamepadCommon.h
diff --git a/Source/modules/gamepad/GamepadCommon.h b/Source/modules/gamepad/GamepadCommon.h
index f935fe6fc74f9cd850960f1b1df414b34ce77c9e..9371a6a35680f7e82b580910f4dde33e80f22a05 100644
--- a/Source/modules/gamepad/GamepadCommon.h
+++ b/Source/modules/gamepad/GamepadCommon.h
@@ -54,11 +54,7 @@ public:
void setMapping(const String& val) { m_mapping = val; }
const DoubleVector& axes() const { return m_axes; }
-#if defined(ENABLE_NEW_GAMEPAD_API)
void setAxes(unsigned count, const double* data);
-#else
- void setAxes(unsigned count, const float* data);
-#endif
protected:
String m_id;
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/modules/gamepad/GamepadCommon.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698