| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_PRIVATE_VIDEO_SOURCE_PRIVATE_H_ | 5 #ifndef PPAPI_CPP_PRIVATE_VIDEO_SOURCE_PRIVATE_H_ |
| 6 #define PPAPI_CPP_PRIVATE_VIDEO_SOURCE_PRIVATE_H_ | 6 #define PPAPI_CPP_PRIVATE_VIDEO_SOURCE_PRIVATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "ppapi/c/pp_time.h" | 12 #include "ppapi/c/pp_time.h" |
| 11 #include "ppapi/cpp/completion_callback.h" | 13 #include "ppapi/cpp/completion_callback.h" |
| 12 #include "ppapi/cpp/pass_ref.h" | 14 #include "ppapi/cpp/pass_ref.h" |
| 13 #include "ppapi/cpp/resource.h" | 15 #include "ppapi/cpp/resource.h" |
| 14 | 16 |
| 15 /// @file | 17 /// @file |
| 16 /// This file defines the <code>PPB_VideoSource_Private</code> interface for a | 18 /// This file defines the <code>PPB_VideoSource_Private</code> interface for a |
| 17 /// video source resource, which receives video frames from a MediaStream video | 19 /// video source resource, which receives video frames from a MediaStream video |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 int32_t GetFrame( | 78 int32_t GetFrame( |
| 77 const CompletionCallbackWithOutput<VideoFrame_Private>& cc); | 79 const CompletionCallbackWithOutput<VideoFrame_Private>& cc); |
| 78 | 80 |
| 79 /// Closes the video source. | 81 /// Closes the video source. |
| 80 void Close(); | 82 void Close(); |
| 81 }; | 83 }; |
| 82 | 84 |
| 83 } // namespace pp | 85 } // namespace pp |
| 84 | 86 |
| 85 #endif // PPAPI_CPP_PRIVATE_VIDEO_SOURCE_PRIVATE_H_ | 87 #endif // PPAPI_CPP_PRIVATE_VIDEO_SOURCE_PRIVATE_H_ |
| OLD | NEW |