Chromium Code Reviews| 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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 394 | 394 |
| 395 // The target of each active touch point indexed by the touch ID. | 395 // The target of each active touch point indexed by the touch ID. |
| 396 using TouchTargetMap = WillBeHeapHashMap<unsigned, RefPtrWillBeMember<EventT arget>, DefaultHash<unsigned>::Hash, WTF::UnsignedWithZeroKeyHashTraits<unsigned >>; | 396 using TouchTargetMap = WillBeHeapHashMap<unsigned, RefPtrWillBeMember<EventT arget>, DefaultHash<unsigned>::Hash, WTF::UnsignedWithZeroKeyHashTraits<unsigned >>; |
| 397 TouchTargetMap m_targetForTouchID; | 397 TouchTargetMap m_targetForTouchID; |
| 398 | 398 |
| 399 // If set, the document of the active touch sequence. Unset if no touch sequ ence active. | 399 // If set, the document of the active touch sequence. Unset if no touch sequ ence active. |
| 400 RefPtrWillBeMember<Document> m_touchSequenceDocument; | 400 RefPtrWillBeMember<Document> m_touchSequenceDocument; |
| 401 RefPtr<UserGestureToken> m_touchSequenceUserGestureToken; | 401 RefPtr<UserGestureToken> m_touchSequenceUserGestureToken; |
| 402 | 402 |
| 403 bool m_touchPressed; | 403 bool m_touchPressed; |
| 404 WillBeHeapHashMap<String, unsigned> m_primaryIdByPointerType; | |
|
Rick Byers
2015/06/11 04:14:56
Since you're not holding garbage collected types h
mustaq
2015/06/12 16:05:24
Done.
| |
| 404 | 405 |
| 405 RefPtrWillBeMember<Node> m_scrollGestureHandlingNode; | 406 RefPtrWillBeMember<Node> m_scrollGestureHandlingNode; |
| 406 bool m_lastGestureScrollOverWidget; | 407 bool m_lastGestureScrollOverWidget; |
| 407 // The most recent element to scroll natively during this scroll | 408 // The most recent element to scroll natively during this scroll |
| 408 // sequence. Null if no native element has scrolled this scroll | 409 // sequence. Null if no native element has scrolled this scroll |
| 409 // sequence, or if the most recent element to scroll used scroll | 410 // sequence, or if the most recent element to scroll used scroll |
| 410 // customization. | 411 // customization. |
| 411 RefPtrWillBeMember<Node> m_previousGestureScrolledNode; | 412 RefPtrWillBeMember<Node> m_previousGestureScrolledNode; |
| 412 RefPtrWillBeMember<Scrollbar> m_scrollbarHandlingScrollGesture; | 413 RefPtrWillBeMember<Scrollbar> m_scrollbarHandlingScrollGesture; |
| 413 | 414 |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 425 // scroll sequence in this frame, or any child frames. Only used | 426 // scroll sequence in this frame, or any child frames. Only used |
| 426 // with ScrollCustomization. If some delta has been consumed, a | 427 // with ScrollCustomization. If some delta has been consumed, a |
| 427 // scroll which shouldn't propagate can't cause any element to | 428 // scroll which shouldn't propagate can't cause any element to |
| 428 // scroll other than the |m_previousGestureScrolledNode|. | 429 // scroll other than the |m_previousGestureScrolledNode|. |
| 429 bool m_deltaConsumedForScrollSequence; | 430 bool m_deltaConsumedForScrollSequence; |
| 430 }; | 431 }; |
| 431 | 432 |
| 432 } // namespace blink | 433 } // namespace blink |
| 433 | 434 |
| 434 #endif // EventHandler_h | 435 #endif // EventHandler_h |
| OLD | NEW |