blob: cd90e708dd363f9ba6c9e38b82b225d9dc44af23 [file] [log] [blame]
// Copyright 2017 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 headless;
interface TabSocket {
// Send a message from the Tab to C++ embedder.
SendMessageToEmbedder(string message);
// Waits for the next message to sent from the embedder C++ to the tab.
// NB this is non-blocking.
AwaitNextMessageFromEmbedder() => (string message);
};