| 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_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_ | 8 #ifndef WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_ |
| 9 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_ | 9 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_ |
| 10 | 10 |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 NPError NPP_DestroyStream(NPStream *, NPReason); | 190 NPError NPP_DestroyStream(NPStream *, NPReason); |
| 191 int NPP_WriteReady(NPStream *); | 191 int NPP_WriteReady(NPStream *); |
| 192 int NPP_Write(NPStream *, int, int, void *); | 192 int NPP_Write(NPStream *, int, int, void *); |
| 193 void NPP_StreamAsFile(NPStream *, const char *); | 193 void NPP_StreamAsFile(NPStream *, const char *); |
| 194 void NPP_URLNotify(const char *, NPReason, void *); | 194 void NPP_URLNotify(const char *, NPReason, void *); |
| 195 NPError NPP_GetValue(NPPVariable, void *); | 195 NPError NPP_GetValue(NPPVariable, void *); |
| 196 NPError NPP_SetValue(NPNVariable, void *); | 196 NPError NPP_SetValue(NPNVariable, void *); |
| 197 short NPP_HandleEvent(void*); | 197 short NPP_HandleEvent(void*); |
| 198 void NPP_Destroy(); | 198 void NPP_Destroy(); |
| 199 bool NPP_Print(NPPrint* platform_print); | 199 bool NPP_Print(NPPrint* platform_print); |
| 200 NPError NPP_ClearSiteData(uint64, const char*, uint64); | |
| 201 void NPP_URLRedirectNotify(const char* url, int32_t status, | 200 void NPP_URLRedirectNotify(const char* url, int32_t status, |
| 202 void* notify_data); | 201 void* notify_data); |
| 203 | 202 |
| 204 void SendJavaScriptStream(const GURL& url, | 203 void SendJavaScriptStream(const GURL& url, |
| 205 const std::string& result, | 204 const std::string& result, |
| 206 bool success, | 205 bool success, |
| 207 int notify_id); | 206 int notify_id); |
| 208 | 207 |
| 209 void DidReceiveManualResponse(const GURL& url, | 208 void DidReceiveManualResponse(const GURL& url, |
| 210 const std::string& mime_type, | 209 const std::string& mime_type, |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 private: | 365 private: |
| 367 scoped_refptr<PluginInstance> instance_; | 366 scoped_refptr<PluginInstance> instance_; |
| 368 DISALLOW_COPY_AND_ASSIGN(ScopedCurrentPluginEvent); | 367 DISALLOW_COPY_AND_ASSIGN(ScopedCurrentPluginEvent); |
| 369 }; | 368 }; |
| 370 #endif | 369 #endif |
| 371 | 370 |
| 372 } // namespace npapi | 371 } // namespace npapi |
| 373 } // namespace webkit | 372 } // namespace webkit |
| 374 | 373 |
| 375 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_ | 374 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_ |
| OLD | NEW |