| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 572 ScrollUnits deltaUnits; | 572 ScrollUnits deltaUnits; |
| 573 // The state of inertial phase scrolling. OSX has unique phases for normal | 573 // The state of inertial phase scrolling. OSX has unique phases for normal |
| 574 // and momentum scroll events. Should always be UnknownMomentumPhase for | 574 // and momentum scroll events. Should always be UnknownMomentumPhase for |
| 575 // touch based input as it generates GestureFlingStart instead. | 575 // touch based input as it generates GestureFlingStart instead. |
| 576 InertialPhaseState inertialPhase; | 576 InertialPhaseState inertialPhase; |
| 577 // True if this event was synthesized in order to generate the proper | 577 // True if this event was synthesized in order to generate the proper |
| 578 // GSB/GSU/GSE matching sequences. This is a temporary so that a future | 578 // GSB/GSU/GSE matching sequences. This is a temporary so that a future |
| 579 // GSB will generate a hit test so latching behavior is avoided | 579 // GSB will generate a hit test so latching behavior is avoided |
| 580 // until crbug.com/526463 is fully implemented. | 580 // until crbug.com/526463 is fully implemented. |
| 581 bool synthetic; | 581 bool synthetic; |
| 582 // True if a fling is in debouncing_deferral_queue_ after this event. |
| 583 bool flingMightHappenNext; |
| 582 } scrollEnd; | 584 } scrollEnd; |
| 583 | 585 |
| 584 struct { | 586 struct { |
| 585 float velocityX; | 587 float velocityX; |
| 586 float velocityY; | 588 float velocityY; |
| 587 // If true, this event will skip hit testing to find a scroll | 589 // If true, this event will skip hit testing to find a scroll |
| 588 // target and instead just scroll the viewport. | 590 // target and instead just scroll the viewport. |
| 589 bool targetViewport; | 591 bool targetViewport; |
| 590 } flingStart; | 592 } flingStart; |
| 591 | 593 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 dispatchedDuringFling(false), | 657 dispatchedDuringFling(false), |
| 656 touchStartOrFirstTouchMove(false), | 658 touchStartOrFirstTouchMove(false), |
| 657 uniqueTouchEventId(0) {} | 659 uniqueTouchEventId(0) {} |
| 658 }; | 660 }; |
| 659 | 661 |
| 660 #pragma pack(pop) | 662 #pragma pack(pop) |
| 661 | 663 |
| 662 } // namespace blink | 664 } // namespace blink |
| 663 | 665 |
| 664 #endif | 666 #endif |
| OLD | NEW |