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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 class Widget; | 80 class Widget; |
81 | 81 |
82 enum AppendTrailingWhitespace { ShouldAppendTrailingWhitespace, DontAppendTraili
ngWhitespace }; | 82 enum AppendTrailingWhitespace { ShouldAppendTrailingWhitespace, DontAppendTraili
ngWhitespace }; |
83 enum class DragInitiator; | 83 enum class DragInitiator; |
84 | 84 |
85 class EventHandler : public NoBaseWillBeGarbageCollectedFinalized<EventHandler>
{ | 85 class EventHandler : public NoBaseWillBeGarbageCollectedFinalized<EventHandler>
{ |
86 WTF_MAKE_NONCOPYABLE(EventHandler); | 86 WTF_MAKE_NONCOPYABLE(EventHandler); |
87 public: | 87 public: |
88 explicit EventHandler(LocalFrame*); | 88 explicit EventHandler(LocalFrame*); |
89 ~EventHandler(); | 89 ~EventHandler(); |
90 void trace(Visitor*); | 90 DECLARE_TRACE(); |
91 | 91 |
92 void clear(); | 92 void clear(); |
93 void nodeWillBeRemoved(Node&); | 93 void nodeWillBeRemoved(Node&); |
94 | 94 |
95 void updateSelectionForMouseDrag(); | 95 void updateSelectionForMouseDrag(); |
96 | 96 |
97 #if OS(WIN) | 97 #if OS(WIN) |
98 void startPanScrolling(LayoutObject*); | 98 void startPanScrolling(LayoutObject*); |
99 #endif | 99 #endif |
100 | 100 |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 bool m_longTapShouldInvokeContextMenu; | 396 bool m_longTapShouldInvokeContextMenu; |
397 | 397 |
398 Timer<EventHandler> m_activeIntervalTimer; | 398 Timer<EventHandler> m_activeIntervalTimer; |
399 double m_lastShowPressTimestamp; | 399 double m_lastShowPressTimestamp; |
400 RefPtrWillBeMember<Element> m_lastDeferredTapElement; | 400 RefPtrWillBeMember<Element> m_lastDeferredTapElement; |
401 }; | 401 }; |
402 | 402 |
403 } // namespace blink | 403 } // namespace blink |
404 | 404 |
405 #endif // EventHandler_h | 405 #endif // EventHandler_h |
OLD | NEW |