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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 | 187 |
188 void focusDocumentView(); | 188 void focusDocumentView(); |
189 | 189 |
190 void capsLockStateMayHaveChanged(); // Only called by FrameSelection | 190 void capsLockStateMayHaveChanged(); // Only called by FrameSelection |
191 | 191 |
192 bool handleTouchEvent(const PlatformTouchEvent&); | 192 bool handleTouchEvent(const PlatformTouchEvent&); |
193 | 193 |
194 bool useHandCursor(Node*, bool isOverLink); | 194 bool useHandCursor(Node*, bool isOverLink); |
195 | 195 |
196 void notifyElementActivated(); | 196 void notifyElementActivated(); |
197 void notifySelectionChanged(); | |
198 | 197 |
199 PassRefPtr<UserGestureToken> takeLastMouseDownGestureToken() { return m_last
MouseDownUserGestureToken.release(); } | 198 PassRefPtr<UserGestureToken> takeLastMouseDownGestureToken() { return m_last
MouseDownUserGestureToken.release(); } |
200 | 199 |
201 private: | 200 private: |
202 static DragState& dragState(); | 201 static DragState& dragState(); |
203 | 202 |
204 PassRefPtrWillBeRawPtr<DataTransfer> createDraggingDataTransfer() const; | 203 PassRefPtrWillBeRawPtr<DataTransfer> createDraggingDataTransfer() const; |
205 | 204 |
206 bool updateSelectionForMouseDownDispatchingSelectStart(Node*, const VisibleS
election&, TextGranularity); | 205 bool updateSelectionForMouseDownDispatchingSelectStart(Node*, const VisibleS
election&, TextGranularity); |
207 void selectClosestWordFromHitTestResult(const HitTestResult&, AppendTrailing
Whitespace); | 206 void selectClosestWordFromHitTestResult(const HitTestResult&, AppendTrailing
Whitespace); |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 bool m_longTapShouldInvokeContextMenu; | 402 bool m_longTapShouldInvokeContextMenu; |
404 | 403 |
405 Timer<EventHandler> m_activeIntervalTimer; | 404 Timer<EventHandler> m_activeIntervalTimer; |
406 double m_lastShowPressTimestamp; | 405 double m_lastShowPressTimestamp; |
407 RefPtrWillBeMember<Element> m_lastDeferredTapElement; | 406 RefPtrWillBeMember<Element> m_lastDeferredTapElement; |
408 }; | 407 }; |
409 | 408 |
410 } // namespace blink | 409 } // namespace blink |
411 | 410 |
412 #endif // EventHandler_h | 411 #endif // EventHandler_h |
OLD | NEW |