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

Side by Side Diff: webkit/media/webmediaplayer_proxy.h

Issue 10837118: Dead code elimination: scythe.chrome_functions:segment.path %media% edition, round 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_MEDIA_WEBMEDIAPLAYER_PROXY_H_ 5 #ifndef WEBKIT_MEDIA_WEBMEDIAPLAYER_PROXY_H_
6 #define WEBKIT_MEDIA_WEBMEDIAPLAYER_PROXY_H_ 6 #define WEBKIT_MEDIA_WEBMEDIAPLAYER_PROXY_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // TODO(scherkus): remove this once VideoRendererBase::PaintCB passes 57 // TODO(scherkus): remove this once VideoRendererBase::PaintCB passes
58 // ownership of the VideoFrame http://crbug.com/108435 58 // ownership of the VideoFrame http://crbug.com/108435
59 void set_frame_provider(media::VideoRendererBase* frame_provider) { 59 void set_frame_provider(media::VideoRendererBase* frame_provider) {
60 frame_provider_ = frame_provider; 60 frame_provider_ = frame_provider;
61 } 61 }
62 62
63 void set_video_decoder( 63 void set_video_decoder(
64 const scoped_refptr<media::FFmpegVideoDecoder>& video_decoder) { 64 const scoped_refptr<media::FFmpegVideoDecoder>& video_decoder) {
65 video_decoder_ = video_decoder; 65 video_decoder_ = video_decoder;
66 } 66 }
67 const scoped_refptr<media::FFmpegVideoDecoder>& video_decoder() {
68 return video_decoder_;
69 }
70 67
71 // Methods for Filter -> WebMediaPlayerImpl communication. 68 // Methods for Filter -> WebMediaPlayerImpl communication.
72 void Repaint(); 69 void Repaint();
73 void SetOpaque(bool opaque); 70 void SetOpaque(bool opaque);
74 71
75 // Methods for WebMediaPlayerImpl -> Filter communication. 72 // Methods for WebMediaPlayerImpl -> Filter communication.
76 void Paint(SkCanvas* canvas, const gfx::Rect& dest_rect, uint8_t alpha); 73 void Paint(SkCanvas* canvas, const gfx::Rect& dest_rect, uint8_t alpha);
77 void Detach(); 74 void Detach();
78 void GetCurrentFrame(scoped_refptr<media::VideoFrame>* frame_out); 75 void GetCurrentFrame(scoped_refptr<media::VideoFrame>* frame_out);
79 void PutCurrentFrame(scoped_refptr<media::VideoFrame> frame); 76 void PutCurrentFrame(scoped_refptr<media::VideoFrame> frame);
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 int outstanding_repaints_; 183 int outstanding_repaints_;
187 184
188 scoped_refptr<media::ChunkDemuxer> chunk_demuxer_; 185 scoped_refptr<media::ChunkDemuxer> chunk_demuxer_;
189 186
190 DISALLOW_IMPLICIT_CONSTRUCTORS(WebMediaPlayerProxy); 187 DISALLOW_IMPLICIT_CONSTRUCTORS(WebMediaPlayerProxy);
191 }; 188 };
192 189
193 } // namespace webkit_media 190 } // namespace webkit_media
194 191
195 #endif // WEBKIT_MEDIA_WEBMEDIAPLAYER_PROXY_H_ 192 #endif // WEBKIT_MEDIA_WEBMEDIAPLAYER_PROXY_H_
OLDNEW
« content/common/gpu/media/h264_parser.h ('K') | « webkit/media/webmediaplayer_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698