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