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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 }; | 129 }; |
130 | 130 |
131 // Converts GestureEvent to a corresponding WebGestureEvent. | 131 // Converts GestureEvent to a corresponding WebGestureEvent. |
132 // NOTE: If event mapping fails, the type will be set to Undefined. | 132 // NOTE: If event mapping fails, the type will be set to Undefined. |
133 class WEB_EXPORT WebGestureEventBuilder | 133 class WEB_EXPORT WebGestureEventBuilder |
134 : WTF_NON_EXPORTED_BASE(public WebGestureEvent) { | 134 : WTF_NON_EXPORTED_BASE(public WebGestureEvent) { |
135 public: | 135 public: |
136 WebGestureEventBuilder(const LayoutItem, const GestureEvent&); | 136 WebGestureEventBuilder(const LayoutItem, const GestureEvent&); |
137 }; | 137 }; |
138 | 138 |
| 139 Vector<PlatformMouseEvent> createPlatformMouseEventVector( |
| 140 Widget*, |
| 141 const std::vector<const WebInputEvent*>&); |
| 142 Vector<PlatformTouchEvent> createPlatformTouchEventVector( |
| 143 Widget*, |
| 144 const std::vector<const WebInputEvent*>&); |
| 145 |
139 } // namespace blink | 146 } // namespace blink |
140 | 147 |
141 #endif | 148 #endif |
OLD | NEW |