OLD | NEW |
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 Loading... |
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 Loading... |
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__ |
OLD | NEW |