OLD | NEW |
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 CONTENT_RENDERER_PEPPER_EVENT_CONVERSION_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_EVENT_CONVERSION_H_ |
6 #define CONTENT_RENDERER_PEPPER_EVENT_CONVERSION_H_ | 6 #define CONTENT_RENDERER_PEPPER_EVENT_CONVERSION_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "ppapi/c/ppb_input_event.h" | 12 #include "ppapi/c/ppb_input_event.h" |
13 #include "third_party/WebKit/public/web/WebInputEvent.h" | 13 #include "third_party/WebKit/public/platform/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 blink { | 21 namespace blink { |
22 class WebInputEvent; | 22 class WebInputEvent; |
23 } | 23 } |
(...skipping 20 matching lines...) Expand all Loading... |
44 int plugin_x, | 44 int plugin_x, |
45 int plugin_y); | 45 int plugin_y); |
46 | 46 |
47 // Returns the PPAPI event class for the given WebKit event type. The given | 47 // Returns the PPAPI event class for the given WebKit event type. The given |
48 // type should not be "Undefined" since there's no corresponding PPAPI class. | 48 // type should not be "Undefined" since there's no corresponding PPAPI class. |
49 PP_InputEvent_Class ClassifyInputEvent(const blink::WebInputEvent& event); | 49 PP_InputEvent_Class ClassifyInputEvent(const blink::WebInputEvent& event); |
50 | 50 |
51 } // namespace content | 51 } // namespace content |
52 | 52 |
53 #endif // CONTENT_RENDERER_PEPPER_EVENT_CONVERSION_H_ | 53 #endif // CONTENT_RENDERER_PEPPER_EVENT_CONVERSION_H_ |
OLD | NEW |