summaryrefslogtreecommitdiffstats
path: root/webkit/mocks
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/mocks')
-rw-r--r--webkit/mocks/mock_webframe.cc3
-rw-r--r--webkit/mocks/mock_webframe.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/webkit/mocks/mock_webframe.cc b/webkit/mocks/mock_webframe.cc
index 8a36e8d..4bb058b 100644
--- a/webkit/mocks/mock_webframe.cc
+++ b/webkit/mocks/mock_webframe.cc
@@ -70,6 +70,9 @@ WebFrame* MockWebFrame::opener() const {
return NULL;
}
+void MockWebFrame::clearOpener() const {
+}
+
WebFrame* MockWebFrame::parent() const {
return NULL;
}
diff --git a/webkit/mocks/mock_webframe.h b/webkit/mocks/mock_webframe.h
index cabd3c5..a1368b5 100644
--- a/webkit/mocks/mock_webframe.h
+++ b/webkit/mocks/mock_webframe.h
@@ -78,6 +78,7 @@ class MockWebFrame : public WebKit::WebFrame {
virtual bool hasVisibleContent() const;
virtual WebView* view() const;
virtual WebFrame* opener() const;
+ virtual void clearOpener() const;
virtual WebFrame* parent() const;
virtual WebFrame* top() const;
virtual WebFrame* firstChild() const;