blob: 3aacd26f46bf610245c8d7db02d1bcbabeffcb05 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// 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);
}