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

Side by Side Diff: content/shell/renderer/test_runner/WebTestInterfaces.h

Issue 110533009: Import TestRunner library into chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years 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
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WebTestInterfaces_h
6 #define WebTestInterfaces_h
7
8 #include "content/shell/renderer/test_runner/WebScopedPtr.h"
9
10 namespace blink {
11 class WebAudioDevice;
12 class WebFrame;
13 class WebMediaStreamCenter;
14 class WebMediaStreamCenterClient;
15 class WebMIDIAccessor;
16 class WebMIDIAccessorClient;
17 class WebRTCPeerConnectionHandler;
18 class WebRTCPeerConnectionHandlerClient;
19 class WebThemeEngine;
20 class WebURL;
21 class WebView;
22 }
23
24 namespace WebTestRunner {
25
26 class TestInterfaces;
27 class WebTestDelegate;
28 class WebTestProxyBase;
29 class WebTestRunner;
30
31 class WebTestInterfaces {
32 public:
33 WebTestInterfaces();
34 ~WebTestInterfaces();
35
36 void setWebView(blink::WebView*, WebTestProxyBase*);
37 void setDelegate(WebTestDelegate*);
38 void bindTo(blink::WebFrame*);
39 void resetAll();
40 void setTestIsRunning(bool);
41 void configureForTestWithURL(const blink::WebURL&, bool generatePixels);
42
43 WebTestRunner* testRunner();
44 blink::WebThemeEngine* themeEngine();
45
46 blink::WebMediaStreamCenter* createMediaStreamCenter(blink::WebMediaStreamCe nterClient*);
47 blink::WebRTCPeerConnectionHandler* createWebRTCPeerConnectionHandler(blink: :WebRTCPeerConnectionHandlerClient*);
48
49 blink::WebMIDIAccessor* createMIDIAccessor(blink::WebMIDIAccessorClient*);
50
51 blink::WebAudioDevice* createAudioDevice(double sampleRate);
52
53 TestInterfaces* testInterfaces();
54
55 private:
56 WebScopedPtr<TestInterfaces> m_interfaces;
57 };
58
59 }
60
61 #endif // WebTestInterfaces_h
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/WebTestDelegate.h ('k') | content/shell/renderer/test_runner/WebTestInterfaces.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698