package com.tencent.mm.plugin.webview.ui.tools.jsapi;

import android.content.Intent;
import android.view.MenuItem;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.ui.base.n.d;

class g$79 implements d {
    final /* synthetic */ g uHd;
    final /* synthetic */ String uka;
    final /* synthetic */ Intent val$intent;

    g$79(g gVar, String str, Intent intent) {
        this.uHd = gVar;
        this.uka = str;
        this.val$intent = intent;
    }

    public final void onMMMenuItemSelected(MenuItem menuItem, int i) {
        AppMethodBeat.i(9143);
        switch (menuItem.getItemId()) {
            case 1:
                g.a(this.uHd, this.uka, this.val$intent);
                AppMethodBeat.o(9143);
                return;
            case 2:
                g.b(this.uHd, this.val$intent);
                break;
        }
        AppMethodBeat.o(9143);
    }
}
