define the delegate methods on one line. fixes #13724

sup haters