package com.scb.phone.view.fragment.webview; import android.os.Bundle; import android.view.View; import android.webkit.WebView; import com.scb.phone.view.fragment.BaseFragment; import o.C14957gcv; import o.InterfaceC9623dnJ; import o.cXI; import o.fLU; /* loaded from: classes5.dex */ public abstract class BaseWebViewFragment, U extends fLU> extends BaseFragment implements InterfaceC9623dnJ { public abstract WebView ayA_(); public abstract U bb_(); public abstract String g(); @Override // o.InterfaceC9623dnJ public final void o(String str) { C14957gcv.e(str, ""); ayA_().loadUrl(str); } @Override // androidx.fragment.app.Fragment public void onViewCreated(View view, Bundle bundle) { C14957gcv.e(view, ""); super.onViewCreated(view, bundle); ayA_().getSettings().setJavaScriptEnabled(true); ayA_().addJavascriptInterface(bb_(), g()); } }