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

Side by Side Diff: ppapi/proxy/ppp_video_decoder_proxy.h

Issue 9186022: Remove VideoDecodeAccelerator::Client::NotifyEndOfStream / PPP_VideoDecoder_Dev::EndOfStream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppp_video_decoder_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PROXY_PPP_VIDEO_DECODER_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPP_VIDEO_DECODER_PROXY_H_
6 #define PPAPI_PROXY_PPP_VIDEO_DECODER_PROXY_H_ 6 #define PPAPI_PROXY_PPP_VIDEO_DECODER_PROXY_H_
7 7
8 #include "ppapi/c/dev/ppp_video_decoder_dev.h" 8 #include "ppapi/c/dev/ppp_video_decoder_dev.h"
9 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/proxy/interface_proxy.h" 10 #include "ppapi/proxy/interface_proxy.h"
(...skipping 17 matching lines...) Expand all
28 28
29 private: 29 private:
30 // Message handlers. 30 // Message handlers.
31 void OnMsgProvidePictureBuffers(const ppapi::HostResource& decoder, 31 void OnMsgProvidePictureBuffers(const ppapi::HostResource& decoder,
32 uint32_t req_num_of_buffers, 32 uint32_t req_num_of_buffers,
33 const PP_Size& dimensions); 33 const PP_Size& dimensions);
34 void OnMsgDismissPictureBuffer(const ppapi::HostResource& decoder, 34 void OnMsgDismissPictureBuffer(const ppapi::HostResource& decoder,
35 int32_t picture_id); 35 int32_t picture_id);
36 void OnMsgPictureReady(const ppapi::HostResource& decoder, 36 void OnMsgPictureReady(const ppapi::HostResource& decoder,
37 const PP_Picture_Dev& picture_buffer); 37 const PP_Picture_Dev& picture_buffer);
38 void OnMsgNotifyEndOfStream(const ppapi::HostResource& decoder);
39 void OnMsgNotifyError(const ppapi::HostResource& decoder, 38 void OnMsgNotifyError(const ppapi::HostResource& decoder,
40 PP_VideoDecodeError_Dev error); 39 PP_VideoDecodeError_Dev error);
41 40
42 // When this proxy is in the plugin side, this value caches the interface 41 // When this proxy is in the plugin side, this value caches the interface
43 // pointer so we don't have to retrieve it from the dispatcher each time. 42 // pointer so we don't have to retrieve it from the dispatcher each time.
44 // In the host, this value is always NULL. 43 // In the host, this value is always NULL.
45 const PPP_VideoDecoder_Dev* ppp_video_decoder_impl_; 44 const PPP_VideoDecoder_Dev* ppp_video_decoder_impl_;
46 45
47 DISALLOW_COPY_AND_ASSIGN(PPP_VideoDecoder_Proxy); 46 DISALLOW_COPY_AND_ASSIGN(PPP_VideoDecoder_Proxy);
48 }; 47 };
49 48
50 } // namespace proxy 49 } // namespace proxy
51 } // namespace ppapi 50 } // namespace ppapi
52 51
53 #endif // PPAPI_PROXY_PPP_VIDEO_DECODER_PROXY_H_ 52 #endif // PPAPI_PROXY_PPP_VIDEO_DECODER_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppp_video_decoder_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698