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.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(int32 restrictions); |
| 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); |
| 19 }; |
OLD | NEW |