| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 module pdf_compositor.mojom; |
| 6 |
| 7 interface PdfCompositor { |
| 8 // Add the dependency on a subframe. |
| 9 PrepareSubframe(int32 subframeId, int32 pageNum); |
| 10 |
| 11 // Add a subframe content for composition. |
| 12 AddSubFrameContent(int32 subframeId, handle<shared_buffer> sk_handle); |
| 13 |
| 14 // Query whether all subframe data are ready. |
| 15 IsReadyToComposite(int32 pageNum) => (bool status); |
| 16 |
| 17 // Composite content from one or more subframes, and convert into a PDF file. |
| 18 CompositePdf(handle<shared_buffer> sk_handle) |
| 19 => (handle<shared_buffer> pdf_handle); |
| 20 }; |
| OLD | NEW |