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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/webplugin_delegate_pepper.cc ('k') | webkit/glue/plugins/plugin_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_GLUE_PEPPER_PEPPER_H_ 5 #ifndef WEBKIT_GLUE_PEPPER_PEPPER_H_
6 #define WEBKIT_GLUE_PEPPER_PEPPER_H_ 6 #define WEBKIT_GLUE_PEPPER_PEPPER_H_
7 7
8 #ifdef PEPPER_APIS_ENABLED 8 #ifdef PEPPER_APIS_ENABLED
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 void* userData); 142 void* userData);
143 typedef NPError (*NPInitializeRenderContextPtr)(NPP instance, 143 typedef NPError (*NPInitializeRenderContextPtr)(NPP instance,
144 NPRenderType type, 144 NPRenderType type,
145 NPRenderContext* context); 145 NPRenderContext* context);
146 typedef NPError (*NPFlushRenderContextPtr)(NPP instance, 146 typedef NPError (*NPFlushRenderContextPtr)(NPP instance,
147 NPRenderContext* context, 147 NPRenderContext* context,
148 NPFlushRenderContextCallbackPtr callb ack, 148 NPFlushRenderContextCallbackPtr callb ack,
149 void* userData); 149 void* userData);
150 typedef NPError (*NPDestroyRenderContextPtr)(NPP instance, 150 typedef NPError (*NPDestroyRenderContextPtr)(NPP instance,
151 NPRenderContext* context); 151 NPRenderContext* context);
152 typedef NPError (*NPOpenFilePtr)(NPP instance, const char* fileName, void** hand le);
152 153
153 typedef struct _NPPepperExtensions 154 typedef struct _NPPepperExtensions
154 { 155 {
155 /* Renderer extensions */ 156 /* Renderer extensions */
156 NPInitializeRenderContextPtr initializeRender; 157 NPInitializeRenderContextPtr initializeRender;
157 NPFlushRenderContextPtr flushRender; 158 NPFlushRenderContextPtr flushRender;
158 NPDestroyRenderContextPtr destroyRender; 159 NPDestroyRenderContextPtr destroyRender;
159 /* Shared memory extensions */ 160 /* Shared memory extensions */
161
162 /* I/O extensions */
163 NPOpenFilePtr openFile;
160 } NPPepperExtensions; 164 } NPPepperExtensions;
161 165
162 #endif /* PEPPER_APIS_ENABLED */ 166 #endif /* PEPPER_APIS_ENABLED */
163 167
164 #endif /* WEBKIT_GLUE_PEPPER_PEPPER_H_ */ 168 #endif /* WEBKIT_GLUE_PEPPER_PEPPER_H_ */
OLDNEW
« 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