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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 | 294 |
295 void updateLastScrollbarUnderMouse(Scrollbar*, bool); | 295 void updateLastScrollbarUnderMouse(Scrollbar*, bool); |
296 | 296 |
297 void setFrameWasScrolledByUser(); | 297 void setFrameWasScrolledByUser(); |
298 | 298 |
299 bool capturesDragging() const { return m_capturesDragging; } | 299 bool capturesDragging() const { return m_capturesDragging; } |
300 | 300 |
301 bool isKeyEventAllowedInFullScreen(const PlatformKeyboardEvent&) const; | 301 bool isKeyEventAllowedInFullScreen(const PlatformKeyboardEvent&) const; |
302 | 302 |
303 bool handleGestureTapDown(); | 303 bool handleGestureTapDown(); |
304 bool handleGestureForTextSelectionOrContextMenu(const PlatformGestureEvent&)
; | |
305 bool passGestureEventToWidget(const PlatformGestureEvent&, Widget*); | 304 bool passGestureEventToWidget(const PlatformGestureEvent&, Widget*); |
306 bool passGestureEventToWidgetIfPossible(const PlatformGestureEvent&, RenderO
bject*); | 305 bool passGestureEventToWidgetIfPossible(const PlatformGestureEvent&, RenderO
bject*); |
307 bool sendScrollEventToView(const PlatformGestureEvent&, const FloatSize&); | 306 bool sendScrollEventToView(const PlatformGestureEvent&, const FloatSize&); |
| 307 Frame* getSubFrameForGestureEvent(const IntPoint& touchAdjustedPoint, const
PlatformGestureEvent&); |
308 | 308 |
309 void setLastKnownMousePosition(const PlatformMouseEvent&); | 309 void setLastKnownMousePosition(const PlatformMouseEvent&); |
310 | 310 |
311 #if ENABLE(CURSOR_VISIBILITY) | 311 #if ENABLE(CURSOR_VISIBILITY) |
312 void startAutoHideCursorTimer(); | 312 void startAutoHideCursorTimer(); |
313 void cancelAutoHideCursorTimer(); | 313 void cancelAutoHideCursorTimer(); |
314 void autoHideCursorTimerFired(Timer<EventHandler>*); | 314 void autoHideCursorTimerFired(Timer<EventHandler>*); |
315 #endif | 315 #endif |
316 | 316 |
317 Frame* m_frame; | 317 Frame* m_frame; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 bool m_didLongPressInvokeContextMenu; | 396 bool m_didLongPressInvokeContextMenu; |
397 | 397 |
398 #if ENABLE(CURSOR_VISIBILITY) | 398 #if ENABLE(CURSOR_VISIBILITY) |
399 Timer<EventHandler> m_autoHideCursorTimer; | 399 Timer<EventHandler> m_autoHideCursorTimer; |
400 #endif | 400 #endif |
401 }; | 401 }; |
402 | 402 |
403 } // namespace WebCore | 403 } // namespace WebCore |
404 | 404 |
405 #endif // EventHandler_h | 405 #endif // EventHandler_h |
OLD | NEW |