| OLD | NEW |
| 1 /* Copyright 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright 2014 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 | 5 |
| 6 #ifndef PPAPI_CPP_PRIVATE_CAMERA_DEVICE_PRIVATE_H_ | 6 #ifndef PPAPI_CPP_PRIVATE_CAMERA_DEVICE_PRIVATE_H_ |
| 7 #define PPAPI_CPP_PRIVATE_CAMERA_DEVICE_PRIVATE_H_ | 7 #define PPAPI_CPP_PRIVATE_CAMERA_DEVICE_PRIVATE_H_ |
| 8 | 8 |
| 9 #include <stdint.h> |
| 10 |
| 9 #include "ppapi/c/private/ppb_camera_device_private.h" | 11 #include "ppapi/c/private/ppb_camera_device_private.h" |
| 10 #include "ppapi/cpp/resource.h" | 12 #include "ppapi/cpp/resource.h" |
| 11 #include "ppapi/cpp/var.h" | 13 #include "ppapi/cpp/var.h" |
| 12 | 14 |
| 13 /// @file | 15 /// @file |
| 14 /// Defines the <code>CameraDevice_Private</code> interface. Used for | 16 /// Defines the <code>CameraDevice_Private</code> interface. Used for |
| 15 /// manipulating a camera device. | 17 /// manipulating a camera device. |
| 16 namespace pp { | 18 namespace pp { |
| 17 | 19 |
| 18 class CameraCapabilities_Private; | 20 class CameraCapabilities_Private; |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 /// @param[in] resource The <code>Resource</code> to test. | 96 /// @param[in] resource The <code>Resource</code> to test. |
| 95 /// | 97 /// |
| 96 /// @return true if the given resource is a camera device resource or false | 98 /// @return true if the given resource is a camera device resource or false |
| 97 /// otherwise. | 99 /// otherwise. |
| 98 static bool IsCameraDevice(const Resource& resource); | 100 static bool IsCameraDevice(const Resource& resource); |
| 99 }; | 101 }; |
| 100 | 102 |
| 101 } // namespace pp | 103 } // namespace pp |
| 102 | 104 |
| 103 #endif /* PPAPI_CPP_PRIVATE_CAMERA_DEVICE_PRIVATE_H_ */ | 105 #endif /* PPAPI_CPP_PRIVATE_CAMERA_DEVICE_PRIVATE_H_ */ |
| OLD | NEW |