Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1220)

Side by Side Diff: ppapi/thunk/ppb_media_stream_video_track_api.h

Issue 126823007: [PPAPI] API thunk for video media stream track. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@video_track_thunk
Patch Set: Rebase Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 scoped_refptr<ppapi::TrackedCallback> callback) = 0;
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_
OLDNEW
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_dev_channel.h ('k') | ppapi/thunk/ppb_media_stream_video_track_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698