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

Side by Side Diff: media/filters/null_video_renderer.h

Issue 8520033: Add OVERRIDE to media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « media/filters/null_audio_renderer.h ('k') | media/filters/reference_audio_renderer.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 MEDIA_FILTERS_NULL_VIDEO_RENDERER_H_ 5 #ifndef MEDIA_FILTERS_NULL_VIDEO_RENDERER_H_
6 #define MEDIA_FILTERS_NULL_VIDEO_RENDERER_H_ 6 #define MEDIA_FILTERS_NULL_VIDEO_RENDERER_H_
7 7
8 #include "media/filters/video_renderer_base.h" 8 #include "media/filters/video_renderer_base.h"
9 9
10 namespace media { 10 namespace media {
11 11
12 class NullVideoRenderer : public VideoRendererBase { 12 class NullVideoRenderer : public VideoRendererBase {
13 public: 13 public:
14 NullVideoRenderer(); 14 NullVideoRenderer();
15 15
16 // VideoRendererBase implementation. 16 // VideoRendererBase implementation.
17 virtual bool OnInitialize(VideoDecoder* decoder); 17 virtual bool OnInitialize(VideoDecoder* decoder) OVERRIDE;
18 virtual void OnStop(const base::Closure& callback); 18 virtual void OnStop(const base::Closure& callback) OVERRIDE;
19 virtual void OnFrameAvailable(); 19 virtual void OnFrameAvailable() OVERRIDE;
20 20
21 private: 21 private:
22 // Only allow to be deleted by reference counting. 22 // Only allow to be deleted by reference counting.
23 friend class scoped_refptr<NullVideoRenderer>; 23 friend class scoped_refptr<NullVideoRenderer>;
24 virtual ~NullVideoRenderer(); 24 virtual ~NullVideoRenderer();
25 25
26 DISALLOW_COPY_AND_ASSIGN(NullVideoRenderer); 26 DISALLOW_COPY_AND_ASSIGN(NullVideoRenderer);
27 }; 27 };
28 28
29 } // namespace media 29 } // namespace media
30 30
31 #endif // MEDIA_FILTERS_NULL_VIDEO_RENDERER_H_ 31 #endif // MEDIA_FILTERS_NULL_VIDEO_RENDERER_H_
OLDNEW
« no previous file with comments | « media/filters/null_audio_renderer.h ('k') | media/filters/reference_audio_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698