blob: 30e0386adb8b42bd3ecd3ddeae9358a8cbadb5ad [file] [log] [blame]
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module web.mojom;
struct NativeMessageResultMojo {
string message;
};
interface TestUIHandlerMojo {
SetClientPage(pending_remote<TestPage> page);
HandleJsMessage(string message);
HandleJsMessageWithCallback(string message) =>
(NativeMessageResultMojo result);
};
interface TestPage {
HandleNativeMessage(NativeMessageResultMojo result);
};