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

Side by Side Diff: components/pdf/common/pdf.mojom

Issue 2455543002: Convert PDF component IPC to mojo. (Closed)
Patch Set: Fix date 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 unified diff | Download patch
OLDNEW
(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.mojom;
6
7 import "third_party/WebKit/public/platform/referrer.mojom";
8 import "url/mojo/url.mojom";
9
10 interface PDFService {
11 // Updates the content restrictions, i.e. to disable print/copy.
12 UpdateContentRestrictions(int8 restrictions);
Sam McNally 2017/03/23 23:57:00 I think int32 is fine.
13
14 // The currently displayed PDF has an unsupported feature.
15 HasUnsupportedFeature();
16
17 // Brings up SaveAs... dialog to save specified URL.
18 SaveURLAs(url.mojom.Url url, blink.mojom.Referrer referrer);
Sam McNally 2017/03/23 23:57:00 While you're here, SaveUrlAs and PdfService. See
benwells 2017/03/29 04:18:03 Done.
19 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698