naiveproxy/headless/lib/tab_socket.mojom

14 lines
430 B
Plaintext
Raw Normal View History

2018-02-02 13:49:39 +03:00
// 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.
};