// 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);
};