| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/message_loop/message_loop_proxy.h" | 13 #include "base/message_loop/message_loop_proxy.h" |
| 14 #include "base/platform_file.h" | 14 #include "base/platform_file.h" |
| 15 #include "base/process.h" | 15 #include "base/process.h" |
| 16 #include "base/shared_memory.h" | 16 #include "base/shared_memory.h" |
| 17 #include "base/sync_socket.h" | 17 #include "base/sync_socket.h" |
| 18 #include "base/time/time.h" | 18 #include "base/time/time.h" |
| 19 #include "googleurl/src/gurl.h" | |
| 20 #include "ipc/ipc_platform_file.h" | 19 #include "ipc/ipc_platform_file.h" |
| 21 #include "media/video/capture/video_capture.h" | 20 #include "media/video/capture/video_capture.h" |
| 22 #include "media/video/video_decode_accelerator.h" | 21 #include "media/video/video_decode_accelerator.h" |
| 23 #include "ppapi/c/dev/pp_video_dev.h" | 22 #include "ppapi/c/dev/pp_video_dev.h" |
| 24 #include "ppapi/c/dev/ppb_device_ref_dev.h" | 23 #include "ppapi/c/dev/ppb_device_ref_dev.h" |
| 25 #include "ppapi/c/pp_completion_callback.h" | 24 #include "ppapi/c/pp_completion_callback.h" |
| 26 #include "ppapi/c/pp_errors.h" | 25 #include "ppapi/c/pp_errors.h" |
| 27 #include "ppapi/c/pp_file_info.h" | 26 #include "ppapi/c/pp_file_info.h" |
| 28 #include "ppapi/c/pp_instance.h" | 27 #include "ppapi/c/pp_instance.h" |
| 29 #include "ppapi/c/pp_resource.h" | 28 #include "ppapi/c/pp_resource.h" |
| 30 #include "ppapi/c/pp_stdint.h" | 29 #include "ppapi/c/pp_stdint.h" |
| 31 #include "ppapi/c/ppb_tcp_socket.h" | 30 #include "ppapi/c/ppb_tcp_socket.h" |
| 32 #include "ppapi/c/private/ppb_flash.h" | 31 #include "ppapi/c/private/ppb_flash.h" |
| 33 #include "ppapi/c/private/ppb_tcp_socket_private.h" | 32 #include "ppapi/c/private/ppb_tcp_socket_private.h" |
| 34 #include "ppapi/c/private/ppb_udp_socket_private.h" | 33 #include "ppapi/c/private/ppb_udp_socket_private.h" |
| 35 #include "ppapi/shared_impl/dir_contents.h" | 34 #include "ppapi/shared_impl/dir_contents.h" |
| 36 #include "ui/gfx/size.h" | 35 #include "ui/gfx/size.h" |
| 36 #include "url/gurl.h" |
| 37 #include "webkit/common/fileapi/file_system_types.h" | 37 #include "webkit/common/fileapi/file_system_types.h" |
| 38 #include "webkit/common/quota/quota_types.h" | 38 #include "webkit/common/quota/quota_types.h" |
| 39 #include "webkit/plugins/webkit_plugins_export.h" | 39 #include "webkit/plugins/webkit_plugins_export.h" |
| 40 | 40 |
| 41 class GURL; | 41 class GURL; |
| 42 class SkBitmap; | 42 class SkBitmap; |
| 43 class SkCanvas; | 43 class SkCanvas; |
| 44 class TransportDIB; | 44 class TransportDIB; |
| 45 struct PP_NetAddress_Private; | 45 struct PP_NetAddress_Private; |
| 46 | 46 |
| (...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 // The loader object should set itself on the PluginInstance as the document | 694 // The loader object should set itself on the PluginInstance as the document |
| 695 // loader using set_document_loader. | 695 // loader using set_document_loader. |
| 696 virtual void HandleDocumentLoad(PluginInstance* instance, | 696 virtual void HandleDocumentLoad(PluginInstance* instance, |
| 697 const WebKit::WebURLResponse& response) = 0; | 697 const WebKit::WebURLResponse& response) = 0; |
| 698 }; | 698 }; |
| 699 | 699 |
| 700 } // namespace ppapi | 700 } // namespace ppapi |
| 701 } // namespace webkit | 701 } // namespace webkit |
| 702 | 702 |
| 703 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 703 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
| OLD | NEW |