From 6f496b2703a7ccb7bba1dbb14a2b9c00f02a853e Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Thu, 27 May 2010 22:59:20 +0000 Subject: 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 --- webkit/glue/plugins/webplugin_delegate.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'webkit/glue/plugins') 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 -- cgit v1.1