| Index: content/shell/renderer/test_runner/web_test_runner.h
|
| diff --git a/content/shell/renderer/test_runner/WebTestRunner.h b/content/shell/renderer/test_runner/web_test_runner.h
|
| similarity index 33%
|
| rename from content/shell/renderer/test_runner/WebTestRunner.h
|
| rename to content/shell/renderer/test_runner/web_test_runner.h
|
| index 169394667011ffadb767169c149b53fcbb71bc83..3095d1de3b3393ebb8e03e2962e16116cfaec6c1 100644
|
| --- a/content/shell/renderer/test_runner/WebTestRunner.h
|
| +++ b/content/shell/renderer/test_runner/web_test_runner.h
|
| @@ -14,27 +14,27 @@ class WebPermissionClient;
|
| namespace content {
|
|
|
| class WebTestRunner {
|
| -public:
|
| - // Returns a mock WebPermissionClient that is used for layout tests. An
|
| - // embedder should use this for all WebViews it creates.
|
| - virtual blink::WebPermissionClient* webPermissions() const = 0;
|
| -
|
| - // After WebTestDelegate::testFinished was invoked, the following methods
|
| - // can be used to determine what kind of dump the main WebTestProxy can
|
| - // provide.
|
| -
|
| - // If true, WebTestDelegate::audioData returns an audio dump and no text
|
| - // or pixel results are available.
|
| - virtual bool shouldDumpAsAudio() const = 0;
|
| - virtual void getAudioData(std::vector<unsigned char>* bufferView) const = 0;
|
| -
|
| - // Returns true if the call to WebTestProxy::captureTree will invoke
|
| - // WebTestDelegate::captureHistoryForWindow.
|
| - virtual bool shouldDumpBackForwardList() const = 0;
|
| -
|
| - // Returns true if WebTestProxy::capturePixels should be invoked after
|
| - // capturing text results.
|
| - virtual bool shouldGeneratePixelResults() = 0;
|
| + public:
|
| + // Returns a mock WebPermissionClient that is used for layout tests. An
|
| + // embedder should use this for all WebViews it creates.
|
| + virtual blink::WebPermissionClient* GetWebPermissions() const = 0;
|
| +
|
| + // After WebTestDelegate::testFinished was invoked, the following methods
|
| + // can be used to determine what kind of dump the main WebTestProxy can
|
| + // provide.
|
| +
|
| + // If true, WebTestDelegate::audioData returns an audio dump and no text
|
| + // or pixel results are available.
|
| + virtual bool ShouldDumpAsAudio() const = 0;
|
| + virtual void GetAudioData(std::vector<unsigned char>* buffer_view) const = 0;
|
| +
|
| + // Returns true if the call to WebTestProxy::captureTree will invoke
|
| + // WebTestDelegate::captureHistoryForWindow.
|
| + virtual bool ShouldDumpBackForwardList() const = 0;
|
| +
|
| + // Returns true if WebTestProxy::capturePixels should be invoked after
|
| + // capturing text results.
|
| + virtual bool ShouldGeneratePixelResults() = 0;
|
| };
|
|
|
| } // namespace content
|
|
|