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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/input/CanonicalAxisIndex.template

Issue 133943002: Gamepad API support for chrome on android (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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
Index: content/public/android/java/src/org/chromium/content/browser/input/CanonicalAxisIndex.template
diff --git a/content/public/android/java/src/org/chromium/content/browser/input/CanonicalAxisIndex.template b/content/public/android/java/src/org/chromium/content/browser/input/CanonicalAxisIndex.template
new file mode 100644
index 0000000000000000000000000000000000000000..81520562779290eee25d169aafd0b1da2c8eea1c
--- /dev/null
+++ b/content/public/android/java/src/org/chromium/content/browser/input/CanonicalAxisIndex.template
@@ -0,0 +1,10 @@
+// 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.
+
+package org.chromium.content.browser.input;
+
+public class CanonicalAxisIndex {
+#define CANONICAL_AXIS_INDEX(name, value) public static final int name = value;
+#include "content/browser/gamepad/canonical_axis_index_list.h"
+}

Powered by Google App Engine
This is Rietveld 408576698