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

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: remove hardcoded size assert in favour of matching webkit size assert Created 8 years, 11 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 | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/plugin_delegate.h
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
index af93ec8deb5a49be1ff35fc83499b7f53edab761..3eb1b8dc1d57ff3236d9d505c6f0a5a0b7f672c6 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;
}
@@ -515,6 +516,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;
+
// Returns true if the containing page is visible.
virtual bool IsPageVisible() const = 0;
};
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698