| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 // ResourceCreation_API implementation. | 44 // ResourceCreation_API implementation. |
| 45 virtual PP_Resource CreateFileChooser( | 45 virtual PP_Resource CreateFileChooser( |
| 46 PP_Instance instance, | 46 PP_Instance instance, |
| 47 PP_FileChooserMode_Dev mode, | 47 PP_FileChooserMode_Dev mode, |
| 48 const char* accept_types) OVERRIDE; | 48 const char* accept_types) OVERRIDE; |
| 49 virtual PP_Resource CreatePrinting( | 49 virtual PP_Resource CreatePrinting( |
| 50 PP_Instance instance) OVERRIDE; | 50 PP_Instance instance) OVERRIDE; |
| 51 virtual PP_Resource CreateURLRequestInfo( | 51 virtual PP_Resource CreateURLRequestInfo( |
| 52 PP_Instance instance, | 52 PP_Instance instance, |
| 53 const ::ppapi::URLRequestInfoData& data) OVERRIDE; | 53 const ::ppapi::URLRequestInfoData& data) OVERRIDE; |
| 54 virtual PP_Resource CreateWebSocket( |
| 55 PP_Instance instance) OVERRIDE; |
| 54 | 56 |
| 55 private: | 57 private: |
| 56 // Non-owning pointer to the host for the current plugin. | 58 // Non-owning pointer to the host for the current plugin. |
| 57 RendererPpapiHostImpl* host_impl_; | 59 RendererPpapiHostImpl* host_impl_; |
| 58 | 60 |
| 59 DISALLOW_COPY_AND_ASSIGN(PepperInProcessResourceCreation); | 61 DISALLOW_COPY_AND_ASSIGN(PepperInProcessResourceCreation); |
| 60 }; | 62 }; |
| 61 | 63 |
| 62 } // namespace content | 64 } // namespace content |
| 63 | 65 |
| 64 #endif // CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ | 66 #endif // CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ |
| OLD | NEW |