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

Side by Side Diff: content/shell/renderer/test_runner/WebTestRunner.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 WebTestRunner_h
6 #define WebTestRunner_h
7
8 namespace blink {
9 class WebArrayBufferView;
10 class WebPermissionClient;
11 }
12
13 namespace WebTestRunner {
14
15 class WebTestRunner {
16 public:
17 // Returns a mock WebPermissionClient that is used for layout tests. An
18 // embedder should use this for all WebViews it creates.
19 virtual blink::WebPermissionClient* webPermissions() const = 0;
20
21 // After WebTestDelegate::testFinished was invoked, the following methods
22 // can be used to determine what kind of dump the main WebTestProxy can
23 // provide.
24
25 // If true, WebTestDelegate::audioData returns an audio dump and no text
26 // or pixel results are available.
27 virtual bool shouldDumpAsAudio() const = 0;
28 virtual const blink::WebArrayBufferView* audioData() const = 0;
29
30 // Returns true if the call to WebTestProxy::captureTree will invoke
31 // WebTestDelegate::captureHistoryForWindow.
32 virtual bool shouldDumpBackForwardList() const = 0;
33
34 // Returns true if WebTestProxy::capturePixels should be invoked after
35 // capturing text results.
36 virtual bool shouldGeneratePixelResults() = 0;
37 };
38
39 }
40
41 #endif // WebTestRunner_h
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/WebTestProxy.cpp ('k') | content/shell/renderer/test_runner/WebTestThemeControlWin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698