| 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 CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "ppapi/proxy/connection.h" | 10 #include "ppapi/proxy/connection.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 virtual PP_Resource CreateFileChooser( | 48 virtual PP_Resource CreateFileChooser( |
| 49 PP_Instance instance, | 49 PP_Instance instance, |
| 50 PP_FileChooserMode_Dev mode, | 50 PP_FileChooserMode_Dev mode, |
| 51 const char* accept_types) OVERRIDE; | 51 const char* accept_types) OVERRIDE; |
| 52 virtual PP_Resource CreateGraphics2D( | 52 virtual PP_Resource CreateGraphics2D( |
| 53 PP_Instance pp_instance, | 53 PP_Instance pp_instance, |
| 54 const PP_Size& size, | 54 const PP_Size& size, |
| 55 PP_Bool is_always_opaque) OVERRIDE; | 55 PP_Bool is_always_opaque) OVERRIDE; |
| 56 virtual PP_Resource CreatePrinting( | 56 virtual PP_Resource CreatePrinting( |
| 57 PP_Instance instance) OVERRIDE; | 57 PP_Instance instance) OVERRIDE; |
| 58 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; |
| 58 virtual PP_Resource CreateURLRequestInfo( | 59 virtual PP_Resource CreateURLRequestInfo( |
| 59 PP_Instance instance, | 60 PP_Instance instance, |
| 60 const ::ppapi::URLRequestInfoData& data) OVERRIDE; | 61 const ::ppapi::URLRequestInfoData& data) OVERRIDE; |
| 61 virtual PP_Resource CreateURLResponseInfo( | 62 virtual PP_Resource CreateURLResponseInfo( |
| 62 PP_Instance instance, | 63 PP_Instance instance, |
| 63 const ::ppapi::URLResponseInfoData& data, | 64 const ::ppapi::URLResponseInfoData& data, |
| 64 PP_Resource file_ref_resource) OVERRIDE; | 65 PP_Resource file_ref_resource) OVERRIDE; |
| 65 virtual PP_Resource CreateWebSocket( | 66 virtual PP_Resource CreateWebSocket( |
| 66 PP_Instance instance) OVERRIDE; | 67 PP_Instance instance) OVERRIDE; |
| 67 | 68 |
| 68 private: | 69 private: |
| 69 // Non-owning pointer to the host for the current plugin. | 70 // Non-owning pointer to the host for the current plugin. |
| 70 RendererPpapiHostImpl* host_impl_; | 71 RendererPpapiHostImpl* host_impl_; |
| 71 | 72 |
| 72 DISALLOW_COPY_AND_ASSIGN(PepperInProcessResourceCreation); | 73 DISALLOW_COPY_AND_ASSIGN(PepperInProcessResourceCreation); |
| 73 }; | 74 }; |
| 74 | 75 |
| 75 } // namespace content | 76 } // namespace content |
| 76 | 77 |
| 77 #endif // CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ | 78 #endif // CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ |
| OLD | NEW |