naiveproxy/headless/lib/tab_socket.mojom
2018-01-29 00:30:36 +08:00

14 lines
430 B
Plaintext

// 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, int32 v8_execution_context_id);
// To send a message to the tab use
// HeadlessRenderFrameController::SendMessageToTabSocket.
};