.class Lcom/moji/mjweather/feed/adapter/DetailAdapter$MyWebChromeClient; .super Lcom/tencent/smtt/sdk/WebChromeClient; .source "DetailAdapter.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/moji/mjweather/feed/adapter/DetailAdapter; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x2 name = "MyWebChromeClient" .end annotation # instance fields .field final synthetic a:Lcom/moji/mjweather/feed/adapter/DetailAdapter; # direct methods .method public constructor (Lcom/moji/mjweather/feed/adapter/DetailAdapter;)V .locals 0 .line 255 iput-object p1, p0, Lcom/moji/mjweather/feed/adapter/DetailAdapter$MyWebChromeClient;->a:Lcom/moji/mjweather/feed/adapter/DetailAdapter; invoke-direct {p0}, Lcom/tencent/smtt/sdk/WebChromeClient;->()V return-void .end method # virtual methods .method public onJsConfirm(Lcom/tencent/smtt/sdk/WebView;Ljava/lang/String;Ljava/lang/String;Lcom/tencent/smtt/export/external/interfaces/JsResult;)Z .locals 0 .line 271 iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/DetailAdapter$MyWebChromeClient;->a:Lcom/moji/mjweather/feed/adapter/DetailAdapter; iget-object p1, p1, Lcom/moji/mjweather/feed/adapter/DetailAdapter;->c:Landroid/content/Context; instance-of p1, p1, Landroid/app/Activity; if-eqz p1, :cond_0 .line 272 iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/DetailAdapter$MyWebChromeClient;->a:Lcom/moji/mjweather/feed/adapter/DetailAdapter; iget-object p1, p1, Lcom/moji/mjweather/feed/adapter/DetailAdapter;->c:Landroid/content/Context; check-cast p1, Landroid/app/Activity; .line 273 invoke-virtual {p1}, Landroid/app/Activity;->isFinishing()Z move-result p1 if-nez p1, :cond_0 .line 274 new-instance p1, Landroid/app/AlertDialog$Builder; iget-object p2, p0, Lcom/moji/mjweather/feed/adapter/DetailAdapter$MyWebChromeClient;->a:Lcom/moji/mjweather/feed/adapter/DetailAdapter; iget-object p2, p2, Lcom/moji/mjweather/feed/adapter/DetailAdapter;->c:Landroid/content/Context; invoke-direct {p1, p2}, Landroid/app/AlertDialog$Builder;->(Landroid/content/Context;)V const-string p2, "\u5e26\u9009\u62e9\u7684\u5bf9\u8bdd\u6846" .line 275 invoke-virtual {p1, p2}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder; .line 276 invoke-virtual {p1, p3}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder; const p2, 0x104000a .line 277 new-instance p3, Lcom/moji/mjweather/feed/adapter/DetailAdapter$MyWebChromeClient$1; invoke-direct {p3, p0, p4}, Lcom/moji/mjweather/feed/adapter/DetailAdapter$MyWebChromeClient$1;->(Lcom/moji/mjweather/feed/adapter/DetailAdapter$MyWebChromeClient;Lcom/tencent/smtt/export/external/interfaces/JsResult;)V invoke-virtual {p1, p2, p3}, Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; const/high16 p2, 0x1040000 .line 285 new-instance p3, Lcom/moji/mjweather/feed/adapter/DetailAdapter$MyWebChromeClient$2; invoke-direct {p3, p0, p4}, Lcom/moji/mjweather/feed/adapter/DetailAdapter$MyWebChromeClient$2;->(Lcom/moji/mjweather/feed/adapter/DetailAdapter$MyWebChromeClient;Lcom/tencent/smtt/export/external/interfaces/JsResult;)V invoke-virtual {p1, p2, p3}, Landroid/app/AlertDialog$Builder;->setNeutralButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; const/4 p2, 0x0 .line 293 invoke-virtual {p1, p2}, Landroid/app/AlertDialog$Builder;->setCancelable(Z)Landroid/app/AlertDialog$Builder; .line 294 invoke-virtual {p1}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog; .line 295 invoke-virtual {p1}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog; :cond_0 const/4 p1, 0x1 return p1 .end method .method public onProgressChanged(Lcom/tencent/smtt/sdk/WebView;I)V .locals 0 .line 264 iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/DetailAdapter$MyWebChromeClient;->a:Lcom/moji/mjweather/feed/adapter/DetailAdapter; iget-object p1, p1, Lcom/moji/mjweather/feed/adapter/DetailAdapter;->C:Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$OnWebViewProgressChangedListener; if-eqz p1, :cond_0 .line 265 iget-object p1, p0, Lcom/moji/mjweather/feed/adapter/DetailAdapter$MyWebChromeClient;->a:Lcom/moji/mjweather/feed/adapter/DetailAdapter; iget-object p1, p1, Lcom/moji/mjweather/feed/adapter/DetailAdapter;->C:Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$OnWebViewProgressChangedListener; invoke-interface {p1, p2}, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$OnWebViewProgressChangedListener;->a(I)V :cond_0 return-void .end method .method public onReceivedTitle(Lcom/tencent/smtt/sdk/WebView;Ljava/lang/String;)V .locals 0 return-void .end method