diff options
author | creis@google.com <creis@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-22 17:53:25 +0000 |
---|---|---|
committer | creis@google.com <creis@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-22 17:53:25 +0000 |
commit | 2b74c093728f3bf35a0dc6b444bde69074f99f5d (patch) | |
tree | 8878e66d5b532d77a72c78579f744a3f45e12890 /webkit/glue/webframe_impl.h | |
parent | 2461cf0a67fec9bf61c5c80ca64a9a234c0d0e8d (diff) | |
download | chromium_src-2b74c093728f3bf35a0dc6b444bde69074f99f5d.zip chromium_src-2b74c093728f3bf35a0dc6b444bde69074f99f5d.tar.gz chromium_src-2b74c093728f3bf35a0dc6b444bde69074f99f5d.tar.bz2 |
Swaps renderer processes on links with rel=noreferrer and target=_blank.
We now detect these types of navigations in RenderView and allow the browser process to handle them. This allows us to swap process if the navigation is cross-site. Requires exposing suppressOpenerInNewFrame in WebFrame to accurately detect these links.
BUG=24447
TEST=RenderViewHostManagerTest.SwapProcessOnRelNoreferrerWithTargetBlank
Review URL: http://codereview.chromium.org/284015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29783 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webframe_impl.h')
-rw-r--r-- | webkit/glue/webframe_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/webframe_impl.h b/webkit/glue/webframe_impl.h index 8ec1f9f..d2ee953 100644 --- a/webkit/glue/webframe_impl.h +++ b/webkit/glue/webframe_impl.h @@ -130,6 +130,7 @@ class WebFrameImpl : public WebKit::WebFrame, public RefCounted<WebFrameImpl> { virtual void commitDocumentData(const char* data, size_t length); virtual unsigned unloadListenerCount() const; virtual bool isProcessingUserGesture() const; + virtual bool willSuppressOpenerInNewFrame() const; virtual void replaceSelection(const WebKit::WebString& text); virtual void insertText(const WebKit::WebString& text); virtual void setMarkedText( |