| 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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 495 Member<Element> m_lastDeferredTapElement; | 495 Member<Element> m_lastDeferredTapElement; |
| 496 | 496 |
| 497 // Only used with the ScrollCustomization runtime enabled feature. | 497 // Only used with the ScrollCustomization runtime enabled feature. |
| 498 std::deque<int> m_currentScrollChain; | 498 std::deque<int> m_currentScrollChain; |
| 499 // True iff some of the delta has been consumed for the current | 499 // True iff some of the delta has been consumed for the current |
| 500 // scroll sequence in this frame, or any child frames. Only used | 500 // scroll sequence in this frame, or any child frames. Only used |
| 501 // with ScrollCustomization. If some delta has been consumed, a | 501 // with ScrollCustomization. If some delta has been consumed, a |
| 502 // scroll which shouldn't propagate can't cause any element to | 502 // scroll which shouldn't propagate can't cause any element to |
| 503 // scroll other than the |m_previousGestureScrolledNode|. | 503 // scroll other than the |m_previousGestureScrolledNode|. |
| 504 bool m_deltaConsumedForScrollSequence; | 504 bool m_deltaConsumedForScrollSequence; |
| 505 |
| 506 // True if waiting on first touch move after a touch start. |
| 507 bool m_waitingForFirstTouchMove; |
| 505 }; | 508 }; |
| 506 | 509 |
| 507 } // namespace blink | 510 } // namespace blink |
| 508 | 511 |
| 509 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo); | 512 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo); |
| 510 | 513 |
| 511 #endif // EventHandler_h | 514 #endif // EventHandler_h |
| OLD | NEW |