Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Unified Diff: webkit/glue/plugins/plugin_host.cc

Issue 4930001: Sync to r31 of npapi-headers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/npapi/bindings/npfunctions.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
« no previous file with comments | « third_party/npapi/bindings/npfunctions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698