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

Side by Side Diff: content/shell/renderer/shell_content_renderer_client.h

Issue 19023003: Use a mock WebAudioDevice for layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
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 #ifndef CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 WebKit::WebFrame* frame, 47 WebKit::WebFrame* frame,
48 const WebKit::WebPluginParams& params, 48 const WebKit::WebPluginParams& params,
49 WebKit::WebPlugin** plugin) OVERRIDE; 49 WebKit::WebPlugin** plugin) OVERRIDE;
50 virtual WebKit::WebMediaStreamCenter* OverrideCreateWebMediaStreamCenter( 50 virtual WebKit::WebMediaStreamCenter* OverrideCreateWebMediaStreamCenter(
51 WebKit::WebMediaStreamCenterClient* client) OVERRIDE; 51 WebKit::WebMediaStreamCenterClient* client) OVERRIDE;
52 virtual WebKit::WebRTCPeerConnectionHandler* 52 virtual WebKit::WebRTCPeerConnectionHandler*
53 OverrideCreateWebRTCPeerConnectionHandler( 53 OverrideCreateWebRTCPeerConnectionHandler(
54 WebKit::WebRTCPeerConnectionHandlerClient* client) OVERRIDE; 54 WebKit::WebRTCPeerConnectionHandlerClient* client) OVERRIDE;
55 virtual WebKit::WebMIDIAccessor* OverrideCreateMIDIAccessor( 55 virtual WebKit::WebMIDIAccessor* OverrideCreateMIDIAccessor(
56 WebKit::WebMIDIAccessorClient* client) OVERRIDE; 56 WebKit::WebMIDIAccessorClient* client) OVERRIDE;
57 virtual WebKit::WebAudioDevice* OverrideCreateAudioDevice(
58 double sample_rate) OVERRIDE;
57 virtual WebKit::WebClipboard* OverrideWebClipboard() OVERRIDE; 59 virtual WebKit::WebClipboard* OverrideWebClipboard() OVERRIDE;
58 virtual WebKit::WebHyphenator* OverrideWebHyphenator() OVERRIDE; 60 virtual WebKit::WebHyphenator* OverrideWebHyphenator() OVERRIDE;
59 virtual WebKit::WebThemeEngine* OverrideThemeEngine() OVERRIDE; 61 virtual WebKit::WebThemeEngine* OverrideThemeEngine() OVERRIDE;
60 virtual bool AllowBrowserPlugin( 62 virtual bool AllowBrowserPlugin(
61 WebKit::WebPluginContainer* container) const OVERRIDE; 63 WebKit::WebPluginContainer* container) const OVERRIDE;
62 64
63 private: 65 private:
64 void WebTestProxyCreated(RenderView* render_view, 66 void WebTestProxyCreated(RenderView* render_view,
65 WebTestRunner::WebTestProxyBase* proxy); 67 WebTestRunner::WebTestProxyBase* proxy);
66 68
67 scoped_ptr<ShellRenderProcessObserver> shell_observer_; 69 scoped_ptr<ShellRenderProcessObserver> shell_observer_;
68 scoped_ptr<MockWebClipboardImpl> clipboard_; 70 scoped_ptr<MockWebClipboardImpl> clipboard_;
69 scoped_ptr<webkit_glue::MockWebHyphenator> hyphenator_; 71 scoped_ptr<webkit_glue::MockWebHyphenator> hyphenator_;
70 }; 72 };
71 73
72 } // namespace content 74 } // namespace content
73 75
74 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ 76 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/renderer/renderer_webkitplatformsupport_impl.cc ('k') | content/shell/renderer/shell_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698