| Index: content/shell/webkit_test_runner_host.h
|
| diff --git a/content/shell/webkit_test_runner_host.h b/content/shell/webkit_test_runner_host.h
|
| index 596a910dbd6bbf5d655f0086e3767e90fed75e52..ed4843984de3b08521ca6e67e775957439b8418e 100644
|
| --- a/content/shell/webkit_test_runner_host.h
|
| +++ b/content/shell/webkit_test_runner_host.h
|
| @@ -109,6 +109,10 @@ class WebKitTestController : public base::NonThreadSafe,
|
| }
|
| bool is_printing() const { return is_printing_; }
|
| void set_is_printing(bool is_printing) { is_printing_ = is_printing; }
|
| + bool can_open_windows() const { return can_open_windows_; }
|
| + void set_can_open_windows(bool can_open_windows) {
|
| + can_open_windows_ = can_open_windows;
|
| + }
|
|
|
| // WebContentsObserver implementation.
|
| virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
|
| @@ -146,6 +150,7 @@ class WebKitTestController : public base::NonThreadSafe,
|
| bool is_printing_;
|
| bool should_stay_on_page_after_handling_before_unload_;
|
| bool wait_until_done_;
|
| + bool can_open_windows_;
|
| ShellWebPreferences prefs_;
|
|
|
| base::CancelableClosure watchdog_;
|
| @@ -169,6 +174,7 @@ class WebKitTestRunnerHost : public RenderViewHostObserver {
|
| void OnSetPrinting();
|
| void OnSetShouldStayOnPageAfterHandlingBeforeUnload(bool should_stay_on_page);
|
| void OnWaitUntilDone();
|
| + void OnCanOpenWindows();
|
|
|
| void OnNotImplemented(const std::string& object_name,
|
| const std::string& method_name);
|
|
|