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

Unified Diff: webkit/plugins/ppapi/plugin_delegate.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: webkit/plugins/ppapi/plugin_delegate.h
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
index c45704e4fb6b4dc89b27d8dd986f5b681a421105..72f9e1e3b004a216556ca305f961e4081238457a 100644
--- a/webkit/plugins/ppapi/plugin_delegate.h
+++ b/webkit/plugins/ppapi/plugin_delegate.h
@@ -59,6 +59,7 @@ class PlatformCanvas;
namespace WebKit {
class WebFileChooserCompletion;
+class WebGamepads;
struct WebCursorInfo;
struct WebFileChooserParams;
}
@@ -514,6 +515,9 @@ class PluginDelegate {
// Determines if the browser entered fullscreen mode.
virtual bool IsInFullscreenMode() = 0;
+
+ // Retrieve current gamepad data.
+ virtual void SampleGamepads(WebKit::WebGamepads* data) = 0;
};
} // namespace ppapi

Powered by Google App Engine
This is Rietveld 408576698