blob: 95ba7563661d1cb3362668d26a32d5db35e19573 [file] [log] [blame]
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.support_lib_boundary;
import android.os.Handler;
import java.lang.reflect.InvocationHandler;
/** Boundary interface for WebMessagePort. */
public interface WebMessagePortBoundaryInterface {
void postMessage(/* WebMessage */ InvocationHandler message);
void close();
void setWebMessageCallback(/* WebMessageCallback */ InvocationHandler callback);
void setWebMessageCallback(
/* WebMessageCallback */ InvocationHandler callback, Handler handler);
}