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

Side by Side Diff: components/test_runner/web_test_runner.h

Issue 1169493003: Turn test runner library into an actual component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_TEST_RUNNER_WEB_TEST_RUNNER_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_TEST_RUNNER_H_
6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_RUNNER_H_ 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_RUNNER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 namespace blink { 10 namespace blink {
(...skipping 17 matching lines...) Expand all
28 virtual bool ShouldDumpAsAudio() const = 0; 28 virtual bool ShouldDumpAsAudio() const = 0;
29 virtual void GetAudioData(std::vector<unsigned char>* buffer_view) const = 0; 29 virtual void GetAudioData(std::vector<unsigned char>* buffer_view) const = 0;
30 30
31 // Returns true if the call to WebTestProxy::captureTree will invoke 31 // Returns true if the call to WebTestProxy::captureTree will invoke
32 // WebTestDelegate::captureHistoryForWindow. 32 // WebTestDelegate::captureHistoryForWindow.
33 virtual bool ShouldDumpBackForwardList() const = 0; 33 virtual bool ShouldDumpBackForwardList() const = 0;
34 34
35 // Returns true if WebTestProxy::capturePixels should be invoked after 35 // Returns true if WebTestProxy::capturePixels should be invoked after
36 // capturing text results. 36 // capturing text results.
37 virtual bool ShouldGeneratePixelResults() = 0; 37 virtual bool ShouldGeneratePixelResults() = 0;
38
39 virtual bool ShouldStayOnPageAfterHandlingBeforeUnload() const = 0;
38 }; 40 };
39 41
40 } // namespace test_runner 42 } // namespace test_runner
41 43
42 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_RUNNER_H_ 44 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « components/test_runner/web_test_proxy.cc ('k') | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698