Replace IframeTransport callbacks with OOJS events

Bug: T77124
Change-Id: Ic6d9f9dc4098c28de2d0e79af6ca91929d239bf2