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

Unified Diff: webkit/glue/pepper/pepper.h

Issue 340050: Add the plumbing and test code for plugins opening files from the sandbox. Th... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « chrome/renderer/webplugin_delegate_pepper.cc ('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/pepper/pepper.h
===================================================================
--- webkit/glue/pepper/pepper.h (revision 30698)
+++ webkit/glue/pepper/pepper.h (working copy)
@@ -149,6 +149,7 @@
void* userData);
typedef NPError (*NPDestroyRenderContextPtr)(NPP instance,
NPRenderContext* context);
+typedef NPError (*NPOpenFilePtr)(NPP instance, const char* fileName, void** handle);
typedef struct _NPPepperExtensions
{
@@ -157,6 +158,9 @@
NPFlushRenderContextPtr flushRender;
NPDestroyRenderContextPtr destroyRender;
/* Shared memory extensions */
+
+ /* I/O extensions */
+ NPOpenFilePtr openFile;
} NPPepperExtensions;
#endif /* PEPPER_APIS_ENABLED */
« no previous file with comments | « chrome/renderer/webplugin_delegate_pepper.cc ('k') | webkit/glue/plugins/plugin_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698