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_RESOURCE_CREATION_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stdint.h> |
| 9 |
9 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
10 #include "ppapi/thunk/resource_creation_api.h" | 12 #include "ppapi/thunk/resource_creation_api.h" |
11 | 13 |
12 namespace content { | 14 namespace content { |
13 | 15 |
14 class PepperPluginInstanceImpl; | 16 class PepperPluginInstanceImpl; |
15 | 17 |
16 // This is an abstract class. ResourceCreationAPI functions that implement | 18 // This is an abstract class. ResourceCreationAPI functions that implement |
17 // "old-style" resources are handled here. See | 19 // "old-style" resources are handled here. See |
18 // content/renderer/pepper/pepper_in_process_resource_creation.h for functions | 20 // content/renderer/pepper/pepper_in_process_resource_creation.h for functions |
19 // that implement "new-style" resources. | 21 // that implement "new-style" resources. |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 PP_Bool scroll_by_page) override; | 140 PP_Bool scroll_by_page) override; |
139 PP_Resource CreateX509CertificatePrivate(PP_Instance instance) override; | 141 PP_Resource CreateX509CertificatePrivate(PP_Instance instance) override; |
140 | 142 |
141 private: | 143 private: |
142 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 144 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
143 }; | 145 }; |
144 | 146 |
145 } // namespace content | 147 } // namespace content |
146 | 148 |
147 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ | 149 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |