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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 F(PPB_URLResponseInfo_API) \ | 82 F(PPB_URLResponseInfo_API) \ |
83 F(PPB_VideoCapture_API) \ | 83 F(PPB_VideoCapture_API) \ |
84 F(PPB_VideoDecoder_API) \ | 84 F(PPB_VideoDecoder_API) \ |
85 F(PPB_VideoDecoder_Dev_API) \ | 85 F(PPB_VideoDecoder_Dev_API) \ |
86 F(PPB_VideoDestination_Private_API) \ | 86 F(PPB_VideoDestination_Private_API) \ |
87 F(PPB_VideoEncoder_API) \ | 87 F(PPB_VideoEncoder_API) \ |
88 F(PPB_VideoFrame_API) \ | 88 F(PPB_VideoFrame_API) \ |
89 F(PPB_VideoLayer_API) \ | 89 F(PPB_VideoLayer_API) \ |
90 F(PPB_VideoSource_Private_API) \ | 90 F(PPB_VideoSource_Private_API) \ |
91 F(PPB_View_API) \ | 91 F(PPB_View_API) \ |
| 92 F(PPB_VpnProvider_API) \ |
92 F(PPB_WebSocket_API) \ | 93 F(PPB_WebSocket_API) \ |
93 F(PPB_Widget_API) \ | 94 F(PPB_Widget_API) \ |
94 F(PPB_X509Certificate_Private_API) | 95 F(PPB_X509Certificate_Private_API) |
95 | 96 |
96 namespace IPC { | 97 namespace IPC { |
97 class Message; | 98 class Message; |
98 } | 99 } |
99 | 100 |
100 namespace ppapi { | 101 namespace ppapi { |
101 | 102 |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 template <> \ | 253 template <> \ |
253 inline thunk::RESOURCE* Resource::GetAs() { \ | 254 inline thunk::RESOURCE* Resource::GetAs() { \ |
254 return As##RESOURCE(); \ | 255 return As##RESOURCE(); \ |
255 } | 256 } |
256 FOR_ALL_PPAPI_RESOURCE_APIS(DEFINE_RESOURCE_CAST) | 257 FOR_ALL_PPAPI_RESOURCE_APIS(DEFINE_RESOURCE_CAST) |
257 #undef DEFINE_RESOURCE_CAST | 258 #undef DEFINE_RESOURCE_CAST |
258 | 259 |
259 } // namespace ppapi | 260 } // namespace ppapi |
260 | 261 |
261 #endif // PPAPI_SHARED_IMPL_RESOURCE_H_ | 262 #endif // PPAPI_SHARED_IMPL_RESOURCE_H_ |
OLD | NEW |