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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 void updateLastScrollbarUnderMouse(Scrollbar*, bool); | 313 void updateLastScrollbarUnderMouse(Scrollbar*, bool); |
314 | 314 |
315 void setFrameWasScrolledByUser(); | 315 void setFrameWasScrolledByUser(); |
316 | 316 |
317 bool capturesDragging() const { return m_capturesDragging; } | 317 bool capturesDragging() const { return m_capturesDragging; } |
318 | 318 |
319 bool isKeyEventAllowedInFullScreen(const PlatformKeyboardEvent&) const; | 319 bool isKeyEventAllowedInFullScreen(const PlatformKeyboardEvent&) const; |
320 | 320 |
321 #if ENABLE(GESTURE_EVENTS) | 321 #if ENABLE(GESTURE_EVENTS) |
322 bool handleGestureTapDown(); | 322 bool handleGestureTapDown(); |
323 bool handleGestureForTextSelectionOrContextMenu(const PlatformGestureEvent&)
; | |
324 bool passGestureEventToWidget(const PlatformGestureEvent&, Widget*); | 323 bool passGestureEventToWidget(const PlatformGestureEvent&, Widget*); |
325 bool passGestureEventToWidgetIfPossible(const PlatformGestureEvent&, RenderO
bject*); | 324 bool passGestureEventToWidgetIfPossible(const PlatformGestureEvent&, RenderO
bject*); |
326 bool sendScrollEventToView(const PlatformGestureEvent&, const FloatSize&); | 325 bool sendScrollEventToView(const PlatformGestureEvent&, const FloatSize&); |
327 #endif | 326 #endif |
328 | 327 |
329 void setLastKnownMousePosition(const PlatformMouseEvent&); | 328 void setLastKnownMousePosition(const PlatformMouseEvent&); |
330 | 329 |
331 #if ENABLE(CURSOR_VISIBILITY) | 330 #if ENABLE(CURSOR_VISIBILITY) |
332 void startAutoHideCursorTimer(); | 331 void startAutoHideCursorTimer(); |
333 void cancelAutoHideCursorTimer(); | 332 void cancelAutoHideCursorTimer(); |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 bool m_didLongPressInvokeContextMenu; | 419 bool m_didLongPressInvokeContextMenu; |
421 | 420 |
422 #if ENABLE(CURSOR_VISIBILITY) | 421 #if ENABLE(CURSOR_VISIBILITY) |
423 Timer<EventHandler> m_autoHideCursorTimer; | 422 Timer<EventHandler> m_autoHideCursorTimer; |
424 #endif | 423 #endif |
425 }; | 424 }; |
426 | 425 |
427 } // namespace WebCore | 426 } // namespace WebCore |
428 | 427 |
429 #endif // EventHandler_h | 428 #endif // EventHandler_h |
OLD | NEW |