diff options
Diffstat (limited to 'Tools/DumpRenderTree/chromium/TestShell.h')
| -rw-r--r-- | Tools/DumpRenderTree/chromium/TestShell.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/DumpRenderTree/chromium/TestShell.h b/Tools/DumpRenderTree/chromium/TestShell.h index 1ee5ce9a1..4bbaf61fb 100644 --- a/Tools/DumpRenderTree/chromium/TestShell.h +++ b/Tools/DumpRenderTree/chromium/TestShell.h @@ -163,6 +163,9 @@ public: // testing where we only want to have the output from the last load. void setDumpWhenFinished(bool dumpWhenFinished) { m_dumpWhenFinished = dumpWhenFinished; } + void setIsDisplayingModalDialog(bool isDisplayingModalDialog) { m_isDisplayingModalDialog = isDisplayingModalDialog; } + bool isDisplayingModalDialog() const { return m_isDisplayingModalDialog; } + WebViewHost* createNewWindow(const WebKit::WebURL&); void closeWindow(WebViewHost*); void closeRemainingWindows(); @@ -234,6 +237,7 @@ private: bool m_stressDeopt; std::string m_javaScriptFlags; bool m_dumpWhenFinished; + bool m_isDisplayingModalDialog; // List of all windows in this process. |
