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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 public: | 87 public: |
88 explicit EventHandler(LocalFrame*); | 88 explicit EventHandler(LocalFrame*); |
89 ~EventHandler(); | 89 ~EventHandler(); |
90 void trace(Visitor*); | 90 void trace(Visitor*); |
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 Node* mousePressNode() const; | |
98 | |
99 #if OS(WIN) | 97 #if OS(WIN) |
100 void startPanScrolling(LayoutObject*); | 98 void startPanScrolling(LayoutObject*); |
101 #endif | 99 #endif |
102 | 100 |
103 void stopAutoscroll(); | 101 void stopAutoscroll(); |
104 | 102 |
105 void dispatchFakeMouseMoveEventSoon(); | 103 void dispatchFakeMouseMoveEventSoon(); |
106 void dispatchFakeMouseMoveEventSoonInQuad(const FloatQuad&); | 104 void dispatchFakeMouseMoveEventSoonInQuad(const FloatQuad&); |
107 | 105 |
108 HitTestResult hitTestResultAtPoint(const LayoutPoint&, | 106 HitTestResult hitTestResultAtPoint(const LayoutPoint&, |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 bool m_longTapShouldInvokeContextMenu; | 394 bool m_longTapShouldInvokeContextMenu; |
397 | 395 |
398 Timer<EventHandler> m_activeIntervalTimer; | 396 Timer<EventHandler> m_activeIntervalTimer; |
399 double m_lastShowPressTimestamp; | 397 double m_lastShowPressTimestamp; |
400 RefPtrWillBeMember<Element> m_lastDeferredTapElement; | 398 RefPtrWillBeMember<Element> m_lastDeferredTapElement; |
401 }; | 399 }; |
402 | 400 |
403 } // namespace blink | 401 } // namespace blink |
404 | 402 |
405 #endif // EventHandler_h | 403 #endif // EventHandler_h |
OLD | NEW |