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

Unified Diff: webkit/glue/plugins/nphostapi.h

Issue 465078: Add stubs for NPN_PopUpContextMenu and NPN_ConvertPoint (Closed)
Patch Set: Created 11 years 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 | « no previous file | webkit/glue/plugins/plugin_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/nphostapi.h
diff --git a/webkit/glue/plugins/nphostapi.h b/webkit/glue/plugins/nphostapi.h
index 53c684c45655736cbc36997eb5e6c329c69f8a78..7985a57f9f086f220aefbe97ecc1fcfbeb7e6cbf 100644
--- a/webkit/glue/plugins/nphostapi.h
+++ b/webkit/glue/plugins/nphostapi.h
@@ -213,6 +213,15 @@ typedef uint32 (*NPN_ScheduleTimerPtr)(NPP npp,
void (*timerFunc)(NPP npp, uint32 timerID));
typedef void (*NPN_UnscheduleTimerPtr)(NPP npp,
uint32 timerID);
+typedef NPError (*NPN_PopUpContextMenuPtr)(NPP npp,
+ NPMenu* menu);
+typedef NPBool (*NPN_ConvertPointPtr)(NPP npp,
+ double sourceX,
+ double sourceY,
+ NPCoordinateSpace sourceSpace,
+ double *destX,
+ double *destY,
+ NPCoordinateSpace destSpace);
//
// NPAPI Function table of NPP functions (functions provided by plugin to host)
@@ -293,6 +302,8 @@ typedef struct _NPNetscapeFuncs {
NPN_GetAuthenticationInfoPtr getauthenticationinfo;
NPN_ScheduleTimerPtr scheduletimer;
NPN_UnscheduleTimerPtr unscheduletimer;
+ NPN_PopUpContextMenuPtr popupcontextmenu;
+ NPN_ConvertPointPtr convertpoint;
} NPNetscapeFuncs;
//
« no previous file with comments | « no previous file | webkit/glue/plugins/plugin_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698