OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_THUNK_PPB_CAMERA_CAPABILITIES_API_H_ | 5 #ifndef PPAPI_THUNK_PPB_CAMERA_CAPABILITIES_API_H_ |
6 #define PPAPI_THUNK_PPB_CAMERA_CAPABILITIES_API_H_ | 6 #define PPAPI_THUNK_PPB_CAMERA_CAPABILITIES_API_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "ppapi/c/private/ppb_camera_capabilities_private.h" | 10 #include "ppapi/c/private/ppb_camera_capabilities_private.h" |
9 #include "ppapi/thunk/ppapi_thunk_export.h" | 11 #include "ppapi/thunk/ppapi_thunk_export.h" |
10 | 12 |
11 namespace ppapi { | 13 namespace ppapi { |
12 | 14 |
13 namespace thunk { | 15 namespace thunk { |
14 | 16 |
15 class PPAPI_THUNK_EXPORT PPB_CameraCapabilities_API { | 17 class PPAPI_THUNK_EXPORT PPB_CameraCapabilities_API { |
16 public: | 18 public: |
17 virtual ~PPB_CameraCapabilities_API() {} | 19 virtual ~PPB_CameraCapabilities_API() {} |
18 virtual void GetSupportedVideoCaptureFormats( | 20 virtual void GetSupportedVideoCaptureFormats( |
19 uint32_t* array_size, | 21 uint32_t* array_size, |
20 PP_VideoCaptureFormat** formats) = 0; | 22 PP_VideoCaptureFormat** formats) = 0; |
21 }; | 23 }; |
22 | 24 |
23 } // namespace thunk | 25 } // namespace thunk |
24 } // namespace ppapi | 26 } // namespace ppapi |
25 | 27 |
26 #endif // PPAPI_THUNK_PPB_CAMERA_CAPABILITIES_API_H_ | 28 #endif // PPAPI_THUNK_PPB_CAMERA_CAPABILITIES_API_H_ |
OLD | NEW |