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