to support derived classes of webview