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

Side by Side Diff: content/renderer/renderer_gpu_video_decoder_factories.h

Issue 8893022: Revert 113899 - Add missing 'virtual'. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | « no previous file | no next file » | 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 CONTENT_RENDERER_RENDERER_GPU_VIDEO_DECODER_FACTORIES_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_GPU_VIDEO_DECODER_FACTORIES_H_
6 #define CONTENT_RENDERER_RENDERER_GPU_VIDEO_DECODER_FACTORIES_H_ 6 #define CONTENT_RENDERER_RENDERER_GPU_VIDEO_DECODER_FACTORIES_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 11 matching lines...) Expand all
22 class RendererGpuVideoDecoderFactories 22 class RendererGpuVideoDecoderFactories
23 : public media::GpuVideoDecoder::Factories { 23 : public media::GpuVideoDecoder::Factories {
24 public: 24 public:
25 // Takes a ref on |gpu_channel_host| and tests |context| for NULL before each 25 // Takes a ref on |gpu_channel_host| and tests |context| for NULL before each
26 // use. 26 // use.
27 RendererGpuVideoDecoderFactories(GpuChannelHost* gpu_channel_host, 27 RendererGpuVideoDecoderFactories(GpuChannelHost* gpu_channel_host,
28 base::WeakPtr<RendererGLContext> context); 28 base::WeakPtr<RendererGLContext> context);
29 29
30 virtual ~RendererGpuVideoDecoderFactories(); 30 virtual ~RendererGpuVideoDecoderFactories();
31 31
32 virtual media::VideoDecodeAccelerator* CreateVideoDecodeAccelerator( 32 media::VideoDecodeAccelerator* CreateVideoDecodeAccelerator(
33 media::VideoDecodeAccelerator::Profile profile, 33 media::VideoDecodeAccelerator::Profile profile,
34 media::VideoDecodeAccelerator::Client* client) OVERRIDE; 34 media::VideoDecodeAccelerator::Client* client) OVERRIDE;
35 35
36 virtual bool CreateTextures(int32 count, const gfx::Size& size, 36 virtual bool CreateTextures(int32 count, const gfx::Size& size,
37 std::vector<uint32>* texture_ids) OVERRIDE; 37 std::vector<uint32>* texture_ids) OVERRIDE;
38 38
39 virtual bool DeleteTexture(uint32 texture_id) OVERRIDE; 39 virtual bool DeleteTexture(uint32 texture_id) OVERRIDE;
40 40
41 virtual base::SharedMemory* CreateSharedMemory(size_t size) OVERRIDE; 41 virtual base::SharedMemory* CreateSharedMemory(size_t size) OVERRIDE;
42 42
43 private: 43 private:
44 scoped_refptr<GpuChannelHost> gpu_channel_host_; 44 scoped_refptr<GpuChannelHost> gpu_channel_host_;
45 base::WeakPtr<RendererGLContext> context_; 45 base::WeakPtr<RendererGLContext> context_;
46 DISALLOW_IMPLICIT_CONSTRUCTORS(RendererGpuVideoDecoderFactories); 46 DISALLOW_IMPLICIT_CONSTRUCTORS(RendererGpuVideoDecoderFactories);
47 }; 47 };
48 48
49 #endif // CONTENT_RENDERER_RENDERER_GPU_VIDEO_DECODER_FACTORIES_H_ 49 #endif // CONTENT_RENDERER_RENDERER_GPU_VIDEO_DECODER_FACTORIES_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698