| Index: content/shell/renderer/test_runner/TestRunner.h
|
| diff --git a/content/shell/renderer/test_runner/TestRunner.h b/content/shell/renderer/test_runner/TestRunner.h
|
| index 2bb6d9dbfd16ae47dede197915f2ec6d935d3812..d9928889370b0db89912597d1ab8c2d0882d2741 100644
|
| --- a/content/shell/renderer/test_runner/TestRunner.h
|
| +++ b/content/shell/renderer/test_runner/TestRunner.h
|
| @@ -138,6 +138,7 @@ public:
|
| bool policyDelegateShouldNotifyDone() const;
|
| bool shouldInterceptPostMessage() const;
|
| bool shouldDumpResourcePriorities() const;
|
| + bool shouldWaitUntilExternURLLoad() const;
|
| blink::WebNotificationPresenter* notification_presenter() const;
|
| bool requestPointerLock();
|
| void requestPointerUnlock();
|
| @@ -440,6 +441,10 @@ private:
|
| // Sets a flag to enable the mock theme.
|
| void setUseMockTheme(const CppArgumentList&, CppVariant*);
|
|
|
| + // Sets a flag that causes the test to be marked as completed when the
|
| + // WebFrameClient receives a loadURLExternally() call.
|
| + void waitUntilExternalURLLoad(const CppArgumentList&, CppVariant*);
|
| +
|
| ///////////////////////////////////////////////////////////////////////////
|
| // Methods interacting with the WebTestProxy
|
|
|
| @@ -700,6 +705,9 @@ private:
|
|
|
| bool m_shouldDumpResourcePriorities;
|
|
|
| + // If true, ends the test when an external URL is loaded.
|
| + bool m_shouldWaitUntilExternalURLLoad;
|
| +
|
| std::set<std::string> m_httpHeadersToClear;
|
|
|
| // WAV audio data is stored here.
|
|
|