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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 class DataTransfer; | 51 class DataTransfer; |
52 class Document; | 52 class Document; |
53 class DragState; | 53 class DragState; |
54 class Element; | 54 class Element; |
55 class Event; | 55 class Event; |
56 class EventTarget; | 56 class EventTarget; |
57 template <typename EventType> | 57 template <typename EventType> |
58 class EventWithHitTestResults; | 58 class EventWithHitTestResults; |
59 class FloatPoint; | 59 class FloatPoint; |
60 class FloatQuad; | 60 class FloatQuad; |
61 class Fullscreen; | |
62 class HTMLFrameSetElement; | 61 class HTMLFrameSetElement; |
63 class HitTestRequest; | 62 class HitTestRequest; |
64 class HitTestResult; | 63 class HitTestResult; |
65 class KeyboardEvent; | 64 class KeyboardEvent; |
66 class LocalFrame; | 65 class LocalFrame; |
67 class Node; | 66 class Node; |
68 class OptionalCursor; | 67 class OptionalCursor; |
69 class PlatformGestureEvent; | 68 class PlatformGestureEvent; |
70 class PlatformKeyboardEvent; | 69 class PlatformKeyboardEvent; |
71 class PlatformTouchEvent; | 70 class PlatformTouchEvent; |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 void defaultArrowEventHandler(FocusType, KeyboardEvent*); | 301 void defaultArrowEventHandler(FocusType, KeyboardEvent*); |
303 | 302 |
304 void updateSelectionForMouseDrag(const HitTestResult&); | 303 void updateSelectionForMouseDrag(const HitTestResult&); |
305 | 304 |
306 void updateLastScrollbarUnderMouse(Scrollbar*, bool); | 305 void updateLastScrollbarUnderMouse(Scrollbar*, bool); |
307 | 306 |
308 void setFrameWasScrolledByUser(); | 307 void setFrameWasScrolledByUser(); |
309 | 308 |
310 bool capturesDragging() const { return m_capturesDragging; } | 309 bool capturesDragging() const { return m_capturesDragging; } |
311 | 310 |
312 bool isKeyEventAllowedInFullScreen(Fullscreen*, const PlatformKeyboardEvent&
) const; | |
313 | |
314 bool handleGestureShowPress(); | 311 bool handleGestureShowPress(); |
315 | 312 |
316 bool handleScrollGestureOnResizer(Node*, const PlatformGestureEvent&); | 313 bool handleScrollGestureOnResizer(Node*, const PlatformGestureEvent&); |
317 | 314 |
318 bool passScrollGestureEventToWidget(const PlatformGestureEvent&, RenderObjec
t*); | 315 bool passScrollGestureEventToWidget(const PlatformGestureEvent&, RenderObjec
t*); |
319 bool sendScrollEventToView(const PlatformGestureEvent&, const FloatSize&); | 316 bool sendScrollEventToView(const PlatformGestureEvent&, const FloatSize&); |
320 | 317 |
321 AutoscrollController* autoscrollController() const; | 318 AutoscrollController* autoscrollController() const; |
322 bool panScrollInProgress() const; | 319 bool panScrollInProgress() const; |
323 void setLastKnownMousePosition(const PlatformMouseEvent&); | 320 void setLastKnownMousePosition(const PlatformMouseEvent&); |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 bool m_longTapShouldInvokeContextMenu; | 397 bool m_longTapShouldInvokeContextMenu; |
401 | 398 |
402 Timer<EventHandler> m_activeIntervalTimer; | 399 Timer<EventHandler> m_activeIntervalTimer; |
403 double m_lastShowPressTimestamp; | 400 double m_lastShowPressTimestamp; |
404 RefPtrWillBeMember<Element> m_lastDeferredTapElement; | 401 RefPtrWillBeMember<Element> m_lastDeferredTapElement; |
405 }; | 402 }; |
406 | 403 |
407 } // namespace blink | 404 } // namespace blink |
408 | 405 |
409 #endif // EventHandler_h | 406 #endif // EventHandler_h |
OLD | NEW |