15821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Copyright (c) 2012 The Chromium Authors. All rights reserved. 25821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be 35821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// found in the LICENSE file. 45821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 5ca12bfac764ba476d6cd062bf1dde12cc64c3f40Ben Murdoch#ifndef CHROME_COMMON_CONTENT_RESTRICTION_H_ 6ca12bfac764ba476d6cd062bf1dde12cc64c3f40Ben Murdoch#define CHROME_COMMON_CONTENT_RESTRICTION_H_ 75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 85821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Used by a full-page plugin to disable browser commands because of 95821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// restrictions on how the data is to be used (i.e. can't copy/print). 105821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)enum ContentRestriction { 115821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) CONTENT_RESTRICTION_COPY = 1 << 0, 125821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) CONTENT_RESTRICTION_CUT = 1 << 1, 135821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) CONTENT_RESTRICTION_PASTE = 1 << 2, 145821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) CONTENT_RESTRICTION_PRINT = 1 << 3, 155821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) CONTENT_RESTRICTION_SAVE = 1 << 4 165821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)}; 175821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 18ca12bfac764ba476d6cd062bf1dde12cc64c3f40Ben Murdoch#endif // CHROME_COMMON_CONTENT_RESTRICTION_H_ 19