summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-27 22:59:20 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-27 22:59:20 +0000
commit6f496b2703a7ccb7bba1dbb14a2b9c00f02a853e (patch)
tree77586da8fc9d5dd3051b889a2f89d8e651924adc /webkit/glue/plugins
parent0572d4f6ead89fd19176d0c8346ef1a281458073 (diff)
downloadchromium_src-6f496b2703a7ccb7bba1dbb14a2b9c00f02a853e.zip
chromium_src-6f496b2703a7ccb7bba1dbb14a2b9c00f02a853e.tar.gz
chromium_src-6f496b2703a7ccb7bba1dbb14a2b9c00f02a853e.tar.bz2
Add a "Copy" API to Pepper, so that plugins don't have to hardcode the platform specific shortcut. Also, this makes copying through the page menu work on Mac and Linux.
Review URL: http://codereview.chromium.org/2329001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48443 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins')
-rw-r--r--webkit/glue/plugins/webplugin_delegate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/glue/plugins/webplugin_delegate.h b/webkit/glue/plugins/webplugin_delegate.h
index cf8cfa0..12ac01b 100644
--- a/webkit/glue/plugins/webplugin_delegate.h
+++ b/webkit/glue/plugins/webplugin_delegate.h
@@ -156,6 +156,8 @@ class WebPluginDelegate : public WebPlugin2DDeviceDelegate,
// Used for zooming of full page plugins. 0 means reset, while -1 means zoom
// out and +1 means zoom in.
virtual void Zoom(int factor) {}
+ // Copy the selected text.
+ virtual void Copy() {}
};
} // namespace webkit_glue