summaryrefslogtreecommitdiffstats
path: root/WebKitTools/DumpRenderTree/chromium/TestShell.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebKitTools/DumpRenderTree/chromium/TestShell.h')
-rw-r--r--WebKitTools/DumpRenderTree/chromium/TestShell.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/WebKitTools/DumpRenderTree/chromium/TestShell.h b/WebKitTools/DumpRenderTree/chromium/TestShell.h
index 2b99b3d..2397246 100644
--- a/WebKitTools/DumpRenderTree/chromium/TestShell.h
+++ b/WebKitTools/DumpRenderTree/chromium/TestShell.h
@@ -107,6 +107,9 @@ public:
// the test results.
void testTimedOut();
+ bool allowExternalPages() const { return m_allowExternalPages; }
+ void setAllowExternalPages(bool allowExternalPages) { m_allowExternalPages = allowExternalPages; }
+
#if defined(OS_WIN)
// Access to the finished event. Used by the static WatchDog thread.
HANDLE finishedEvent() { return m_finishedEvent; }
@@ -140,15 +143,16 @@ private:
WebKit::WebWidget* m_focusedWidget;
bool m_testShellMode;
WebViewHost* m_webViewHost;
- OwnPtr<AccessibilityController*> m_accessibilityController;
- OwnPtr<EventSender*> m_eventSender;
- OwnPtr<LayoutTestController*> m_layoutTestController;
- OwnPtr<PlainTextController*> m_plainTextController;
- OwnPtr<TextInputController*> m_textInputController;
- OwnPtr<NotificationPresenter*> m_notificationPresenter;
- OwnPtr<TestEventPrinter*> m_printer;
+ OwnPtr<AccessibilityController> m_accessibilityController;
+ OwnPtr<EventSender> m_eventSender;
+ OwnPtr<LayoutTestController> m_layoutTestController;
+ OwnPtr<PlainTextController> m_plainTextController;
+ OwnPtr<TextInputController> m_textInputController;
+ OwnPtr<NotificationPresenter> m_notificationPresenter;
+ OwnPtr<TestEventPrinter> m_printer;
TestParams m_params;
int m_timeout; // timeout value in millisecond
+ bool m_allowExternalPages;
// List of all windows in this process.
// The main window should be put into windowList[0].