| 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 | 181 |
| 182 void focusDocumentView(); | 182 void focusDocumentView(); |
| 183 | 183 |
| 184 void capsLockStateMayHaveChanged(); // Only called by FrameSelection | 184 void capsLockStateMayHaveChanged(); // Only called by FrameSelection |
| 185 | 185 |
| 186 bool handleTouchEvent(const PlatformTouchEvent&); | 186 bool handleTouchEvent(const PlatformTouchEvent&); |
| 187 | 187 |
| 188 bool useHandCursor(Node*, bool isOverLink); | 188 bool useHandCursor(Node*, bool isOverLink); |
| 189 | 189 |
| 190 void notifyElementActivated(); | 190 void notifyElementActivated(); |
| 191 void notifySelectionChanged(); |
| 191 | 192 |
| 192 PassRefPtr<UserGestureToken> takeLastMouseDownGestureToken() { return m_last
MouseDownUserGestureToken.release(); } | 193 PassRefPtr<UserGestureToken> takeLastMouseDownGestureToken() { return m_last
MouseDownUserGestureToken.release(); } |
| 193 | 194 |
| 194 int clickCount() { return m_clickCount; } | 195 int clickCount() { return m_clickCount; } |
| 195 bool mouseDownWasSingleClickInSelection() { return m_mouseDownWasSingleClick
InSelection; } | 196 bool mouseDownWasSingleClickInSelection() { return m_mouseDownWasSingleClick
InSelection; } |
| 196 | 197 |
| 197 private: | 198 private: |
| 198 static DragState& dragState(); | 199 static DragState& dragState(); |
| 199 | 200 |
| 200 PassRefPtrWillBeRawPtr<DataTransfer> createDraggingDataTransfer() const; | 201 PassRefPtrWillBeRawPtr<DataTransfer> createDraggingDataTransfer() const; |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 // scroll sequence in this frame, or any child frames. Only used | 414 // scroll sequence in this frame, or any child frames. Only used |
| 414 // with ScrollCustomization. If some delta has been consumed, a | 415 // with ScrollCustomization. If some delta has been consumed, a |
| 415 // scroll which shouldn't propagate can't cause any element to | 416 // scroll which shouldn't propagate can't cause any element to |
| 416 // scroll other than the |m_previousGestureScrolledNode|. | 417 // scroll other than the |m_previousGestureScrolledNode|. |
| 417 bool m_deltaConsumedForScrollSequence; | 418 bool m_deltaConsumedForScrollSequence; |
| 418 }; | 419 }; |
| 419 | 420 |
| 420 } // namespace blink | 421 } // namespace blink |
| 421 | 422 |
| 422 #endif // EventHandler_h | 423 #endif // EventHandler_h |
| OLD | NEW |