fixup! [M120 Migration][NaCl][PPFWK] Upgradable pepper plugin requirement
[platform/framework/web/chromium-efl.git] / pdf / content_restriction.h
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.
4
5 #ifndef PDF_CONTENT_RESTRICTION_H_
6 #define PDF_CONTENT_RESTRICTION_H_
7
8 namespace chrome_pdf {
9
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
19 };
20
21 }  // namespace chrome_pdf
22
23 #endif  // PDF_CONTENT_RESTRICTION_H_