1 // Copyright 2019 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 package org.chromium.support_lib_boundary; 6 7 import android.net.Uri; 8 import android.webkit.WebView; 9 10 import java.lang.reflect.InvocationHandler; 11 12 /** 13 * Boundary interface for org.chromium.android_webview.WebMessageListener. 14 */ 15 public interface WebMessageListenerBoundaryInterface extends FeatureFlagHolderBoundaryInterface { onPostMessage(WebView view, InvocationHandler message, Uri sourceOrigin, boolean isMainFrame, InvocationHandler replyProxy)16 void onPostMessage(WebView view, /* WebMessage */ InvocationHandler message, Uri sourceOrigin, 17 boolean isMainFrame, /* JsReplyProxy */ InvocationHandler replyProxy); 18 } 19