summaryrefslogtreecommitdiff
path: root/dom/ipc/PDocumentRenderer.ipdl
blob: bdaed45d7414865d79b35f5abc63a70f02611ce4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 8 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

include protocol PBrowser;

include "mozilla/GfxMessageUtils.h";

using nsIntSize from "nsSize.h";

namespace mozilla {
namespace ipc {

protocol PDocumentRenderer
{
  manager PBrowser;

parent:
    // Returns the width and height, in pixels, of the returned ARGB32 data.
    async __delete__(nsIntSize renderedSize, nsCString data);
};

} // namespace ipc
} // namespace mozilla