diff options
Diffstat (limited to 'webkit/mocks')
-rw-r--r-- | webkit/mocks/mock_webframe.cc | 4 | ||||
-rw-r--r-- | webkit/mocks/mock_webframe.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/webkit/mocks/mock_webframe.cc b/webkit/mocks/mock_webframe.cc index a230cc0..1423039 100644 --- a/webkit/mocks/mock_webframe.cc +++ b/webkit/mocks/mock_webframe.cc @@ -235,6 +235,10 @@ bool MockWebFrame::willSuppressOpenerInNewFrame() const { return false; } +bool MockWebFrame::pageDismissalEventBeingDispatched() const { + return false; +} + void MockWebFrame::replaceSelection(const WebString& text) {} void MockWebFrame::insertText(const WebString& text) {} diff --git a/webkit/mocks/mock_webframe.h b/webkit/mocks/mock_webframe.h index 830b0d6..adbf515 100644 --- a/webkit/mocks/mock_webframe.h +++ b/webkit/mocks/mock_webframe.h @@ -141,6 +141,7 @@ class MockWebFrame : public WebKit::WebFrame { virtual unsigned unloadListenerCount() const; virtual bool isProcessingUserGesture() const; virtual bool willSuppressOpenerInNewFrame() const; + virtual bool pageDismissalEventBeingDispatched() const; virtual void replaceSelection(const WebString& text); virtual void insertText(const WebString& text); virtual void setMarkedText(const WebString& text, |