1 // Copyright 2021 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef PDF_CONTENT_RESTRICTION_H_
6 #define PDF_CONTENT_RESTRICTION_H_
10 // Used for disabling browser commands because of restrictions on how the data
11 // is to be used (i.e. can't copy/print). Must be kept in sync with
12 // `ContentRestriction` in chrome/common/content_restriction.h.
13 enum ContentRestriction {
14 kContentRestrictionCopy = 1 << 0,
15 kContentRestrictionCut = 1 << 1,
16 kContentRestrictionPaste = 1 << 2,
17 kContentRestrictionPrint = 1 << 3,
18 kContentRestrictionSave = 1 << 4
21 } // namespace chrome_pdf
23 #endif // PDF_CONTENT_RESTRICTION_H_