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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 ~EventHandler(); | 92 ~EventHandler(); |
93 | 93 |
94 void clear(); | 94 void clear(); |
95 void nodeWillBeRemoved(Node*); | 95 void nodeWillBeRemoved(Node*); |
96 | 96 |
97 void updateSelectionForMouseDrag(); | 97 void updateSelectionForMouseDrag(); |
98 | 98 |
99 Node* mousePressNode() const; | 99 Node* mousePressNode() const; |
100 void setMousePressNode(PassRefPtr<Node>); | 100 void setMousePressNode(PassRefPtr<Node>); |
101 | 101 |
102 #if OS(WINDOWS) | 102 #if OS(WIN) |
103 void startPanScrolling(RenderObject*); | 103 void startPanScrolling(RenderObject*); |
104 #endif | 104 #endif |
105 | 105 |
106 void stopAutoscrollTimer(); | 106 void stopAutoscrollTimer(); |
107 bool mouseDownWasInSubframe() const { return m_mouseDownWasInSubframe; } | 107 bool mouseDownWasInSubframe() const { return m_mouseDownWasInSubframe; } |
108 | 108 |
109 void dispatchFakeMouseMoveEventSoon(); | 109 void dispatchFakeMouseMoveEventSoon(); |
110 void dispatchFakeMouseMoveEventSoonInQuad(const FloatQuad&); | 110 void dispatchFakeMouseMoveEventSoonInQuad(const FloatQuad&); |
111 | 111 |
112 HitTestResult hitTestResultAtPoint(const LayoutPoint&, | 112 HitTestResult hitTestResultAtPoint(const LayoutPoint&, |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 double m_maxMouseMovedDuration; | 380 double m_maxMouseMovedDuration; |
381 PlatformEvent::Type m_baseEventType; | 381 PlatformEvent::Type m_baseEventType; |
382 bool m_didStartDrag; | 382 bool m_didStartDrag; |
383 | 383 |
384 bool m_longTapShouldInvokeContextMenu; | 384 bool m_longTapShouldInvokeContextMenu; |
385 }; | 385 }; |
386 | 386 |
387 } // namespace WebCore | 387 } // namespace WebCore |
388 | 388 |
389 #endif // EventHandler_h | 389 #endif // EventHandler_h |
OLD | NEW |