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 18 matching lines...) Expand all Loading... |
29 */ | 29 */ |
30 | 30 |
31 #ifndef WebInputEventConversion_h | 31 #ifndef WebInputEventConversion_h |
32 #define WebInputEventConversion_h | 32 #define WebInputEventConversion_h |
33 | 33 |
34 #include "platform/PlatformMouseEvent.h" | 34 #include "platform/PlatformMouseEvent.h" |
35 #include "platform/PlatformTouchEvent.h" | 35 #include "platform/PlatformTouchEvent.h" |
36 #include "platform/PlatformWheelEvent.h" | 36 #include "platform/PlatformWheelEvent.h" |
37 #include "platform/scroll/ScrollTypes.h" | 37 #include "platform/scroll/ScrollTypes.h" |
38 #include "public/platform/WebInputEvent.h" | 38 #include "public/platform/WebInputEvent.h" |
| 39 #include "public/platform/WebMouseWheelEvent.h" |
39 #include "web/WebExport.h" | 40 #include "web/WebExport.h" |
40 #include "wtf/Compiler.h" | 41 #include "wtf/Compiler.h" |
41 #include <vector> | 42 #include <vector> |
42 | 43 |
43 namespace blink { | 44 namespace blink { |
44 | 45 |
45 class KeyboardEvent; | 46 class KeyboardEvent; |
46 class MouseEvent; | 47 class MouseEvent; |
47 class LayoutItem; | 48 class LayoutItem; |
48 class TouchEvent; | 49 class TouchEvent; |
49 class WebGestureEvent; | 50 class WebGestureEvent; |
50 class WebMouseEvent; | 51 class WebMouseEvent; |
51 class WebMouseWheelEvent; | |
52 class WebKeyboardEvent; | 52 class WebKeyboardEvent; |
53 class WebTouchEvent; | 53 class WebTouchEvent; |
54 class WheelEvent; | 54 class WheelEvent; |
55 class Widget; | 55 class Widget; |
56 | 56 |
57 // These classes are used to convert from WebInputEvent subclasses to | 57 // These classes are used to convert from WebInputEvent subclasses to |
58 // corresponding WebCore events. | 58 // corresponding WebCore events. |
59 | 59 |
60 class WEB_EXPORT PlatformMouseEventBuilder | 60 class WEB_EXPORT PlatformMouseEventBuilder |
61 : NON_EXPORTED_BASE(public PlatformMouseEvent) { | 61 : NON_EXPORTED_BASE(public PlatformMouseEvent) { |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 Vector<PlatformMouseEvent> WEB_EXPORT | 129 Vector<PlatformMouseEvent> WEB_EXPORT |
130 createPlatformMouseEventVector(Widget*, | 130 createPlatformMouseEventVector(Widget*, |
131 const std::vector<const WebInputEvent*>&); | 131 const std::vector<const WebInputEvent*>&); |
132 Vector<PlatformTouchEvent> WEB_EXPORT | 132 Vector<PlatformTouchEvent> WEB_EXPORT |
133 createPlatformTouchEventVector(Widget*, | 133 createPlatformTouchEventVector(Widget*, |
134 const std::vector<const WebInputEvent*>&); | 134 const std::vector<const WebInputEvent*>&); |
135 | 135 |
136 } // namespace blink | 136 } // namespace blink |
137 | 137 |
138 #endif | 138 #endif |
OLD | NEW |