summaryrefslogtreecommitdiff
path: root/chromium/components/pdf/common/pdf.mojom
blob: 0aaed7ba38fed504f27c745a692be8b668e59a85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);
};