OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef PPAPI_THUNK_PPB_MEDIA_STREAM_VIDEO_TRACK_API_H_ | |
6 #define PPAPI_THUNK_PPB_MEDIA_STREAM_VIDEO_TRACK_API_H_ | |
7 | |
8 namespace ppapi { | |
9 namespace thunk { | |
10 | |
11 class PPAPI_THUNK_EXPORT PPB_MediaStreamVideoTrack_API { | |
12 public: | |
13 virtual ~PPB_MediaStreamVideoTrack_API() {} | |
14 virtual PP_Var GetId() = 0; | |
15 virtual PP_Bool HasEnded() = 0; | |
16 virtual int32_t Configure(uint32_t max_buffered_frames) = 0; | |
17 virtual int32_t GetFrame( | |
18 PP_Resource* frame, | |
19 const scoped_refptr<ppapi::TrackedCallback>& callback) = 0; | |
bbudge
2014/01/09 18:55:26
const scoped_refptr<ppapi::TrackedCallback>& callb
Peng
2014/01/09 19:09:38
Done.
| |
20 virtual int32_t RecycleFrame(PP_Resource frame) = 0; | |
21 virtual void Close() = 0; | |
22 }; | |
23 | |
24 } // namespace thunk | |
25 } // namespace ppapi | |
26 | |
27 #endif // PPAPI_THUNK_PPB_MEDIA_STREAM_VIDEO_TRACK_API_H_ | |
OLD | NEW |