diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-03 23:39:15 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-03 23:39:15 +0000 |
commit | 766a7086b0ac46dd7a7bd676da47813e5a1790bf (patch) | |
tree | eedca5078840d057ba5a0738ca827b7379a22cf1 /content/common/swapped_out_messages.cc | |
parent | 74368115e55ca8ae0b0799fd2bedcd7e8688882d (diff) | |
download | chromium_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.cc | 5 |
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( |