summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/pepper_plugin_delegate.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-13 23:36:00 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-13 23:36:00 +0000
commit9e823663aa2491262162657c6528123999e0dbb2 (patch)
treeaa8a190b4e960f70b0ec4e9a6741c65a7db36cac /webkit/glue/plugins/pepper_plugin_delegate.h
parent196e469886b723e8f3531a1fe51204e4dc50dc8b (diff)
downloadchromium_src-9e823663aa2491262162657c6528123999e0dbb2.zip
chromium_src-9e823663aa2491262162657c6528123999e0dbb2.tar.gz
chromium_src-9e823663aa2491262162657c6528123999e0dbb2.tar.bz2
Use CommandUpdater for disabling commands that were disabled by plugins.
Review URL: http://codereview.chromium.org/3742002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62475 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/pepper_plugin_delegate.h')
-rw-r--r--webkit/glue/plugins/pepper_plugin_delegate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/plugins/pepper_plugin_delegate.h b/webkit/glue/plugins/pepper_plugin_delegate.h
index 6173af7..f080f34 100644
--- a/webkit/glue/plugins/pepper_plugin_delegate.h
+++ b/webkit/glue/plugins/pepper_plugin_delegate.h
@@ -216,8 +216,8 @@ class PluginDelegate {
virtual void DidStartLoading() = 0;
virtual void DidStopLoading() = 0;
- // Disables the given UI command item (i.e. print/copy).
- virtual void DisableCommand(int command_id) = 0;
+ // Sets restrictions on how the content can be used (i.e. no print/copy).
+ virtual void SetContentRestriction(int restrictions) = 0;
};
} // namespace pepper