blob: 3ccc157a82b510c179c08c1c68017a1f795090ba [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.
module blink.mojom;
import "mojo/public/mojom/base/unguessable_token.mojom";
// The Portal interface is used by the renderer to interact with the Portal.
interface Portal {
// Initializes a portal. Must be called immediately after creating the
// interface. |token| is the unique token representing the portal. This token
// will be used by the content layer when referencing the portal.
Init() => (mojo_base.mojom.UnguessableToken token);
};