This patch prepares us to switch sending semantics information over mojom to using dart:ui directly. Currently the recorded information is dropped on the floor, but that will improve in future patches.