#ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTINTERFACES_H_
#define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTINTERFACES_H_
#include "base/memory/scoped_ptr.h"
namespace blink {
class WebAudioDevice;
class WebFrame;
class WebMediaStreamCenter;
class WebMediaStreamCenterClient;
class WebMIDIAccessor;
class WebMIDIAccessorClient;
class WebRTCPeerConnectionHandler;
class WebRTCPeerConnectionHandlerClient;
class WebThemeEngine;
class WebURL;
class WebView;
}
namespace WebTestRunner {
class TestInterfaces;
class WebTestDelegate;
class WebTestProxyBase;
class WebTestRunner;
class WebTestInterfaces {
public:
WebTestInterfaces();
~WebTestInterfaces();
void setWebView(blink::WebView*, WebTestProxyBase*);
void setDelegate(WebTestDelegate*);
void bindTo(blink::WebFrame*);
void resetAll();
void setTestIsRunning(bool);
void configureForTestWithURL(const blink::WebURL&, bool generatePixels);
WebTestRunner* testRunner();
blink::WebThemeEngine* themeEngine();
blink::WebMediaStreamCenter* createMediaStreamCenter(blink::WebMediaStreamCenterClient*);
blink::WebRTCPeerConnectionHandler* createWebRTCPeerConnectionHandler(blink::WebRTCPeerConnectionHandlerClient*);
blink::WebMIDIAccessor* createMIDIAccessor(blink::WebMIDIAccessorClient*);
blink::WebAudioDevice* createAudioDevice(double sampleRate);
TestInterfaces* testInterfaces();
private:
scoped_ptr<TestInterfaces> m_interfaces;
};
}
#endif