summaryrefslogtreecommitdiff
path: root/chromium/headless/lib/tab_socket.mojom
blob: 07c5649dee172a4dbe95b2026c04ccb4fc33403f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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;

import "mojo/public/mojom/base/big_string.mojom";

interface TabSocket {
  // Send a message from the Tab to C++ embedder.
  SendMessageToEmbedder(mojo_base.mojom.BigString message,
                        int32 v8_execution_context_id);

  // To send a message to the tab use
  // HeadlessRenderFrameController::SendMessageToTabSocket.
};