diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-24 19:10:22 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-24 19:10:22 +0000 |
commit | 0e5ea01309668ef0cca9d81bd9d4aec3a0afc371 (patch) | |
tree | cfae26d1866081d73c679bdcca993e294f73e732 /webkit/mocks | |
parent | 35bd465c33bdf2d745fb5aafb3f093b9bc4772f6 (diff) | |
download | chromium_src-0e5ea01309668ef0cca9d81bd9d4aec3a0afc371.zip chromium_src-0e5ea01309668ef0cca9d81bd9d4aec3a0afc371.tar.gz chromium_src-0e5ea01309668ef0cca9d81bd9d4aec3a0afc371.tar.bz2 |
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
Diffstat (limited to 'webkit/mocks')
-rw-r--r-- | webkit/mocks/mock_webframe.cc | 3 | ||||
-rw-r--r-- | webkit/mocks/mock_webframe.h | 1 |
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; |