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

Side by Side Diff: media/mojo/services/mojo_renderer_impl.h

Issue 1053113002: Prime the landing pad for the new video rendering pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix cast. Created 5 years, 8 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
« no previous file with comments | « media/mojo/services/mojo_renderer_factory.cc ('k') | media/mojo/services/mojo_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_MOJO_SERVICES_MOJO_RENDERER_IMPL_H_ 5 #ifndef MEDIA_MOJO_SERVICES_MOJO_RENDERER_IMPL_H_
6 #define MEDIA_MOJO_SERVICES_MOJO_RENDERER_IMPL_H_ 6 #define MEDIA_MOJO_SERVICES_MOJO_RENDERER_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "media/base/renderer.h" 10 #include "media/base/renderer.h"
(...skipping 19 matching lines...) Expand all
30 MojoRendererImpl( 30 MojoRendererImpl(
31 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, 31 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner,
32 mojo::MediaRendererPtr remote_media_renderer); 32 mojo::MediaRendererPtr remote_media_renderer);
33 ~MojoRendererImpl() override; 33 ~MojoRendererImpl() override;
34 34
35 // Renderer implementation. 35 // Renderer implementation.
36 void Initialize(DemuxerStreamProvider* demuxer_stream_provider, 36 void Initialize(DemuxerStreamProvider* demuxer_stream_provider,
37 const PipelineStatusCB& init_cb, 37 const PipelineStatusCB& init_cb,
38 const StatisticsCB& statistics_cb, 38 const StatisticsCB& statistics_cb,
39 const BufferingStateCB& buffering_state_cb, 39 const BufferingStateCB& buffering_state_cb,
40 const PaintCB& paint_cb,
41 const base::Closure& ended_cb, 40 const base::Closure& ended_cb,
42 const PipelineStatusCB& error_cb, 41 const PipelineStatusCB& error_cb,
43 const base::Closure& waiting_for_decryption_key_cb) override; 42 const base::Closure& waiting_for_decryption_key_cb) override;
44 void SetCdm(CdmContext* cdm_context, 43 void SetCdm(CdmContext* cdm_context,
45 const CdmAttachedCB& cdm_attached_cb) override; 44 const CdmAttachedCB& cdm_attached_cb) override;
46 void Flush(const base::Closure& flush_cb) override; 45 void Flush(const base::Closure& flush_cb) override;
47 void StartPlayingFrom(base::TimeDelta time) override; 46 void StartPlayingFrom(base::TimeDelta time) override;
48 void SetPlaybackRate(float playback_rate) override; 47 void SetPlaybackRate(float playback_rate) override;
49 void SetVolume(float volume) override; 48 void SetVolume(float volume) override;
50 base::TimeDelta GetMediaTime() override; 49 base::TimeDelta GetMediaTime() override;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 base::TimeDelta max_time_; 82 base::TimeDelta max_time_;
84 83
85 base::WeakPtrFactory<MojoRendererImpl> weak_factory_; 84 base::WeakPtrFactory<MojoRendererImpl> weak_factory_;
86 85
87 DISALLOW_COPY_AND_ASSIGN(MojoRendererImpl); 86 DISALLOW_COPY_AND_ASSIGN(MojoRendererImpl);
88 }; 87 };
89 88
90 } // namespace media 89 } // namespace media
91 90
92 #endif // MEDIA_MOJO_SERVICES_MOJO_RENDERER_IMPL_H_ 91 #endif // MEDIA_MOJO_SERVICES_MOJO_RENDERER_IMPL_H_
OLDNEW
« no previous file with comments | « media/mojo/services/mojo_renderer_factory.cc ('k') | media/mojo/services/mojo_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698