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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 PP_Bool is_always_opaque) OVERRIDE; | 58 PP_Bool is_always_opaque) OVERRIDE; |
59 virtual PP_Resource CreatePrinting( | 59 virtual PP_Resource CreatePrinting( |
60 PP_Instance instance) OVERRIDE; | 60 PP_Instance instance) OVERRIDE; |
61 virtual PP_Resource CreateTrueTypeFont( | 61 virtual PP_Resource CreateTrueTypeFont( |
62 PP_Instance instance, | 62 PP_Instance instance, |
63 const struct PP_TrueTypeFontDesc_Dev* desc) OVERRIDE; | 63 const struct PP_TrueTypeFontDesc_Dev* desc) OVERRIDE; |
64 virtual PP_Resource CreateURLLoader( | 64 virtual PP_Resource CreateURLLoader( |
65 PP_Instance instance) OVERRIDE; | 65 PP_Instance instance) OVERRIDE; |
66 virtual PP_Resource CreateURLRequestInfo( | 66 virtual PP_Resource CreateURLRequestInfo( |
67 PP_Instance instance) OVERRIDE; | 67 PP_Instance instance) OVERRIDE; |
68 virtual PP_Resource CreateURLResponseInfo( | |
69 PP_Instance instance, | |
70 const ::ppapi::URLResponseInfoData& data, | |
71 PP_Resource file_ref_resource) OVERRIDE; | |
72 virtual PP_Resource CreateWebSocket( | 68 virtual PP_Resource CreateWebSocket( |
73 PP_Instance instance) OVERRIDE; | 69 PP_Instance instance) OVERRIDE; |
74 | 70 |
75 private: | 71 private: |
76 // Non-owning pointer to the host for the current plugin. | 72 // Non-owning pointer to the host for the current plugin. |
77 RendererPpapiHostImpl* host_impl_; | 73 RendererPpapiHostImpl* host_impl_; |
78 | 74 |
79 DISALLOW_COPY_AND_ASSIGN(PepperInProcessResourceCreation); | 75 DISALLOW_COPY_AND_ASSIGN(PepperInProcessResourceCreation); |
80 }; | 76 }; |
81 | 77 |
82 } // namespace content | 78 } // namespace content |
83 | 79 |
84 #endif // CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ | 80 #endif // CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ |
OLD | NEW |