Chromium Code Reviews| 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(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 }; | |
| OLD | NEW |