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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 | 284 |
285 case WebInputEvent::TouchStart: | 285 case WebInputEvent::TouchStart: |
286 case WebInputEvent::TouchMove: | 286 case WebInputEvent::TouchMove: |
287 case WebInputEvent::TouchEnd: | 287 case WebInputEvent::TouchEnd: |
288 case WebInputEvent::TouchCancel: | 288 case WebInputEvent::TouchCancel: |
289 return handleTouchEvent(static_cast<const WebTouchEvent&>(inputEvent)); | 289 return handleTouchEvent(static_cast<const WebTouchEvent&>(inputEvent)); |
290 | 290 |
291 case WebInputEvent::GestureScrollBegin: | 291 case WebInputEvent::GestureScrollBegin: |
292 case WebInputEvent::GestureScrollEnd: | 292 case WebInputEvent::GestureScrollEnd: |
293 case WebInputEvent::GestureScrollUpdate: | 293 case WebInputEvent::GestureScrollUpdate: |
294 case WebInputEvent::GestureScrollUpdateWithoutPropagation: | |
295 case WebInputEvent::GestureFlingStart: | 294 case WebInputEvent::GestureFlingStart: |
296 case WebInputEvent::GestureFlingCancel: | 295 case WebInputEvent::GestureFlingCancel: |
297 case WebInputEvent::GestureTap: | 296 case WebInputEvent::GestureTap: |
298 case WebInputEvent::GestureTapUnconfirmed: | 297 case WebInputEvent::GestureTapUnconfirmed: |
299 case WebInputEvent::GestureTapDown: | 298 case WebInputEvent::GestureTapDown: |
300 case WebInputEvent::GestureShowPress: | 299 case WebInputEvent::GestureShowPress: |
301 case WebInputEvent::GestureTapCancel: | 300 case WebInputEvent::GestureTapCancel: |
302 case WebInputEvent::GestureDoubleTap: | 301 case WebInputEvent::GestureDoubleTap: |
303 case WebInputEvent::GestureTwoFingerTap: | 302 case WebInputEvent::GestureTwoFingerTap: |
304 case WebInputEvent::GestureLongPress: | 303 case WebInputEvent::GestureLongPress: |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 ASSERT(widget == m_widget); | 400 ASSERT(widget == m_widget); |
402 if (m_widget) { | 401 if (m_widget) { |
403 m_widget->setClient(0); | 402 m_widget->setClient(0); |
404 m_widget = 0; | 403 m_widget = 0; |
405 } | 404 } |
406 if (m_client) | 405 if (m_client) |
407 m_client->closeWidgetSoon(); | 406 m_client->closeWidgetSoon(); |
408 } | 407 } |
409 | 408 |
410 } // namespace blink | 409 } // namespace blink |
OLD | NEW |