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 "content/renderer/pepper/resource_creation_impl.h" | 10 #include "content/renderer/pepper/resource_creation_impl.h" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 PP_FileSystemType type) override; | 55 PP_FileSystemType type) override; |
56 PP_Resource CreateGraphics2D(PP_Instance pp_instance, | 56 PP_Resource CreateGraphics2D(PP_Instance pp_instance, |
57 const PP_Size* size, | 57 const PP_Size* size, |
58 PP_Bool is_always_opaque) override; | 58 PP_Bool is_always_opaque) override; |
59 PP_Resource CreatePrinting(PP_Instance instance) override; | 59 PP_Resource CreatePrinting(PP_Instance instance) override; |
60 PP_Resource CreateTrueTypeFont( | 60 PP_Resource CreateTrueTypeFont( |
61 PP_Instance instance, | 61 PP_Instance instance, |
62 const struct PP_TrueTypeFontDesc_Dev* desc) override; | 62 const struct PP_TrueTypeFontDesc_Dev* desc) override; |
63 PP_Resource CreateURLLoader(PP_Instance instance) override; | 63 PP_Resource CreateURLLoader(PP_Instance instance) override; |
64 PP_Resource CreateURLRequestInfo(PP_Instance instance) override; | 64 PP_Resource CreateURLRequestInfo(PP_Instance instance) override; |
| 65 PP_Resource CreateVpnProvider(PP_Instance instance) override; |
65 PP_Resource CreateWebSocket(PP_Instance instance) override; | 66 PP_Resource CreateWebSocket(PP_Instance instance) override; |
66 | 67 |
67 private: | 68 private: |
68 // Non-owning pointer to the host for the current plugin. | 69 // Non-owning pointer to the host for the current plugin. |
69 RendererPpapiHostImpl* host_impl_; | 70 RendererPpapiHostImpl* host_impl_; |
70 | 71 |
71 DISALLOW_COPY_AND_ASSIGN(PepperInProcessResourceCreation); | 72 DISALLOW_COPY_AND_ASSIGN(PepperInProcessResourceCreation); |
72 }; | 73 }; |
73 | 74 |
74 } // namespace content | 75 } // namespace content |
75 | 76 |
76 #endif // CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ | 77 #endif // CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ |
OLD | NEW |