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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 bool isKeyEventAllowedInFullScreen(const PlatformKeyboardEvent&) const; | 293 bool isKeyEventAllowedInFullScreen(const PlatformKeyboardEvent&) const; |
294 | 294 |
295 bool handleGestureTapDown(); | 295 bool handleGestureTapDown(); |
296 bool passGestureEventToWidget(const PlatformGestureEvent&, Widget*); | 296 bool passGestureEventToWidget(const PlatformGestureEvent&, Widget*); |
297 bool passGestureEventToWidgetIfPossible(const PlatformGestureEvent&, RenderO
bject*); | 297 bool passGestureEventToWidgetIfPossible(const PlatformGestureEvent&, RenderO
bject*); |
298 bool sendScrollEventToView(const PlatformGestureEvent&, const FloatSize&); | 298 bool sendScrollEventToView(const PlatformGestureEvent&, const FloatSize&); |
299 Frame* getSubFrameForGestureEvent(const IntPoint& touchAdjustedPoint, const
PlatformGestureEvent&); | 299 Frame* getSubFrameForGestureEvent(const IntPoint& touchAdjustedPoint, const
PlatformGestureEvent&); |
300 | 300 |
301 void setLastKnownMousePosition(const PlatformMouseEvent&); | 301 void setLastKnownMousePosition(const PlatformMouseEvent&); |
302 | 302 |
303 #if ENABLE(CURSOR_VISIBILITY) | |
304 void startAutoHideCursorTimer(); | |
305 void cancelAutoHideCursorTimer(); | |
306 void autoHideCursorTimerFired(Timer<EventHandler>*); | |
307 #endif | |
308 | |
309 Frame* m_frame; | 303 Frame* m_frame; |
310 | 304 |
311 bool m_mousePressed; | 305 bool m_mousePressed; |
312 bool m_capturesDragging; | 306 bool m_capturesDragging; |
313 RefPtr<Node> m_mousePressNode; | 307 RefPtr<Node> m_mousePressNode; |
314 | 308 |
315 bool m_mouseDownMayStartSelect; | 309 bool m_mouseDownMayStartSelect; |
316 bool m_mouseDownMayStartDrag; | 310 bool m_mouseDownMayStartDrag; |
317 bool m_dragMayStartSelectionInstead; | 311 bool m_dragMayStartSelectionInstead; |
318 bool m_mouseDownWasSingleClickInSelection; | 312 bool m_mouseDownWasSingleClickInSelection; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 | 373 |
380 RefPtr<Node> m_scrollGestureHandlingNode; | 374 RefPtr<Node> m_scrollGestureHandlingNode; |
381 bool m_lastHitTestResultOverWidget; | 375 bool m_lastHitTestResultOverWidget; |
382 RefPtr<Node> m_previousGestureScrolledNode; | 376 RefPtr<Node> m_previousGestureScrolledNode; |
383 RefPtr<Scrollbar> m_scrollbarHandlingScrollGesture; | 377 RefPtr<Scrollbar> m_scrollbarHandlingScrollGesture; |
384 | 378 |
385 double m_maxMouseMovedDuration; | 379 double m_maxMouseMovedDuration; |
386 PlatformEvent::Type m_baseEventType; | 380 PlatformEvent::Type m_baseEventType; |
387 bool m_didStartDrag; | 381 bool m_didStartDrag; |
388 bool m_didLongPressInvokeContextMenu; | 382 bool m_didLongPressInvokeContextMenu; |
389 | |
390 #if ENABLE(CURSOR_VISIBILITY) | |
391 Timer<EventHandler> m_autoHideCursorTimer; | |
392 #endif | |
393 }; | 383 }; |
394 | 384 |
395 } // namespace WebCore | 385 } // namespace WebCore |
396 | 386 |
397 #endif // EventHandler_h | 387 #endif // EventHandler_h |
OLD | NEW |