Move event dispatcher protocol implementation from webview to base ui view