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

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

Issue 3122029: FBTF: Remove unnecessary STL #includes from src/webkit. (Closed)
Patch Set: Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 // During tear down of the whole browser or a tab, the DOM tree may not be 46 // During tear down of the whole browser or a tab, the DOM tree may not be
47 // destructed nicely, and there will be some dangling media threads trying to 47 // destructed nicely, and there will be some dangling media threads trying to
48 // the main thread, so we need this class to listen to destruction event of the 48 // the main thread, so we need this class to listen to destruction event of the
49 // main thread and cleanup the media threads when the even is received. Also 49 // main thread and cleanup the media threads when the even is received. Also
50 // at destruction of this class we will need to unhook it from destruction event 50 // at destruction of this class we will need to unhook it from destruction event
51 // list of the main thread. 51 // list of the main thread.
52 52
53 #ifndef WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_ 53 #ifndef WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_
54 #define WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_ 54 #define WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_
55 55
56 #include <vector>
57
58 #include "base/lock.h" 56 #include "base/lock.h"
59 #include "base/message_loop.h" 57 #include "base/message_loop.h"
60 #include "base/ref_counted.h" 58 #include "base/ref_counted.h"
61 #include "base/scoped_ptr.h" 59 #include "base/scoped_ptr.h"
62 #include "base/waitable_event.h" 60 #include "base/waitable_event.h"
63 #include "gfx/rect.h" 61 #include "gfx/rect.h"
64 #include "gfx/size.h" 62 #include "gfx/size.h"
65 #include "media/base/filters.h" 63 #include "media/base/filters.h"
66 #include "media/base/pipeline_impl.h" 64 #include "media/base/pipeline_impl.h"
67 #include "skia/ext/platform_canvas.h" 65 #include "skia/ext/platform_canvas.h"
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 WebMediaPlayerImpl::Proxy* proxy) = 0; 329 WebMediaPlayerImpl::Proxy* proxy) = 0;
332 330
333 private: 331 private:
334 DISALLOW_COPY_AND_ASSIGN(WebVideoRendererFactoryFactory); 332 DISALLOW_COPY_AND_ASSIGN(WebVideoRendererFactoryFactory);
335 }; 333 };
336 334
337 335
338 } // namespace webkit_glue 336 } // namespace webkit_glue
339 337
340 #endif // WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_ 338 #endif // WEBKIT_GLUE_WEBMEDIAPLAYER_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/plugins/webplugin_delegate_impl.h ('k') | webkit/support/weburl_loader_mock_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698