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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 virtual ~PepperInProcessResourceCreation(); | 42 virtual ~PepperInProcessResourceCreation(); |
43 | 43 |
44 // ResourceCreation_API implementation. | 44 // ResourceCreation_API implementation. |
45 virtual PP_Resource CreateBrowserFont( | 45 virtual PP_Resource CreateBrowserFont( |
46 PP_Instance instance, | 46 PP_Instance instance, |
47 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; | 47 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; |
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 PP_Var& accept_types) OVERRIDE; | 51 const PP_Var& accept_types) OVERRIDE; |
| 52 virtual PP_Resource CreateExtCrxFileSystemPrivate(PP_Instance instance) |
| 53 OVERRIDE; |
52 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; | 54 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; |
53 virtual PP_Resource CreateFileSystem(PP_Instance instance, | 55 virtual PP_Resource CreateFileSystem(PP_Instance instance, |
54 PP_FileSystemType type) OVERRIDE; | 56 PP_FileSystemType type) OVERRIDE; |
| 57 virtual PP_Resource CreateIsolatedFileSystem(PP_Instance instance, |
| 58 const char* fsid) OVERRIDE; |
55 virtual PP_Resource CreateGraphics2D( | 59 virtual PP_Resource CreateGraphics2D( |
56 PP_Instance pp_instance, | 60 PP_Instance pp_instance, |
57 const PP_Size& size, | 61 const PP_Size& size, |
58 PP_Bool is_always_opaque) OVERRIDE; | 62 PP_Bool is_always_opaque) OVERRIDE; |
59 virtual PP_Resource CreatePrinting( | 63 virtual PP_Resource CreatePrinting( |
60 PP_Instance instance) OVERRIDE; | 64 PP_Instance instance) OVERRIDE; |
61 virtual PP_Resource CreateTrueTypeFont( | 65 virtual PP_Resource CreateTrueTypeFont( |
62 PP_Instance instance, | 66 PP_Instance instance, |
63 const struct PP_TrueTypeFontDesc_Dev* desc) OVERRIDE; | 67 const struct PP_TrueTypeFontDesc_Dev* desc) OVERRIDE; |
64 virtual PP_Resource CreateURLRequestInfo( | 68 virtual PP_Resource CreateURLRequestInfo( |
65 PP_Instance instance) OVERRIDE; | 69 PP_Instance instance) OVERRIDE; |
66 virtual PP_Resource CreateURLResponseInfo( | 70 virtual PP_Resource CreateURLResponseInfo( |
67 PP_Instance instance, | 71 PP_Instance instance, |
68 const ::ppapi::URLResponseInfoData& data, | 72 const ::ppapi::URLResponseInfoData& data, |
69 PP_Resource file_ref_resource) OVERRIDE; | 73 PP_Resource file_ref_resource) OVERRIDE; |
70 virtual PP_Resource CreateWebSocket( | 74 virtual PP_Resource CreateWebSocket( |
71 PP_Instance instance) OVERRIDE; | 75 PP_Instance instance) OVERRIDE; |
72 | 76 |
73 private: | 77 private: |
74 // Non-owning pointer to the host for the current plugin. | 78 // Non-owning pointer to the host for the current plugin. |
75 RendererPpapiHostImpl* host_impl_; | 79 RendererPpapiHostImpl* host_impl_; |
76 | 80 |
77 DISALLOW_COPY_AND_ASSIGN(PepperInProcessResourceCreation); | 81 DISALLOW_COPY_AND_ASSIGN(PepperInProcessResourceCreation); |
78 }; | 82 }; |
79 | 83 |
80 } // namespace content | 84 } // namespace content |
81 | 85 |
82 #endif // CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ | 86 #endif // CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ |
OLD | NEW |