blob: 3aacd26f46bf610245c8d7db02d1bcbabeffcb05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// 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);
}
|