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

Side by Side Diff: webkit/support/test_media_stream_client.h

Issue 13159005: Enable media stream layout test with content_shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « webkit/mocks/test_media_stream_client.cc ('k') | webkit/support/webkit_support.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // TestMediaStreamClient is an implementation of webkit_media::MediaStreamClient 5 // TestMediaStreamClient is an implementation of webkit_media::MediaStreamClient
6 // and used with WebKit::WebUserMediaClientMock to provide corresponding video 6 // and used with WebKit::WebUserMediaClientMock to provide corresponding video
7 // decoder to media pipeline. 7 // decoder to media pipeline.
8 8
9 // TODO(wjia): remove this class once
10 // https://bugs.webkit.org/show_bug.cgi?id=113633 is fixed, since it has been
11 // moved into webkit/mocks.
12
9 #ifndef WEBKIT_SUPPORT_TEST_MEDIA_STREAM_CLIENT_H_ 13 #ifndef WEBKIT_SUPPORT_TEST_MEDIA_STREAM_CLIENT_H_
10 #define WEBKIT_SUPPORT_TEST_MEDIA_STREAM_CLIENT_H_ 14 #define WEBKIT_SUPPORT_TEST_MEDIA_STREAM_CLIENT_H_
11 15
12 #include "base/callback_forward.h" 16 #include "base/callback_forward.h"
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" 17 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h"
14 #include "webkit/media/media_stream_client.h" 18 #include "webkit/media/media_stream_client.h"
15 19
16 namespace webkit_media { 20 namespace webkit_media {
17 class MediaStreamAudioRenderer; 21 class MediaStreamAudioRenderer;
18 } 22 }
(...skipping 11 matching lines...) Expand all
30 const GURL& url, 34 const GURL& url,
31 const base::Closure& error_cb, 35 const base::Closure& error_cb,
32 const webkit_media::VideoFrameProvider::RepaintCB& repaint_cb) OVERRIDE; 36 const webkit_media::VideoFrameProvider::RepaintCB& repaint_cb) OVERRIDE;
33 virtual scoped_refptr<webkit_media::MediaStreamAudioRenderer> 37 virtual scoped_refptr<webkit_media::MediaStreamAudioRenderer>
34 GetAudioRenderer(const GURL& url) OVERRIDE; 38 GetAudioRenderer(const GURL& url) OVERRIDE;
35 }; 39 };
36 40
37 } // namespace webkit_support 41 } // namespace webkit_support
38 42
39 #endif // WEBKIT_SUPPORT_TEST_MEDIA_STREAM_CLIENT_H_ 43 #endif // WEBKIT_SUPPORT_TEST_MEDIA_STREAM_CLIENT_H_
OLDNEW
« no previous file with comments | « webkit/mocks/test_media_stream_client.cc ('k') | webkit/support/webkit_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698