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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 #include "platform/scroll/ScrollTypes.h" | 46 #include "platform/scroll/ScrollTypes.h" |
47 #include "public/platform/WebInputEvent.h" | 47 #include "public/platform/WebInputEvent.h" |
48 #include "public/platform/WebInputEventResult.h" | 48 #include "public/platform/WebInputEventResult.h" |
49 #include "wtf/Forward.h" | 49 #include "wtf/Forward.h" |
50 #include "wtf/HashMap.h" | 50 #include "wtf/HashMap.h" |
51 #include "wtf/HashTraits.h" | 51 #include "wtf/HashTraits.h" |
52 #include "wtf/RefPtr.h" | 52 #include "wtf/RefPtr.h" |
53 | 53 |
54 namespace blink { | 54 namespace blink { |
55 | 55 |
56 class ContainerNode; | |
57 class DataTransfer; | 56 class DataTransfer; |
58 class PaintLayer; | 57 class PaintLayer; |
59 class Element; | 58 class Element; |
60 class Event; | 59 class Event; |
61 class EventTarget; | 60 class EventTarget; |
62 template <typename EventType> | 61 template <typename EventType> |
63 class EventWithHitTestResults; | 62 class EventWithHitTestResults; |
64 class FloatQuad; | 63 class FloatQuad; |
65 class FrameHost; | 64 class FrameHost; |
66 class HTMLFrameSetElement; | 65 class HTMLFrameSetElement; |
67 class HitTestRequest; | 66 class HitTestRequest; |
68 class HitTestResult; | 67 class HitTestResult; |
69 class LayoutObject; | 68 class LayoutObject; |
70 class LocalFrame; | 69 class LocalFrame; |
71 class Node; | 70 class Node; |
72 class OptionalCursor; | 71 class OptionalCursor; |
73 class PlatformGestureEvent; | 72 class PlatformGestureEvent; |
74 class PlatformTouchEvent; | 73 class PlatformTouchEvent; |
75 class PlatformWheelEvent; | 74 class PlatformWheelEvent; |
76 class ScrollableArea; | 75 class ScrollableArea; |
77 class Scrollbar; | 76 class Scrollbar; |
78 class SelectionController; | 77 class SelectionController; |
79 class TextEvent; | 78 class TextEvent; |
80 class WheelEvent; | |
81 | 79 |
82 class CORE_EXPORT EventHandler final | 80 class CORE_EXPORT EventHandler final |
83 : public GarbageCollectedFinalized<EventHandler> { | 81 : public GarbageCollectedFinalized<EventHandler> { |
84 WTF_MAKE_NONCOPYABLE(EventHandler); | 82 WTF_MAKE_NONCOPYABLE(EventHandler); |
85 | 83 |
86 public: | 84 public: |
87 explicit EventHandler(LocalFrame&); | 85 explicit EventHandler(LocalFrame&); |
88 DECLARE_TRACE(); | 86 DECLARE_TRACE(); |
89 | 87 |
90 void clear(); | 88 void clear(); |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 | 385 |
388 // Set on GestureTapDown if the |pointerdown| event corresponding to the | 386 // Set on GestureTapDown if the |pointerdown| event corresponding to the |
389 // triggering |touchstart| event was canceled. This suppresses mouse event | 387 // triggering |touchstart| event was canceled. This suppresses mouse event |
390 // firing for the current gesture sequence (i.e. until next GestureTapDown). | 388 // firing for the current gesture sequence (i.e. until next GestureTapDown). |
391 bool m_suppressMouseEventsFromGestures; | 389 bool m_suppressMouseEventsFromGestures; |
392 }; | 390 }; |
393 | 391 |
394 } // namespace blink | 392 } // namespace blink |
395 | 393 |
396 #endif // EventHandler_h | 394 #endif // EventHandler_h |
OLD | NEW |