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

Unified Diff: ppapi/cpp/dev/gamepad_dev.h

Issue 9085027: Pepper gamepad support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix example Created 8 years, 12 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: ppapi/cpp/dev/gamepad_dev.h
diff --git a/ppapi/cpp/dev/gamepad_dev.h b/ppapi/cpp/dev/gamepad_dev.h
new file mode 100644
index 0000000000000000000000000000000000000000..19c269b2d79e31e6e74e129c5428b5b00e198184
--- /dev/null
+++ b/ppapi/cpp/dev/gamepad_dev.h
@@ -0,0 +1,28 @@
+// Copyright (c) 2011 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 PPAPI_CPP_GAMEPAD_DEV_H_
+#define PPAPI_CPP_GAMEPAD_DEV_H_
+
+struct PP_GamepadsData_Dev;
+
+namespace pp {
+
+class Instance;
+
+class Gamepad {
+ public:
+ Gamepad(Instance* instance);
brettw 2012/01/05 22:50:04 This class doesn't actually do anything. Normally
scottmg 2012/01/06 00:54:21 Nuked.
+ virtual ~Gamepad();
+
+ // PPB_Gamepad methods.
+ bool SampleGamepads(PP_GamepadsData_Dev* data);
+
+ private:
+ Instance* instance_;
+};
+
+} // namespace pp
+
+#endif // PPAPI_CPP_GAMEPAD_DEV_H_

Powered by Google App Engine
This is Rietveld 408576698