Add webview suspend and resume functions.