зеркало из https://github.com/mozilla/gecko-dev.git
c4e762b7e6
The main changes here are: - Make QueuedInput store a InputBlockState instead of a CancelableBlockState, and propagate these changes outwards as necessary. - Hoist some virtual functions from CancelableBlockState up into InputBlockState. These are mostly downcast-type functions but also a couple of others (DispatchEvent and MustStayActive) that are generally applicable to input blocks and not specific to block cancellation. - Modify the signatures of a few other functions in InputQueue (such as CanDiscardBlock) to take a InputBlockState even though all the current call sites pass in a CancelableBlockState. This will make it easier to plumb in a new non-cancelable block because the function can still be used without modification. MozReview-Commit-ID: IzhCxVjkKoj --HG-- extra : rebase_source : b5b415f829e70ea4e7d52481bc84aa016a55e924 |
||
---|---|---|
.. | ||
public | ||
src | ||
test | ||
testutil | ||
util |