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

Side by Side Diff: content/renderer/media/renderer_webmediaplayer_delegate.h

Issue 2537513006: content: Cleanup class/struct forward declarations (Closed)
Patch Set: 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CONTENT_RENDERER_MEDIA_RENDERER_WEBMEDIAPLAYER_DELEGATE_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_RENDERER_WEBMEDIAPLAYER_DELEGATE_H_
6 #define CONTENT_RENDERER_MEDIA_RENDERER_WEBMEDIAPLAYER_DELEGATE_H_ 6 #define CONTENT_RENDERER_MEDIA_RENDERER_WEBMEDIAPLAYER_DELEGATE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
11 11
12 #include "base/id_map.h" 12 #include "base/id_map.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/time/default_tick_clock.h" 15 #include "base/time/default_tick_clock.h"
16 #include "base/timer/timer.h" 16 #include "base/timer/timer.h"
17 #include "content/common/content_export.h" 17 #include "content/common/content_export.h"
18 #include "content/public/renderer/render_frame_observer.h" 18 #include "content/public/renderer/render_frame_observer.h"
19 #include "media/blink/webmediaplayer_delegate.h" 19 #include "media/blink/webmediaplayer_delegate.h"
20 20
21 #if defined(OS_ANDROID) 21 #if defined(OS_ANDROID)
22 #include "base/time/time.h" 22 #include "base/time/time.h"
23 #endif // OS_ANDROID 23 #endif // OS_ANDROID
24 24
25 namespace blink {
26 class WebMediaPlayer;
27 }
28
29 namespace media { 25 namespace media {
30 26
31 enum class MediaContentType; 27 enum class MediaContentType;
32 28
33 // An interface to allow a WebMediaPlayerImpl to communicate changes of state 29 // An interface to allow a WebMediaPlayerImpl to communicate changes of state
34 // to objects that need to know. 30 // to objects that need to know.
35 class CONTENT_EXPORT RendererWebMediaPlayerDelegate 31 class CONTENT_EXPORT RendererWebMediaPlayerDelegate
36 : public content::RenderFrameObserver, 32 : public content::RenderFrameObserver,
37 public NON_EXPORTED_BASE(WebMediaPlayerDelegate), 33 public NON_EXPORTED_BASE(WebMediaPlayerDelegate),
38 public NON_EXPORTED_BASE( 34 public NON_EXPORTED_BASE(
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // Determined at construction time based on system information; determines 130 // Determined at construction time based on system information; determines
135 // when the idle cleanup timer should be fired more aggressively. 131 // when the idle cleanup timer should be fired more aggressively.
136 bool is_low_end_device_; 132 bool is_low_end_device_;
137 133
138 DISALLOW_COPY_AND_ASSIGN(RendererWebMediaPlayerDelegate); 134 DISALLOW_COPY_AND_ASSIGN(RendererWebMediaPlayerDelegate);
139 }; 135 };
140 136
141 } // namespace media 137 } // namespace media
142 138
143 #endif // CONTENT_RENDERER_MEDIA_RENDERER_WEBMEDIAPLAYER_DELEGATE_H_ 139 #endif // CONTENT_RENDERER_MEDIA_RENDERER_WEBMEDIAPLAYER_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_audio_processor.h ('k') | content/renderer/media/webmediaplayer_ms.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698