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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 | 269 |
270 bool dispatchDragSrcEvent(const AtomicString& eventType, const PlatformMouse
Event&); | 270 bool dispatchDragSrcEvent(const AtomicString& eventType, const PlatformMouse
Event&); |
271 | 271 |
272 bool dragHysteresisExceeded(const FloatPoint&) const; | 272 bool dragHysteresisExceeded(const FloatPoint&) const; |
273 bool dragHysteresisExceeded(const IntPoint&) const; | 273 bool dragHysteresisExceeded(const IntPoint&) const; |
274 | 274 |
275 bool passMousePressEventToSubframe(MouseEventWithHitTestResults&, LocalFrame
* subframe); | 275 bool passMousePressEventToSubframe(MouseEventWithHitTestResults&, LocalFrame
* subframe); |
276 bool passMouseMoveEventToSubframe(MouseEventWithHitTestResults&, LocalFrame*
subframe, HitTestResult* hoveredNode = 0); | 276 bool passMouseMoveEventToSubframe(MouseEventWithHitTestResults&, LocalFrame*
subframe, HitTestResult* hoveredNode = 0); |
277 bool passMouseReleaseEventToSubframe(MouseEventWithHitTestResults&, LocalFra
me* subframe); | 277 bool passMouseReleaseEventToSubframe(MouseEventWithHitTestResults&, LocalFra
me* subframe); |
278 | 278 |
279 bool passMousePressEventToScrollbar(MouseEventWithHitTestResults&, Scrollbar
*); | 279 bool passMousePressEventToScrollbar(MouseEventWithHitTestResults&); |
280 | 280 |
281 bool passWidgetMouseDownEventToWidget(const MouseEventWithHitTestResults&); | 281 bool passWidgetMouseDownEventToWidget(const MouseEventWithHitTestResults&); |
282 | 282 |
283 bool passWheelEventToWidget(const PlatformWheelEvent&, Widget*); | 283 bool passWheelEventToWidget(const PlatformWheelEvent&, Widget*); |
284 | 284 |
285 void defaultSpaceEventHandler(KeyboardEvent*); | 285 void defaultSpaceEventHandler(KeyboardEvent*); |
286 void defaultBackspaceEventHandler(KeyboardEvent*); | 286 void defaultBackspaceEventHandler(KeyboardEvent*); |
287 void defaultTabEventHandler(KeyboardEvent*); | 287 void defaultTabEventHandler(KeyboardEvent*); |
288 void defaultEscapeEventHandler(KeyboardEvent*); | 288 void defaultEscapeEventHandler(KeyboardEvent*); |
289 void defaultArrowEventHandler(FocusType, KeyboardEvent*); | 289 void defaultArrowEventHandler(FocusType, KeyboardEvent*); |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 bool m_longTapShouldInvokeContextMenu; | 390 bool m_longTapShouldInvokeContextMenu; |
391 | 391 |
392 Timer<EventHandler> m_activeIntervalTimer; | 392 Timer<EventHandler> m_activeIntervalTimer; |
393 double m_lastShowPressTimestamp; | 393 double m_lastShowPressTimestamp; |
394 RefPtrWillBePersistent<Element> m_lastDeferredTapElement; | 394 RefPtrWillBePersistent<Element> m_lastDeferredTapElement; |
395 }; | 395 }; |
396 | 396 |
397 } // namespace WebCore | 397 } // namespace WebCore |
398 | 398 |
399 #endif // EventHandler_h | 399 #endif // EventHandler_h |
OLD | NEW |