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

Side by Side Diff: webkit/plugins/ppapi/event_conversion.h

Issue 9566022: Rename NaCl/pepper gamepad interface from _dev to stable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/thunk/ppb_instance_api.h ('k') | webkit/plugins/ppapi/event_conversion.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_PLUGINS_PPAPI_EVENT_CONVERSION_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_EVENT_CONVERSION_H_
6 #define WEBKIT_PLUGINS_PPAPI_EVENT_CONVERSION_H_ 6 #define WEBKIT_PLUGINS_PPAPI_EVENT_CONVERSION_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/linked_ptr.h" 10 #include "base/memory/linked_ptr.h"
11 #include "ppapi/c/dev/ppb_gamepad_dev.h" 11 #include "ppapi/c/ppb_gamepad.h"
12 #include "ppapi/c/ppb_input_event.h" 12 #include "ppapi/c/ppb_input_event.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
14 14
15 struct PP_InputEvent; 15 struct PP_InputEvent;
16 16
17 namespace ppapi { 17 namespace ppapi {
18 struct InputEventData; 18 struct InputEventData;
19 } 19 }
20 20
21 namespace WebKit { 21 namespace WebKit {
(...skipping 21 matching lines...) Expand all
43 std::vector<linked_ptr<WebKit::WebInputEvent> > CreateSimulatedWebInputEvents( 43 std::vector<linked_ptr<WebKit::WebInputEvent> > CreateSimulatedWebInputEvents(
44 const ::ppapi::InputEventData& event, 44 const ::ppapi::InputEventData& event,
45 int plugin_x, 45 int plugin_x,
46 int plugin_y); 46 int plugin_y);
47 47
48 // Returns the PPAPI event class for the given WebKit event type. The given 48 // Returns the PPAPI event class for the given WebKit event type. The given
49 // type should not be "Undefined" since there's no corresponding PPAPI class. 49 // type should not be "Undefined" since there's no corresponding PPAPI class.
50 PP_InputEvent_Class ClassifyInputEvent(WebKit::WebInputEvent::Type type); 50 PP_InputEvent_Class ClassifyInputEvent(WebKit::WebInputEvent::Type type);
51 51
52 // Translate from WebGamepads to the Gamepad API format 52 // Translate from WebGamepads to the Gamepad API format
53 // PP_GamepadsSampleData_Dev. 53 // PP_GamepadsSampleData.
54 void ConvertWebKitGamepadData(WebKit::WebGamepads& webkit_data, 54 void ConvertWebKitGamepadData(WebKit::WebGamepads& webkit_data,
55 PP_GamepadsSampleData_Dev* output_data); 55 PP_GamepadsSampleData* output_data);
56 56
57 } // namespace ppapi 57 } // namespace ppapi
58 } // namespace webkit 58 } // namespace webkit
59 59
60 #endif // WEBKIT_PLUGINS_PPAPI_EVENT_CONVERSION_H_ 60 #endif // WEBKIT_PLUGINS_PPAPI_EVENT_CONVERSION_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_instance_api.h ('k') | webkit/plugins/ppapi/event_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698