diff options
author | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-22 20:55:33 +0000 |
---|---|---|
committer | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-22 20:55:33 +0000 |
commit | 0639c063a18133054b5231ed88fa60cf313a75ec (patch) | |
tree | 4905eefddc26ea1433059b567365ee7d3e52c887 /content/common/swapped_out_messages.cc | |
parent | 2e76d0692d4ff8e4af800368e7ac54055b466e05 (diff) | |
download | chromium_src-0639c063a18133054b5231ed88fa60cf313a75ec.zip chromium_src-0639c063a18133054b5231ed88fa60cf313a75ec.tar.gz chromium_src-0639c063a18133054b5231ed88fa60cf313a75ec.tar.bz2 |
Allow targeted links to work on tabs that have swapped out processes.
BUG=116192
TEST=Click a target=foo link again after a cross-site nav in the window.
Review URL: http://codereview.chromium.org/9706047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128298 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/swapped_out_messages.cc')
-rw-r--r-- | content/common/swapped_out_messages.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/content/common/swapped_out_messages.cc b/content/common/swapped_out_messages.cc index 45d70f0..f94e0c0 100644 --- a/content/common/swapped_out_messages.cc +++ b/content/common/swapped_out_messages.cc @@ -19,6 +19,9 @@ bool SwappedOutMessages::CanSendWhileSwappedOut(const IPC::Message* msg) { case ViewHostMsg_HandleInputEvent_ACK::ID: case ViewHostMsg_PaintAtSize_ACK::ID: case ViewHostMsg_UpdateRect::ID: + // Allow targeted navigations while swapped out. + case ViewHostMsg_OpenURL::ID: + case ViewHostMsg_Focus::ID: // Handled by RenderView. case ViewHostMsg_RenderViewGone::ID: case ViewHostMsg_ShouldClose_ACK::ID: |