diff options
author | tkent@chromium.org <tkent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-09 05:10:22 +0000 |
---|---|---|
committer | tkent@chromium.org <tkent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-09 05:10:22 +0000 |
commit | 65b95cd72cea12a94439e8ef3cab0a0962e4aa3c (patch) | |
tree | 6da1730476a51c9346bb89fd3d8599c511056c6b /webkit/api/public | |
parent | aef03130359ef824153b4ed088622460bbccdb0f (diff) | |
download | chromium_src-65b95cd72cea12a94439e8ef3cab0a0962e4aa3c.zip chromium_src-65b95cd72cea12a94439e8ef3cab0a0962e4aa3c.tar.gz chromium_src-65b95cd72cea12a94439e8ef3cab0a0962e4aa3c.tar.bz2 |
Print the element path in TestWebViewDelegate::decidePolicyForNavigation()
to follow WebKit r42740.
- Add a WebNode parameter to WebViewDelegate::decidePolicyForNavigation()
TestWebViewDelegate prints the path of the node. RenderView ignores this parameter.
- Fix a bug of WebNode assignment.
BUG=11000
TEST=This change enables 3 layout tests.
Review URL: http://codereview.chromium.org/267003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28527 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/api/public')
-rw-r--r-- | webkit/api/public/WebFrameClient.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/api/public/WebFrameClient.h b/webkit/api/public/WebFrameClient.h index 24701e5..82f9eed 100644 --- a/webkit/api/public/WebFrameClient.h +++ b/webkit/api/public/WebFrameClient.h @@ -41,6 +41,7 @@ namespace WebKit { class WebFrame; class WebMediaPlayer; class WebMediaPlayerClient; + class WebNode; class WebPlugin; class WebSecurityOrigin; class WebString; @@ -87,6 +88,7 @@ namespace WebKit { // defaultPolicy should just be returned. virtual WebNavigationPolicy decidePolicyForNavigation( WebFrame*, const WebURLRequest&, WebNavigationType, + const WebNode& originatingNode, WebNavigationPolicy defaultPolicy, bool isRedirect) = 0; |