| Index: webkit/glue/plugins/plugin_host.cc
|
| diff --git a/webkit/glue/plugins/plugin_host.cc b/webkit/glue/plugins/plugin_host.cc
|
| index 7cf93ed545dca591b4254efea09c3fde78a0ed67..4cee55d22854a840b4f3135b3713e16a60a0ee1e 100644
|
| --- a/webkit/glue/plugins/plugin_host.cc
|
| +++ b/webkit/glue/plugins/plugin_host.cc
|
| @@ -134,6 +134,10 @@ void PluginHost::InitializeHostFuncs() {
|
| host_funcs_.unscheduletimer = NPN_UnscheduleTimer;
|
| host_funcs_.popupcontextmenu = NPN_PopUpContextMenu;
|
| host_funcs_.convertpoint = NPN_ConvertPoint;
|
| + host_funcs_.handleevent = NPN_HandleEvent;
|
| + host_funcs_.unfocusinstance = NPN_UnfocusInstance;
|
| + // TODO: Implement redirect handling: http://crbug.com/63030
|
| + host_funcs_.urlredirectresponse = NULL;
|
| }
|
|
|
| void PluginHost::PatchNPNetscapeFuncs(NPNetscapeFuncs* overrides) {
|
| @@ -1086,4 +1090,17 @@ NPBool NPN_ConvertPoint(NPP id, double sourceX, double sourceY,
|
| return false;
|
| }
|
|
|
| +NPBool NPN_HandleEvent(NPP id, void *event, NPBool handled) {
|
| + // TODO: Implement advanced key handling: http://crbug.com/46578
|
| + NOTIMPLEMENTED();
|
| + return false;
|
| +}
|
| +
|
| +NPBool NPN_UnfocusInstance(NPP id, NPFocusDirection direction) {
|
| + // TODO: Implement advanced key handling: http://crbug.com/46578
|
| + NOTIMPLEMENTED();
|
| + return false;
|
| +}
|
| +
|
| +
|
| } // extern "C"
|
|
|