OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 bool m_widgetIsLatched; | 366 bool m_widgetIsLatched; |
367 | 367 |
368 RefPtrWillBeMember<Node> m_previousWheelScrolledNode; | 368 RefPtrWillBeMember<Node> m_previousWheelScrolledNode; |
369 | 369 |
370 // The target of each active touch point indexed by the touch ID. | 370 // The target of each active touch point indexed by the touch ID. |
371 typedef WillBeHeapHashMap<unsigned, RefPtrWillBeMember<EventTarget>, Default
Hash<unsigned>::Hash, WTF::UnsignedWithZeroKeyHashTraits<unsigned> > TouchTarget
Map; | 371 typedef WillBeHeapHashMap<unsigned, RefPtrWillBeMember<EventTarget>, Default
Hash<unsigned>::Hash, WTF::UnsignedWithZeroKeyHashTraits<unsigned> > TouchTarget
Map; |
372 TouchTargetMap m_targetForTouchID; | 372 TouchTargetMap m_targetForTouchID; |
373 | 373 |
374 // If set, the document of the active touch sequence. Unset if no touch sequ
ence active. | 374 // If set, the document of the active touch sequence. Unset if no touch sequ
ence active. |
375 RefPtrWillBeMember<Document> m_touchSequenceDocument; | 375 RefPtrWillBeMember<Document> m_touchSequenceDocument; |
| 376 RefPtr<UserGestureToken> m_touchSequenceUserGestureToken; |
376 | 377 |
377 bool m_touchPressed; | 378 bool m_touchPressed; |
378 | 379 |
379 RefPtrWillBeMember<Node> m_scrollGestureHandlingNode; | 380 RefPtrWillBeMember<Node> m_scrollGestureHandlingNode; |
380 bool m_lastHitTestResultOverWidget; | 381 bool m_lastHitTestResultOverWidget; |
381 RefPtrWillBeMember<Node> m_previousGestureScrolledNode; | 382 RefPtrWillBeMember<Node> m_previousGestureScrolledNode; |
382 RefPtr<Scrollbar> m_scrollbarHandlingScrollGesture; | 383 RefPtr<Scrollbar> m_scrollbarHandlingScrollGesture; |
383 | 384 |
384 double m_maxMouseMovedDuration; | 385 double m_maxMouseMovedDuration; |
385 PlatformEvent::Type m_baseEventType; | 386 PlatformEvent::Type m_baseEventType; |
386 bool m_didStartDrag; | 387 bool m_didStartDrag; |
387 | 388 |
388 bool m_longTapShouldInvokeContextMenu; | 389 bool m_longTapShouldInvokeContextMenu; |
389 | 390 |
390 Timer<EventHandler> m_activeIntervalTimer; | 391 Timer<EventHandler> m_activeIntervalTimer; |
391 double m_lastShowPressTimestamp; | 392 double m_lastShowPressTimestamp; |
392 RefPtrWillBeMember<Element> m_lastDeferredTapElement; | 393 RefPtrWillBeMember<Element> m_lastDeferredTapElement; |
393 }; | 394 }; |
394 | 395 |
395 } // namespace WebCore | 396 } // namespace WebCore |
396 | 397 |
397 #endif // EventHandler_h | 398 #endif // EventHandler_h |
OLD | NEW |