| Index: components/test_runner/test_runner.h
|
| diff --git a/components/test_runner/test_runner.h b/components/test_runner/test_runner.h
|
| index 5f93c52fb356ef0063d0ceff6d96c96a3ba03e54..bcdc49ba0980f9d5e9978a5e63310479d317446d 100644
|
| --- a/components/test_runner/test_runner.h
|
| +++ b/components/test_runner/test_runner.h
|
| @@ -21,6 +21,7 @@
|
| #include "media/midi/midi_service.mojom.h"
|
| #include "third_party/WebKit/public/platform/WebEffectiveConnectionType.h"
|
| #include "third_party/WebKit/public/platform/WebImage.h"
|
| +#include "third_party/WebKit/public/platform/WebURL.h"
|
| #include "v8/include/v8.h"
|
|
|
| class GURL;
|
| @@ -87,6 +88,11 @@ class TestRunner : public WebTestRunner {
|
|
|
| bool UseMockTheme() const { return use_mock_theme_; }
|
|
|
| + // By default, tests end when page load is complete. These methods are used
|
| + // to delay the completion of the test until notifyDone is called.
|
| + void NotifyDone();
|
| + void WaitUntilDone();
|
| +
|
| // WebTestRunner implementation.
|
| bool ShouldGeneratePixelResults() override;
|
| bool ShouldDumpAsAudio() const override;
|
| @@ -120,6 +126,7 @@ class TestRunner : public WebTestRunner {
|
| void ShowDevTools(const std::string& settings,
|
| const std::string& frontend_url);
|
| void ClearDevToolsLocalStorage();
|
| + void LoadURLForMainFrame(const blink::WebURL& url);
|
| void setShouldDumpAsText(bool);
|
| void setShouldDumpAsMarkup(bool);
|
| void setCustomTextOutput(const std::string& text);
|
| @@ -221,11 +228,6 @@ class TestRunner : public WebTestRunner {
|
| ///////////////////////////////////////////////////////////////////////////
|
| // Methods dealing with the test logic
|
|
|
| - // By default, tests end when page load is complete. These methods are used
|
| - // to delay the completion of the test until notifyDone is called.
|
| - void NotifyDone();
|
| - void WaitUntilDone();
|
| -
|
| // Methods for adding actions to the work queue. Used in conjunction with
|
| // waitUntilDone/notifyDone above.
|
| void QueueBackNavigation(int how_far_back);
|
|
|