OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 13 matching lines...) Expand all Loading... |
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef WebInputEventConversion_h | 31 #ifndef WebInputEventConversion_h |
32 #define WebInputEventConversion_h | 32 #define WebInputEventConversion_h |
33 | 33 |
| 34 #include <vector> |
34 #include "platform/scroll/ScrollTypes.h" | 35 #include "platform/scroll/ScrollTypes.h" |
| 36 #include "platform/wtf/Compiler.h" |
35 #include "public/platform/WebInputEvent.h" | 37 #include "public/platform/WebInputEvent.h" |
36 #include "public/platform/WebKeyboardEvent.h" | 38 #include "public/platform/WebKeyboardEvent.h" |
37 #include "public/platform/WebMouseWheelEvent.h" | 39 #include "public/platform/WebMouseWheelEvent.h" |
38 #include "public/platform/WebTouchEvent.h" | 40 #include "public/platform/WebTouchEvent.h" |
39 #include "web/WebExport.h" | 41 #include "web/WebExport.h" |
40 #include "wtf/Compiler.h" | |
41 #include <vector> | |
42 | 42 |
43 namespace blink { | 43 namespace blink { |
44 | 44 |
45 class FrameViewBase; | 45 class FrameViewBase; |
46 class KeyboardEvent; | 46 class KeyboardEvent; |
47 class MouseEvent; | 47 class MouseEvent; |
48 class LayoutItem; | 48 class LayoutItem; |
49 class TouchEvent; | 49 class TouchEvent; |
50 class WebGestureEvent; | 50 class WebGestureEvent; |
51 class WebKeyboardEvent; | 51 class WebKeyboardEvent; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 Vector<WebMouseEvent> WEB_EXPORT | 104 Vector<WebMouseEvent> WEB_EXPORT |
105 TransformWebMouseEventVector(FrameViewBase*, | 105 TransformWebMouseEventVector(FrameViewBase*, |
106 const std::vector<const WebInputEvent*>&); | 106 const std::vector<const WebInputEvent*>&); |
107 Vector<WebTouchEvent> WEB_EXPORT | 107 Vector<WebTouchEvent> WEB_EXPORT |
108 TransformWebTouchEventVector(FrameViewBase*, | 108 TransformWebTouchEventVector(FrameViewBase*, |
109 const std::vector<const WebInputEvent*>&); | 109 const std::vector<const WebInputEvent*>&); |
110 | 110 |
111 } // namespace blink | 111 } // namespace blink |
112 | 112 |
113 #endif | 113 #endif |
OLD | NEW |