| 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 | 226 |
| 227 WebInputEventResult handleTouchEvent( | 227 WebInputEventResult handleTouchEvent( |
| 228 const PlatformTouchEvent&, | 228 const PlatformTouchEvent&, |
| 229 const Vector<PlatformTouchEvent>& coalescedEvents); | 229 const Vector<PlatformTouchEvent>& coalescedEvents); |
| 230 | 230 |
| 231 bool useHandCursor(Node*, bool isOverLink); | 231 bool useHandCursor(Node*, bool isOverLink); |
| 232 | 232 |
| 233 void notifyElementActivated(); | 233 void notifyElementActivated(); |
| 234 | 234 |
| 235 PassRefPtr<UserGestureToken> takeLastMouseDownGestureToken() { | 235 PassRefPtr<UserGestureToken> takeLastMouseDownGestureToken() { |
| 236 return m_lastMouseDownUserGestureToken.release(); | 236 return std::move(m_lastMouseDownUserGestureToken); |
| 237 } | 237 } |
| 238 | 238 |
| 239 SelectionController& selectionController() const { | 239 SelectionController& selectionController() const { |
| 240 return *m_selectionController; | 240 return *m_selectionController; |
| 241 } | 241 } |
| 242 | 242 |
| 243 // FIXME(nzolghadr): This function is technically a private function of | 243 // FIXME(nzolghadr): This function is technically a private function of |
| 244 // EventHandler class. Making it public temporary to make it possible to | 244 // EventHandler class. Making it public temporary to make it possible to |
| 245 // move some code around in the refactoring process. | 245 // move some code around in the refactoring process. |
| 246 // Performs a chaining logical scroll, within a *single* frame, starting | 246 // Performs a chaining logical scroll, within a *single* frame, starting |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 | 388 |
| 389 // Set on GestureTapDown if the |pointerdown| event corresponding to the | 389 // Set on GestureTapDown if the |pointerdown| event corresponding to the |
| 390 // triggering |touchstart| event was canceled. This suppresses mouse event | 390 // triggering |touchstart| event was canceled. This suppresses mouse event |
| 391 // firing for the current gesture sequence (i.e. until next GestureTapDown). | 391 // firing for the current gesture sequence (i.e. until next GestureTapDown). |
| 392 bool m_suppressMouseEventsFromGestures; | 392 bool m_suppressMouseEventsFromGestures; |
| 393 }; | 393 }; |
| 394 | 394 |
| 395 } // namespace blink | 395 } // namespace blink |
| 396 | 396 |
| 397 #endif // EventHandler_h | 397 #endif // EventHandler_h |
| OLD | NEW |