diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-07 03:36:28 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-07 03:36:28 +0000 |
commit | 5b3e09dcf48a717eccca25d4a99036dcefb31001 (patch) | |
tree | d27013c8082adcfa28161748fbdda05ebd29b66b /webkit/mocks | |
parent | 573e3ff020361d91d17add91e90920d4a4e8035c (diff) | |
download | chromium_src-5b3e09dcf48a717eccca25d4a99036dcefb31001.zip chromium_src-5b3e09dcf48a717eccca25d4a99036dcefb31001.tar.gz chromium_src-5b3e09dcf48a717eccca25d4a99036dcefb31001.tar.bz2 |
Definition for new API method in WebKit::WebFrame.
The new method (pageDismissalEventBeingDispatched) has not yet been added to
the API (see https://bugs.webkit.org/show_bug.cgi?id=55844). When it is, it
will be a pure virtual method; clients will break unless they already have a
concrete implementation for it.
BUG=68780
TEST=none
Review URL: http://codereview.chromium.org/6626047
Patch from Sreeram Ramachandran <sreeram@chromium.org>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77101 0039d316-1c4b-4281-b951-d872f2087c98
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, |