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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 DataTransfer; | 56 class DataTransfer; |
57 class PaintLayer; | 57 class PaintLayer; |
58 class Document; | |
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 FloatPoint; | |
65 class FloatQuad; | 63 class FloatQuad; |
66 class FrameHost; | 64 class FrameHost; |
67 class HTMLFrameSetElement; | 65 class HTMLFrameSetElement; |
68 class HitTestRequest; | 66 class HitTestRequest; |
69 class HitTestResult; | 67 class HitTestResult; |
70 class LayoutObject; | 68 class LayoutObject; |
71 class LocalFrame; | 69 class LocalFrame; |
72 class Node; | 70 class Node; |
73 class OptionalCursor; | 71 class OptionalCursor; |
74 class PlatformGestureEvent; | 72 class PlatformGestureEvent; |
75 class PlatformTouchEvent; | 73 class PlatformTouchEvent; |
76 class PlatformWheelEvent; | 74 class PlatformWheelEvent; |
77 class ScrollableArea; | 75 class ScrollableArea; |
78 class Scrollbar; | 76 class Scrollbar; |
79 class SelectionController; | 77 class SelectionController; |
80 class TextEvent; | 78 class TextEvent; |
81 class WheelEvent; | 79 class WheelEvent; |
82 class Widget; | |
83 | 80 |
84 class CORE_EXPORT EventHandler final | 81 class CORE_EXPORT EventHandler final |
85 : public GarbageCollectedFinalized<EventHandler> { | 82 : public GarbageCollectedFinalized<EventHandler> { |
86 WTF_MAKE_NONCOPYABLE(EventHandler); | 83 WTF_MAKE_NONCOPYABLE(EventHandler); |
87 | 84 |
88 public: | 85 public: |
89 explicit EventHandler(LocalFrame*); | 86 explicit EventHandler(LocalFrame*); |
90 DECLARE_TRACE(); | 87 DECLARE_TRACE(); |
91 | 88 |
92 void clear(); | 89 void clear(); |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 | 380 |
384 // Set on GestureTapDown if the |pointerdown| event corresponding to the | 381 // Set on GestureTapDown if the |pointerdown| event corresponding to the |
385 // triggering |touchstart| event was canceled. This suppresses mouse event | 382 // triggering |touchstart| event was canceled. This suppresses mouse event |
386 // firing for the current gesture sequence (i.e. until next GestureTapDown). | 383 // firing for the current gesture sequence (i.e. until next GestureTapDown). |
387 bool m_suppressMouseEventsFromGestures; | 384 bool m_suppressMouseEventsFromGestures; |
388 }; | 385 }; |
389 | 386 |
390 } // namespace blink | 387 } // namespace blink |
391 | 388 |
392 #endif // EventHandler_h | 389 #endif // EventHandler_h |
OLD | NEW |