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

Side by Side Diff: webkit/glue/webmediaplayer_impl.h

Issue 8539047: Add OVERRIDE to webkit/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix 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 | « webkit/glue/media/web_data_source_factory.h ('k') | webkit/plugins/npapi/plugin_stream_url.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 // Delegate calls from WebCore::MediaPlayerPrivate to Chrome's video player. 5 // Delegate calls from WebCore::MediaPlayerPrivate to Chrome's video player.
6 // It contains PipelineImpl which is the actual media player pipeline, it glues 6 // It contains PipelineImpl which is the actual media player pipeline, it glues
7 // the media player pipeline, data source, audio renderer and renderer. 7 // the media player pipeline, data source, audio renderer and renderer.
8 // PipelineImpl would creates multiple threads and access some public methods 8 // PipelineImpl would creates multiple threads and access some public methods
9 // of this class, so we need to be extra careful about concurrent access of 9 // of this class, so we need to be extra careful about concurrent access of
10 // methods and members. 10 // methods and members.
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 virtual WebKit::WebVideoFrame* getCurrentFrame(); 179 virtual WebKit::WebVideoFrame* getCurrentFrame();
180 virtual void putCurrentFrame(WebKit::WebVideoFrame* web_video_frame); 180 virtual void putCurrentFrame(WebKit::WebVideoFrame* web_video_frame);
181 181
182 virtual bool sourceAppend(const unsigned char* data, unsigned length); 182 virtual bool sourceAppend(const unsigned char* data, unsigned length);
183 virtual void sourceEndOfStream(EndOfStreamStatus status); 183 virtual void sourceEndOfStream(EndOfStreamStatus status);
184 184
185 // As we are closing the tab or even the browser, |main_loop_| is destroyed 185 // As we are closing the tab or even the browser, |main_loop_| is destroyed
186 // even before this object gets destructed, so we need to know when 186 // even before this object gets destructed, so we need to know when
187 // |main_loop_| is being destroyed and we can stop posting repaint task 187 // |main_loop_| is being destroyed and we can stop posting repaint task
188 // to it. 188 // to it.
189 virtual void WillDestroyCurrentMessageLoop(); 189 virtual void WillDestroyCurrentMessageLoop() OVERRIDE;
190 190
191 void Repaint(); 191 void Repaint();
192 192
193 void OnPipelineInitialize(media::PipelineStatus status); 193 void OnPipelineInitialize(media::PipelineStatus status);
194 void OnPipelineSeek(media::PipelineStatus status); 194 void OnPipelineSeek(media::PipelineStatus status);
195 void OnPipelineEnded(media::PipelineStatus status); 195 void OnPipelineEnded(media::PipelineStatus status);
196 void OnPipelineError(media::PipelineStatus error); 196 void OnPipelineError(media::PipelineStatus error);
197 void OnNetworkEvent(bool is_downloading_data); 197 void OnNetworkEvent(bool is_downloading_data);
198 void OnDemuxerOpened(); 198 void OnDemuxerOpened();
199 199
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 bool is_accelerated_compositing_active_; 270 bool is_accelerated_compositing_active_;
271 271
272 bool incremented_externally_allocated_memory_; 272 bool incremented_externally_allocated_memory_;
273 273
274 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 274 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
275 }; 275 };
276 276
277 } // namespace webkit_glue 277 } // namespace webkit_glue
278 278
279 #endif // WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_ 279 #endif // WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/media/web_data_source_factory.h ('k') | webkit/plugins/npapi/plugin_stream_url.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698