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

Side by Side Diff: media/base/renderer.h

Issue 2533273002: media: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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/base/pipeline_impl.h ('k') | media/blink/texttrack_impl.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 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_BASE_RENDERER_H_ 5 #ifndef MEDIA_BASE_RENDERER_H_
6 #define MEDIA_BASE_RENDERER_H_ 6 #define MEDIA_BASE_RENDERER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "media/base/buffering_state.h" 12 #include "media/base/buffering_state.h"
13 #include "media/base/cdm_context.h" 13 #include "media/base/cdm_context.h"
14 #include "media/base/media_export.h" 14 #include "media/base/media_export.h"
15 #include "media/base/pipeline_status.h" 15 #include "media/base/pipeline_status.h"
16 16
17 namespace media { 17 namespace media {
18 18
19 class DemuxerStreamProvider; 19 class DemuxerStreamProvider;
20 class RendererClient; 20 class RendererClient;
21 class VideoFrame;
22 21
23 class MEDIA_EXPORT Renderer { 22 class MEDIA_EXPORT Renderer {
24 public: 23 public:
25 Renderer(); 24 Renderer();
26 25
27 // Stops rendering and fires any pending callbacks. 26 // Stops rendering and fires any pending callbacks.
28 virtual ~Renderer(); 27 virtual ~Renderer();
29 28
30 // Initializes the Renderer with |demuxer_stream_provider|, executing 29 // Initializes the Renderer with |demuxer_stream_provider|, executing
31 // |init_cb| upon completion. |demuxer_stream_provider| must be valid for 30 // |init_cb| upon completion. |demuxer_stream_provider| must be valid for
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // Returns whether |this| renders video. 63 // Returns whether |this| renders video.
65 virtual bool HasVideo() = 0; 64 virtual bool HasVideo() = 0;
66 65
67 private: 66 private:
68 DISALLOW_COPY_AND_ASSIGN(Renderer); 67 DISALLOW_COPY_AND_ASSIGN(Renderer);
69 }; 68 };
70 69
71 } // namespace media 70 } // namespace media
72 71
73 #endif // MEDIA_BASE_RENDERER_H_ 72 #endif // MEDIA_BASE_RENDERER_H_
OLDNEW
« no previous file with comments | « media/base/pipeline_impl.h ('k') | media/blink/texttrack_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698