| 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_CPP_DEV_VIDEO_CAPTURE_DEV_H_ | 5 #ifndef PPAPI_CPP_DEV_VIDEO_CAPTURE_DEV_H_ |
| 6 #define PPAPI_CPP_DEV_VIDEO_CAPTURE_DEV_H_ | 6 #define PPAPI_CPP_DEV_VIDEO_CAPTURE_DEV_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 10 #include "ppapi/c/dev/pp_video_capture_dev.h" | 12 #include "ppapi/c/dev/pp_video_capture_dev.h" |
| 11 #include "ppapi/cpp/completion_callback.h" | 13 #include "ppapi/cpp/completion_callback.h" |
| 12 #include "ppapi/cpp/dev/device_ref_dev.h" | 14 #include "ppapi/cpp/dev/device_ref_dev.h" |
| 13 #include "ppapi/cpp/resource.h" | 15 #include "ppapi/cpp/resource.h" |
| 14 | 16 |
| 15 namespace pp { | 17 namespace pp { |
| 16 | 18 |
| 17 class InstanceHandle; | 19 class InstanceHandle; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 37 const CompletionCallback& callback); | 39 const CompletionCallback& callback); |
| 38 int32_t StartCapture(); | 40 int32_t StartCapture(); |
| 39 int32_t ReuseBuffer(uint32_t buffer); | 41 int32_t ReuseBuffer(uint32_t buffer); |
| 40 int32_t StopCapture(); | 42 int32_t StopCapture(); |
| 41 void Close(); | 43 void Close(); |
| 42 }; | 44 }; |
| 43 | 45 |
| 44 } // namespace pp | 46 } // namespace pp |
| 45 | 47 |
| 46 #endif // PPAPI_CPP_DEV_VIDEO_CAPTURE_DEV_H_ | 48 #endif // PPAPI_CPP_DEV_VIDEO_CAPTURE_DEV_H_ |
| OLD | NEW |