| Index: Source/web/WebPluginContainerImpl.cpp
|
| diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp
|
| index d93a9df6457773ad727018c1bf59805a0f89fc63..8c887d607e56115b55a5ee659ffdfe0f120d6091 100644
|
| --- a/Source/web/WebPluginContainerImpl.cpp
|
| +++ b/Source/web/WebPluginContainerImpl.cpp
|
| @@ -671,6 +671,11 @@ bool WebPluginContainerImpl::paintCustomOverhangArea(GraphicsContext* context, c
|
| return true;
|
| }
|
|
|
| +void handleCopyKeyboardEventsTest(WebPluginContainerImpl* webpluginContainerImpl, KeyboardEvent* event)
|
| +{
|
| + webpluginContainerImpl->handleKeyboardEvent(event);
|
| +}
|
| +
|
| // Private methods -------------------------------------------------------------
|
|
|
| WebPluginContainerImpl::WebPluginContainerImpl(HTMLPlugInElement* element, WebPlugin* webPlugin)
|
| @@ -819,7 +824,7 @@ void WebPluginContainerImpl::handleKeyboardEvent(KeyboardEvent* event)
|
| #else
|
| if (webEvent.modifiers == WebInputEvent::ControlKey
|
| #endif
|
| - && webEvent.windowsKeyCode == VKEY_C
|
| + && (webEvent.windowsKeyCode == VKEY_C || webEvent.windowsKeyCode == VKEY_INSERT)
|
| // Only copy if there's a selection, so that we only ever do this
|
| // for Pepper plugins that support copying. Windowless NPAPI
|
| // plugins will get the event as before.
|
|
|