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