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

Unified Diff: components/pdf/common/pdf.mojom

Issue 2455543002: Convert PDF component IPC to mojo. (Closed)
Patch Set: Feedback 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 | « components/pdf/common/OWNERS ('k') | components/pdf/common/pdf_message_generator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/pdf/common/pdf.mojom
diff --git a/components/pdf/common/pdf.mojom b/components/pdf/common/pdf.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..0aaed7ba38fed504f27c745a692be8b668e59a85
--- /dev/null
+++ b/components/pdf/common/pdf.mojom
@@ -0,0 +1,19 @@
+// 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.mojom;
+
+import "third_party/WebKit/public/platform/referrer.mojom";
+import "url/mojo/url.mojom";
+
+interface PdfService {
+ // Updates the content restrictions, i.e. to disable print/copy.
+ UpdateContentRestrictions(int32 restrictions);
+
+ // The currently displayed PDF has an unsupported feature.
+ HasUnsupportedFeature();
+
+ // Brings up SaveAs... dialog to save specified URL.
+ SaveUrlAs(url.mojom.Url url, blink.mojom.Referrer referrer);
+};
« no previous file with comments | « components/pdf/common/OWNERS ('k') | components/pdf/common/pdf_message_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698