Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: services/pdf_compositor/public/interfaces/pdf_compositor.mojom

Issue 2653963002: [Experimental] Supporting OOPIF printing
Patch Set: Rename service, fix for webview, and connect to DiscardableMemoryManager Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/pdf_compositor/public/interfaces/constants.mojom ('k') | services/service_manager/manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/pdf_compositor/public/interfaces/pdf_compositor.mojom
diff --git a/services/pdf_compositor/public/interfaces/pdf_compositor.mojom b/services/pdf_compositor/public/interfaces/pdf_compositor.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..2d1ed8341733a4fb5503601638421de72ca9e347
--- /dev/null
+++ b/services/pdf_compositor/public/interfaces/pdf_compositor.mojom
@@ -0,0 +1,20 @@
+// 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 pdf_compositor.mojom;
+
+interface PdfCompositor {
+ // Add the dependency on a subframe.
+ PrepareSubframe(int32 subframeId, int32 pageNum);
+
+ // Add a subframe content for composition.
+ AddSubFrameContent(int32 subframeId, handle<shared_buffer> sk_handle);
+
+ // Query whether all subframe data are ready.
+ IsReadyToComposite(int32 pageNum) => (bool status);
+
+ // Composite content from one or more subframes, and convert into a PDF file.
+ CompositePdf(handle<shared_buffer> sk_handle)
+ => (handle<shared_buffer> pdf_handle);
+};
« no previous file with comments | « services/pdf_compositor/public/interfaces/constants.mojom ('k') | services/service_manager/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698