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

Side by Side Diff: ppapi/shared_impl/video_decoder_impl.h

Issue 7687005: Create ppapi_proxy.dll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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/shared_impl/var_tracker.h ('k') | ppapi/shared_impl/webkit_forwarding.h » ('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_SHARED_IMPL_VIDEO_DECODER_IMPL_H_ 5 #ifndef PPAPI_SHARED_IMPL_VIDEO_DECODER_IMPL_H_
6 #define PPAPI_SHARED_IMPL_VIDEO_DECODER_IMPL_H_ 6 #define PPAPI_SHARED_IMPL_VIDEO_DECODER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 12 matching lines...) Expand all
23 namespace ppapi { 23 namespace ppapi {
24 namespace thunk { 24 namespace thunk {
25 class PPB_Context3D_API; 25 class PPB_Context3D_API;
26 } // namespace thunk 26 } // namespace thunk
27 } // namespace ppapi 27 } // namespace ppapi
28 28
29 namespace ppapi { 29 namespace ppapi {
30 30
31 // Implements the logic to set and run callbacks for various video decoder 31 // Implements the logic to set and run callbacks for various video decoder
32 // events. Both the proxy and the renderer implementation share this code. 32 // events. Both the proxy and the renderer implementation share this code.
33 class VideoDecoderImpl : public thunk::PPB_VideoDecoder_API { 33 class PPAPI_SHARED_EXPORT VideoDecoderImpl
34 : NON_EXPORTED_BASE(public thunk::PPB_VideoDecoder_API) {
34 public: 35 public:
35 VideoDecoderImpl(); 36 VideoDecoderImpl();
36 virtual ~VideoDecoderImpl(); 37 virtual ~VideoDecoderImpl();
37 38
38 // PPB_VideoDecoder_API implementation. 39 // PPB_VideoDecoder_API implementation.
39 virtual void Destroy() OVERRIDE; 40 virtual void Destroy() OVERRIDE;
40 41
41 // Copy C-style config list into |out_configs| vector. 42 // Copy C-style config list into |out_configs| vector.
42 static bool CopyConfigsToVector( 43 static bool CopyConfigsToVector(
43 const PP_VideoConfigElement* configs_to_copy, 44 const PP_VideoConfigElement* configs_to_copy,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 // In the out-of-process case, Context3D's gles2_impl() exists in the plugin 80 // In the out-of-process case, Context3D's gles2_impl() exists in the plugin
80 // process only, so gles2_impl_ is NULL in that case. 81 // process only, so gles2_impl_ is NULL in that case.
81 gpu::gles2::GLES2Implementation* gles2_impl_; 82 gpu::gles2::GLES2Implementation* gles2_impl_;
82 83
83 DISALLOW_COPY_AND_ASSIGN(VideoDecoderImpl); 84 DISALLOW_COPY_AND_ASSIGN(VideoDecoderImpl);
84 }; 85 };
85 86
86 } // namespace ppapi 87 } // namespace ppapi
87 88
88 #endif // PPAPI_SHARED_IMPL_VIDEO_DECODER_IMPL_H_ 89 #endif // PPAPI_SHARED_IMPL_VIDEO_DECODER_IMPL_H_
OLDNEW
« no previous file with comments | « ppapi/shared_impl/var_tracker.h ('k') | ppapi/shared_impl/webkit_forwarding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698