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

Side by Side Diff: webkit/glue/media/video_renderer_impl.h

Issue 7726002: Completely random typo fixes and style corrections cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR response. 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 | « media/video/video_decode_engine.h ('k') | webkit/glue/media/video_renderer_impl.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 WEBKIT_GLUE_MEDIA_VIDEO_RENDERER_IMPL_H_ 5 #ifndef WEBKIT_GLUE_MEDIA_VIDEO_RENDERER_IMPL_H_
6 #define WEBKIT_GLUE_MEDIA_VIDEO_RENDERER_IMPL_H_ 6 #define WEBKIT_GLUE_MEDIA_VIDEO_RENDERER_IMPL_H_
7 7
8 #include "media/base/buffers.h" 8 #include "media/base/buffers.h"
9 #include "media/base/filters.h" 9 #include "media/base/filters.h"
10 #include "media/filters/video_renderer_base.h" 10 #include "media/filters/video_renderer_base.h"
(...skipping 10 matching lines...) Expand all
21 // video frame buffers. 21 // video frame buffers.
22 class VideoRendererImpl : public WebVideoRenderer { 22 class VideoRendererImpl : public WebVideoRenderer {
23 public: 23 public:
24 explicit VideoRendererImpl(bool pts_logging); 24 explicit VideoRendererImpl(bool pts_logging);
25 virtual ~VideoRendererImpl(); 25 virtual ~VideoRendererImpl();
26 26
27 // WebVideoRenderer implementation. 27 // WebVideoRenderer implementation.
28 virtual void SetWebMediaPlayerProxy(WebMediaPlayerProxy* proxy) OVERRIDE; 28 virtual void SetWebMediaPlayerProxy(WebMediaPlayerProxy* proxy) OVERRIDE;
29 virtual void SetRect(const gfx::Rect& rect) OVERRIDE; 29 virtual void SetRect(const gfx::Rect& rect) OVERRIDE;
30 virtual void Paint(SkCanvas* canvas, const gfx::Rect& dest_rect) OVERRIDE; 30 virtual void Paint(SkCanvas* canvas, const gfx::Rect& dest_rect) OVERRIDE;
31 virtual void GetCurrentFrame(
32 scoped_refptr<media::VideoFrame>* frame_out) OVERRIDE;
33 virtual void PutCurrentFrame(
34 scoped_refptr<media::VideoFrame> frame) OVERRIDE;
35 31
36 protected: 32 protected:
37 // VideoRendererBase implementation. 33 // VideoRendererBase implementation.
38 virtual bool OnInitialize(media::VideoDecoder* decoder) OVERRIDE; 34 virtual bool OnInitialize(media::VideoDecoder* decoder) OVERRIDE;
39 virtual void OnStop(media::FilterCallback* callback) OVERRIDE; 35 virtual void OnStop(media::FilterCallback* callback) OVERRIDE;
40 virtual void OnFrameAvailable() OVERRIDE; 36 virtual void OnFrameAvailable() OVERRIDE;
41 37
42 private: 38 private:
43 // Determine the conditions to perform fast paint. Returns true if we can do 39 // Determine the conditions to perform fast paint. Returns true if we can do
44 // fast paint otherwise false. 40 // fast paint otherwise false.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 73
78 // Whether we're logging video presentation timestamps (PTS). 74 // Whether we're logging video presentation timestamps (PTS).
79 bool pts_logging_; 75 bool pts_logging_;
80 76
81 DISALLOW_COPY_AND_ASSIGN(VideoRendererImpl); 77 DISALLOW_COPY_AND_ASSIGN(VideoRendererImpl);
82 }; 78 };
83 79
84 } // namespace webkit_glue 80 } // namespace webkit_glue
85 81
86 #endif // WEBKIT_GLUE_MEDIA_VIDEO_RENDERER_IMPL_H_ 82 #endif // WEBKIT_GLUE_MEDIA_VIDEO_RENDERER_IMPL_H_
OLDNEW
« no previous file with comments | « media/video/video_decode_engine.h ('k') | webkit/glue/media/video_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698