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

Side by Side Diff: webkit/glue/plugins/plugin_instance.h

Issue 4832002: Add PluginDataRemover. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: foo Created 10 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/plugin/plugin_channel.cc ('k') | webkit/glue/plugins/plugin_instance.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // TODO: Need to deal with NPAPI's NPSavedData. 5 // TODO: Need to deal with NPAPI's NPSavedData.
6 // I haven't seen plugins use it yet. 6 // I haven't seen plugins use it yet.
7 7
8 #ifndef WEBKIT_GLUE_PLUGIN_PLUGIN_INSTANCE_H__ 8 #ifndef WEBKIT_GLUE_PLUGIN_PLUGIN_INSTANCE_H__
9 #define WEBKIT_GLUE_PLUGIN_PLUGIN_INSTANCE_H__ 9 #define WEBKIT_GLUE_PLUGIN_PLUGIN_INSTANCE_H__
10 10
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 NPError NPP_DestroyStream(NPStream *, NPReason); 191 NPError NPP_DestroyStream(NPStream *, NPReason);
192 int NPP_WriteReady(NPStream *); 192 int NPP_WriteReady(NPStream *);
193 int NPP_Write(NPStream *, int, int, void *); 193 int NPP_Write(NPStream *, int, int, void *);
194 void NPP_StreamAsFile(NPStream *, const char *); 194 void NPP_StreamAsFile(NPStream *, const char *);
195 void NPP_URLNotify(const char *, NPReason, void *); 195 void NPP_URLNotify(const char *, NPReason, void *);
196 NPError NPP_GetValue(NPPVariable, void *); 196 NPError NPP_GetValue(NPPVariable, void *);
197 NPError NPP_SetValue(NPNVariable, void *); 197 NPError NPP_SetValue(NPNVariable, void *);
198 short NPP_HandleEvent(void*); 198 short NPP_HandleEvent(void*);
199 void NPP_Destroy(); 199 void NPP_Destroy();
200 bool NPP_Print(NPPrint* platform_print); 200 bool NPP_Print(NPPrint* platform_print);
201 NPError NPP_ClearSiteData(uint64, const char*, uint64);
201 202
202 void SendJavaScriptStream(const GURL& url, 203 void SendJavaScriptStream(const GURL& url,
203 const std::string& result, 204 const std::string& result,
204 bool success, 205 bool success,
205 int notify_id); 206 int notify_id);
206 207
207 void DidReceiveManualResponse(const GURL& url, 208 void DidReceiveManualResponse(const GURL& url,
208 const std::string& mime_type, 209 const std::string& mime_type,
209 const std::string& headers, 210 const std::string& headers,
210 uint32 expected_length, 211 uint32 expected_length,
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 } 355 }
355 private: 356 private:
356 scoped_refptr<PluginInstance> instance_; 357 scoped_refptr<PluginInstance> instance_;
357 DISALLOW_COPY_AND_ASSIGN(ScopedCurrentPluginEvent); 358 DISALLOW_COPY_AND_ASSIGN(ScopedCurrentPluginEvent);
358 }; 359 };
359 #endif 360 #endif
360 361
361 } // namespace NPAPI 362 } // namespace NPAPI
362 363
363 #endif // WEBKIT_GLUE_PLUGIN_PLUGIN_INSTANCE_H__ 364 #endif // WEBKIT_GLUE_PLUGIN_PLUGIN_INSTANCE_H__
OLDNEW
« no previous file with comments | « chrome/plugin/plugin_channel.cc ('k') | webkit/glue/plugins/plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698