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

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

Issue 329013: Implemented NPN_ScheduleTimer and NPN_UnscheduleTimer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months 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/npapi.h ('k') | 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
===================================================================
--- webkit/glue/plugins/nphostapi.h (revision 29899)
+++ webkit/glue/plugins/nphostapi.h (working copy)
@@ -206,6 +206,12 @@
uint32_t *ulen,
char **password,
uint32_t *plen);
+typedef uint32 (*NPN_ScheduleTimerPtr)(NPP npp,
+ uint32 interval,
+ NPBool repeat,
+ void (*timerFunc)(NPP npp, uint32 timerID));
+typedef void (*NPN_UnscheduleTimerPtr)(NPP npp,
+ uint32 timerID);
//
// NPAPI Function table of NPP functions (functions provided by plugin to host)
@@ -284,6 +290,8 @@
NPN_GetValueForURLPtr getvalueforurl;
NPN_SetValueForURLPtr setvalueforurl;
NPN_GetAuthenticationInfoPtr getauthenticationinfo;
+ NPN_ScheduleTimerPtr scheduletimer;
+ NPN_UnscheduleTimerPtr unscheduletimer;
} NPNetscapeFuncs;
//
« no previous file with comments | « third_party/npapi/bindings/npapi.h ('k') | webkit/glue/plugins/plugin_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698