summaryrefslogtreecommitdiffstats
path: root/content/common/swapped_out_messages.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-03 23:39:15 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-03 23:39:15 +0000
commit766a7086b0ac46dd7a7bd676da47813e5a1790bf (patch)
treeeedca5078840d057ba5a0738ca827b7379a22cf1 /content/common/swapped_out_messages.cc
parent74368115e55ca8ae0b0799fd2bedcd7e8688882d (diff)
downloadchromium_src-766a7086b0ac46dd7a7bd676da47813e5a1790bf.zip
chromium_src-766a7086b0ac46dd7a7bd676da47813e5a1790bf.tar.gz
chromium_src-766a7086b0ac46dd7a7bd676da47813e5a1790bf.tar.bz2
Move DOMAutomationController code from chrome to content. This is needed by interstitial pages which are in content, and also browser tests in content.
In followup changes, I'll make interstitial pages not have to derive from a concrete class, and instead implement some sort of delegate interface like we did with WebUI. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9310094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120441 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/swapped_out_messages.cc')
-rw-r--r--content/common/swapped_out_messages.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/content/common/swapped_out_messages.cc b/content/common/swapped_out_messages.cc
index 16c58e1..c350bc3 100644
--- a/content/common/swapped_out_messages.cc
+++ b/content/common/swapped_out_messages.cc
@@ -23,14 +23,13 @@ bool SwappedOutMessages::CanSendWhileSwappedOut(const IPC::Message* msg) {
case ViewHostMsg_ShouldClose_ACK::ID:
case ViewHostMsg_SwapOut_ACK::ID:
case ViewHostMsg_ClosePage_ACK::ID:
+ case ViewHostMsg_DomOperationResponse::ID:
return true;
default:
break;
}
- // Check with the embedder as well.
- ContentClient* client = GetContentClient();
- return client->CanSendWhileSwappedOut(msg);
+ return false;
}
bool SwappedOutMessages::CanHandleWhileSwappedOut(