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

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

Issue 101463008: [NOT FOR REVIEW][PPAPI] Implement MediaStreamVideoTrack pepper API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Update 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
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_dev.h ('k') | ppapi/thunk/ppb_media_stream_video_track_api.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_MEDIA_STREAM_TRACK_API_H_
6 #define PPAPI_THUNK_MEDIA_STREAM_TRACK_API_H_
7
8 #include "base/memory/ref_counted.h"
9 #include "ppapi/c/pp_bool.h"
10 #include "ppapi/c/pp_var.h"
11
12 namespace ppapi {
13
14 class TrackedCallback;
15
16 namespace thunk {
17
18 class PPB_MediaStreamTrack_API {
19 public:
20 virtual ~PPB_MediaStreamTrack_API() {}
21 virtual PP_Var GetId() = 0;
22 virtual PP_Bool HasEnded() = 0;
23 virtual int32_t GetFrame(
24 PP_Resource* frame,
25 const scoped_refptr<ppapi::TrackedCallback>& callback) = 0;
26 virtual int32_t RecycleFrame(PP_Resource frame) = 0;
27 virtual void Close() = 0;
28 };
29
30 } // namespace thunk
31 } // namespace ppapi
32
33 #endif // PPAPI_THUNK_MEDIA_STREAM_VIDEO_TRACK_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_dev.h ('k') | ppapi/thunk/ppb_media_stream_video_track_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698