| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |