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

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

Issue 8539001: Cleanup: Remove unneeded forward declarations in webkit/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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/webkit_glue.h ('k') | webkit/quota/quota_database.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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 #include "base/memory/scoped_ptr.h" 52 #include "base/memory/scoped_ptr.h"
53 #include "base/memory/weak_ptr.h" 53 #include "base/memory/weak_ptr.h"
54 #include "base/message_loop.h" 54 #include "base/message_loop.h"
55 #include "media/base/filters.h" 55 #include "media/base/filters.h"
56 #include "media/base/message_loop_factory.h" 56 #include "media/base/message_loop_factory.h"
57 #include "media/base/pipeline.h" 57 #include "media/base/pipeline.h"
58 #include "skia/ext/platform_canvas.h" 58 #include "skia/ext/platform_canvas.h"
59 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayer.h" 59 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayer.h"
60 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerClient. h" 60 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerClient. h"
61 61
62 class GURL;
63
64 namespace WebKit { 62 namespace WebKit {
65 class WebFrame; 63 class WebFrame;
66 } 64 }
67 65
68 namespace media { 66 namespace media {
69 class MediaLog; 67 class MediaLog;
70 } 68 }
71 69
72 namespace webkit_glue { 70 namespace webkit_glue {
73 71
74 class MediaResourceLoaderBridgeFactory;
75 class MediaStreamClient; 72 class MediaStreamClient;
76 class WebMediaPlayerDelegate; 73 class WebMediaPlayerDelegate;
77 class WebMediaPlayerProxy; 74 class WebMediaPlayerProxy;
78 class WebVideoRenderer; 75 class WebVideoRenderer;
79 76
80 class WebMediaPlayerImpl 77 class WebMediaPlayerImpl
81 : public WebKit::WebMediaPlayer, 78 : public WebKit::WebMediaPlayer,
82 public MessageLoop::DestructionObserver, 79 public MessageLoop::DestructionObserver,
83 public base::SupportsWeakPtr<WebMediaPlayerImpl> { 80 public base::SupportsWeakPtr<WebMediaPlayerImpl> {
84 public: 81 public:
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 scoped_refptr<media::MediaLog> media_log_; 265 scoped_refptr<media::MediaLog> media_log_;
269 266
270 bool incremented_externally_allocated_memory_; 267 bool incremented_externally_allocated_memory_;
271 268
272 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 269 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
273 }; 270 };
274 271
275 } // namespace webkit_glue 272 } // namespace webkit_glue
276 273
277 #endif // WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_ 274 #endif // WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/webkit_glue.h ('k') | webkit/quota/quota_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698