diff options
Diffstat (limited to 'WebKit/android/plugins/ANPSystem_npapi.h')
-rw-r--r-- | WebKit/android/plugins/ANPSystem_npapi.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/WebKit/android/plugins/ANPSystem_npapi.h b/WebKit/android/plugins/ANPSystem_npapi.h index 5d91cfb..835bc7c 100644 --- a/WebKit/android/plugins/ANPSystem_npapi.h +++ b/WebKit/android/plugins/ANPSystem_npapi.h @@ -57,4 +57,16 @@ struct ANPSystemInterfaceV1 : ANPSystemInterfaceV0 { void (*setPowerState)(NPP instance, ANPPowerState powerState); }; +struct ANPSystemInterfaceV2 : ANPInterface { + /** Return the path name for the current Application's plugin data directory, + or NULL if not supported. This directory will change depending on whether + or not the plugin is found within an incognito tab. + */ + const char* (*getApplicationDataDirectory)(NPP instance); + + // redeclaration of existing features + jclass (*loadJavaClass)(NPP instance, const char* className); + void (*setPowerState)(NPP instance, ANPPowerState powerState); +}; + #endif //ANPSystem_npapi_H |