Factory class for {@link WebViewDelegate com.android.webview.chromium.WebViewDelegate}s.
{@link WebViewDelegate com.android.webview.chromium.WebViewDelegate}s provide the same
interface as {@link android.webkit.WebViewDelegate android.webkit.WebViewDelegate} but without
a dependency on the webkit class. Defining our own
{@link WebViewDelegate com.android.webview.chromium.WebViewDelegate} in frameworks/webview
allows the WebView apk to be binary compatible with the API 21 version of the framework, in
which {@link android.webkit.WebViewDelegate android.webkit.WebViewDelegate} had not yet been
introduced.
The {@link WebViewDelegate com.android.webview.chromium.WebViewDelegate} interface and this
factory class can be removed once we don't longer need to support WebView apk updates to devices
running the API 21 version of the framework. At that point, we should use
{@link android.webkit.WebViewDelegate android.webkit.WebViewDelegate} directly instead. |