diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-29 15:48:12 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-29 15:48:12 +0000 |
commit | 763ec4ca15b4a013b0317b6d83605a265a23de88 (patch) | |
tree | 5b7adfd13a5900845f60defed544be0e1a2c1069 /content/common/content_restriction.h | |
parent | 3bf507190c888faded38122a5f138347bdd6e617 (diff) | |
download | chromium_src-763ec4ca15b4a013b0317b6d83605a265a23de88.zip chromium_src-763ec4ca15b4a013b0317b6d83605a265a23de88.tar.gz chromium_src-763ec4ca15b4a013b0317b6d83605a265a23de88.tar.bz2 |
Pick off the lowest hanging fruits in removing the chrome includes from content\browser. I moved clipboard_dispatcher.* and content_restriction.h which should have moved originally.
Review URL: http://codereview.chromium.org/6893122
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83517 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/content_restriction.h')
-rw-r--r-- | content/common/content_restriction.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/content/common/content_restriction.h b/content/common/content_restriction.h new file mode 100644 index 0000000..1497939 --- /dev/null +++ b/content/common/content_restriction.h @@ -0,0 +1,19 @@ +// Copyright (c) 2010 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. + +#ifndef CONTENT_COMMON_CONTENT_RESTRICTION_H_ +#define CONTENT_COMMON_CONTENT_RESTRICTION_H_ +#pragma once + +// Used by a full-page plugin to disable browser commands because of +// restrictions on how the data is to be used (i.e. can't copy/print). +enum ContentRestriction { + CONTENT_RESTRICTION_COPY = 1 << 0, + CONTENT_RESTRICTION_CUT = 1 << 1, + CONTENT_RESTRICTION_PASTE = 1 << 2, + CONTENT_RESTRICTION_PRINT = 1 << 3, + CONTENT_RESTRICTION_SAVE = 1 << 4 +}; + +#endif // CONTENT_COMMON_CONTENT_RESTRICTION_H_ |