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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/input/CanonicalButtonIndex.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/CanonicalButtonIndex.template
diff --git a/content/public/android/java/src/org/chromium/content/browser/input/CanonicalButtonIndex.template b/content/public/android/java/src/org/chromium/content/browser/input/CanonicalButtonIndex.template
new file mode 100644
index 0000000000000000000000000000000000000000..fc28f9ce2b3230891d87e8b9da5274f51227b87b
--- /dev/null
+++ b/content/public/android/java/src/org/chromium/content/browser/input/CanonicalButtonIndex.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 CanonicalButtonIndex {
+#define CANONICAL_BUTTON_INDEX(name, value) public static final int name = value;
+#include "content/browser/gamepad/canonical_button_index_list.h"
+}

Powered by Google App Engine
This is Rietveld 408576698