| Index: webkit/plugins/ppapi/event_conversion.h
|
| diff --git a/webkit/plugins/ppapi/event_conversion.h b/webkit/plugins/ppapi/event_conversion.h
|
| index b9b400416118b72d826c67f01c72ad1ff2f3c130..573e5b6e042cff0c91022b5d0df140652f5f9906 100644
|
| --- a/webkit/plugins/ppapi/event_conversion.h
|
| +++ b/webkit/plugins/ppapi/event_conversion.h
|
| @@ -8,6 +8,7 @@
|
| #include <vector>
|
|
|
| #include "base/memory/linked_ptr.h"
|
| +#include "ppapi/c/dev/ppb_gamepad_dev.h"
|
| #include "ppapi/c/ppb_input_event.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
|
|
|
| @@ -18,6 +19,7 @@ struct InputEventData;
|
| }
|
|
|
| namespace WebKit {
|
| +class WebGamepads;
|
| class WebInputEvent;
|
| }
|
|
|
| @@ -47,6 +49,11 @@ std::vector<linked_ptr<WebKit::WebInputEvent> > CreateSimulatedWebInputEvents(
|
| // type should not be "Undefined" since there's no corresponding PPAPI class.
|
| PP_InputEvent_Class ClassifyInputEvent(WebKit::WebInputEvent::Type type);
|
|
|
| +// Translate from WebGamepads to the Gamepad API format
|
| +// PP_GamepadsSampleData_Dev.
|
| +void ConvertWebKitGamepadData(WebKit::WebGamepads& webkit_data,
|
| + PP_GamepadsSampleData_Dev* output_data);
|
| +
|
| } // namespace ppapi
|
| } // namespace webkit
|
|
|
|
|