naiveproxy/headless/lib/tab_socket.mojom

14 lines
430 B
Plaintext
Raw Permalink Normal View History

2018-01-28 19:30:36 +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.
};