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 PPAPI_SHARED_IMPL_RESOURCE_H_ | 5 #ifndef PPAPI_SHARED_IMPL_RESOURCE_H_ |
6 #define PPAPI_SHARED_IMPL_RESOURCE_H_ | 6 #define PPAPI_SHARED_IMPL_RESOURCE_H_ |
7 | 7 |
8 #include <stddef.h> // For NULL. | 8 #include <stddef.h> // For NULL. |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 F(PPB_UDPSocket_API) \ | 76 F(PPB_UDPSocket_API) \ |
77 F(PPB_UDPSocket_Private_API) \ | 77 F(PPB_UDPSocket_Private_API) \ |
78 F(PPB_UMA_Singleton_API) \ | 78 F(PPB_UMA_Singleton_API) \ |
79 F(PPB_URLLoader_API) \ | 79 F(PPB_URLLoader_API) \ |
80 F(PPB_URLRequestInfo_API) \ | 80 F(PPB_URLRequestInfo_API) \ |
81 F(PPB_URLResponseInfo_API) \ | 81 F(PPB_URLResponseInfo_API) \ |
82 F(PPB_VideoCapture_API) \ | 82 F(PPB_VideoCapture_API) \ |
83 F(PPB_VideoDecoder_API) \ | 83 F(PPB_VideoDecoder_API) \ |
84 F(PPB_VideoDecoder_Dev_API) \ | 84 F(PPB_VideoDecoder_Dev_API) \ |
85 F(PPB_VideoDestination_Private_API) \ | 85 F(PPB_VideoDestination_Private_API) \ |
| 86 F(PPB_VideoEncoder_API) \ |
86 F(PPB_VideoFrame_API) \ | 87 F(PPB_VideoFrame_API) \ |
87 F(PPB_VideoLayer_API) \ | 88 F(PPB_VideoLayer_API) \ |
88 F(PPB_VideoSource_Private_API) \ | 89 F(PPB_VideoSource_Private_API) \ |
89 F(PPB_View_API) \ | 90 F(PPB_View_API) \ |
90 F(PPB_WebSocket_API) \ | 91 F(PPB_WebSocket_API) \ |
91 F(PPB_Widget_API) \ | 92 F(PPB_Widget_API) \ |
92 F(PPB_X509Certificate_Private_API) | 93 F(PPB_X509Certificate_Private_API) |
93 | 94 |
94 namespace IPC { | 95 namespace IPC { |
95 class Message; | 96 class Message; |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 template <> \ | 251 template <> \ |
251 inline thunk::RESOURCE* Resource::GetAs() { \ | 252 inline thunk::RESOURCE* Resource::GetAs() { \ |
252 return As##RESOURCE(); \ | 253 return As##RESOURCE(); \ |
253 } | 254 } |
254 FOR_ALL_PPAPI_RESOURCE_APIS(DEFINE_RESOURCE_CAST) | 255 FOR_ALL_PPAPI_RESOURCE_APIS(DEFINE_RESOURCE_CAST) |
255 #undef DEFINE_RESOURCE_CAST | 256 #undef DEFINE_RESOURCE_CAST |
256 | 257 |
257 } // namespace ppapi | 258 } // namespace ppapi |
258 | 259 |
259 #endif // PPAPI_SHARED_IMPL_RESOURCE_H_ | 260 #endif // PPAPI_SHARED_IMPL_RESOURCE_H_ |
OLD | NEW |