| 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 #ifndef PPAPI_CPP_MEDIA_STREAM_VIDEO_TRACK_H_ | 5 #ifndef PPAPI_CPP_MEDIA_STREAM_VIDEO_TRACK_H_ |
| 6 #define PPAPI_CPP_MEDIA_STREAM_VIDEO_TRACK_H_ | 6 #define PPAPI_CPP_MEDIA_STREAM_VIDEO_TRACK_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "ppapi/c/ppb_media_stream_video_track.h" | 12 #include "ppapi/c/ppb_media_stream_video_track.h" |
| 11 #include "ppapi/cpp/resource.h" | 13 #include "ppapi/cpp/resource.h" |
| 12 #include "ppapi/cpp/var.h" | 14 #include "ppapi/cpp/var.h" |
| 13 | 15 |
| 14 /// @file | 16 /// @file |
| 15 /// This file defines the <code>MediaStreamVideoTrack</code> interface for a | 17 /// This file defines the <code>MediaStreamVideoTrack</code> interface for a |
| 16 /// video source resource, which receives video frames from a MediaStream video | 18 /// video source resource, which receives video frames from a MediaStream video |
| 17 /// track in the browser. | 19 /// track in the browser. |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 /// | 157 /// |
| 156 /// @param[in] resource A <code>Resource</code> to test. | 158 /// @param[in] resource A <code>Resource</code> to test. |
| 157 /// | 159 /// |
| 158 /// @return True if <code>resource</code> is a MediaStream video track. | 160 /// @return True if <code>resource</code> is a MediaStream video track. |
| 159 static bool IsMediaStreamVideoTrack(const Resource& resource); | 161 static bool IsMediaStreamVideoTrack(const Resource& resource); |
| 160 }; | 162 }; |
| 161 | 163 |
| 162 } // namespace pp | 164 } // namespace pp |
| 163 | 165 |
| 164 #endif // PPAPI_CPP_MEDIA_STREAM_VIDEO_TRACK_H_ | 166 #endif // PPAPI_CPP_MEDIA_STREAM_VIDEO_TRACK_H_ |
| OLD | NEW |