| Index: webkit/glue/plugins/plugin_host.cc
|
| diff --git a/webkit/glue/plugins/plugin_host.cc b/webkit/glue/plugins/plugin_host.cc
|
| index 8cc094f142e4c0cf349b2a24239460c5e0c23cb4..21240c139fcbb56591b2449f5e0ea273c529cde4 100644
|
| --- a/webkit/glue/plugins/plugin_host.cc
|
| +++ b/webkit/glue/plugins/plugin_host.cc
|
| @@ -111,6 +111,8 @@ void PluginHost::InitializeHostFuncs() {
|
| host_funcs_.getauthenticationinfo = NPN_GetAuthenticationInfo;
|
| host_funcs_.scheduletimer = NPN_ScheduleTimer;
|
| host_funcs_.unscheduletimer = NPN_UnscheduleTimer;
|
| + host_funcs_.popupcontextmenu = NPN_PopUpContextMenu;
|
| + host_funcs_.convertpoint = NPN_ConvertPoint;
|
| }
|
|
|
| void PluginHost::PatchNPNetscapeFuncs(NPNetscapeFuncs* overrides) {
|
| @@ -1189,4 +1191,21 @@ void NPN_UnscheduleTimer(NPP id, uint32 timer_id) {
|
| if (plugin)
|
| plugin->UnscheduleTimer(timer_id);
|
| }
|
| +
|
| +NPError NPN_PopUpContextMenu(NPP instance, NPMenu* menu) {
|
| + NOTIMPLEMENTED();
|
| + return NPERR_GENERIC_ERROR;
|
| +}
|
| +
|
| +NPBool NPN_ConvertPoint(NPP instance, double sourceX, double sourceY,
|
| + NPCoordinateSpace sourceSpace,
|
| + double *destX, double *destY,
|
| + NPCoordinateSpace destSpace) {
|
| + NOTIMPLEMENTED();
|
| + if (destX)
|
| + *destX = sourceX;
|
| + if (destY)
|
| + *destY = sourceY;
|
| + return FALSE;
|
| +}
|
| } // extern "C"
|
|
|