From 0e5ea01309668ef0cca9d81bd9d4aec3a0afc371 Mon Sep 17 00:00:00 2001 From: "pfeldman@chromium.org" Date: Thu, 24 Feb 2011 19:10:22 +0000 Subject: Provisional fix for WebFrame API changes upstream (added clearOpener). TBR=yurys git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75925 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/mocks/mock_webframe.cc | 3 +++ webkit/mocks/mock_webframe.h | 1 + 2 files changed, 4 insertions(+) (limited to 'webkit/mocks') 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; -- cgit v1.1