diff options
author | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-11 17:36:17 +0000 |
---|---|---|
committer | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-11 17:36:17 +0000 |
commit | f76f32234f157296e15e119f1313b013a539aa14 (patch) | |
tree | 95d165d57766ee2fa8c16ab31b0d04a2bfbb82a5 /content/test/test_web_contents.cc | |
parent | 0439346cb9f1d8a5ba66e78502f8e3965c12df51 (diff) | |
download | chromium_src-f76f32234f157296e15e119f1313b013a539aa14.zip chromium_src-f76f32234f157296e15e119f1313b013a539aa14.tar.gz chromium_src-f76f32234f157296e15e119f1313b013a539aa14.tar.bz2 |
Move ShouldClose from RenderViewHost to RenderFrameHost.
Renamed functions from ShouldClose to BeforeUnload to improve
consistency and reflect that it's not always for a close event.
Removes stale RendererManagement interface.
BUG=304341
TEST=No behavior change.
Review URL: https://codereview.chromium.org/189103002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256270 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/test/test_web_contents.cc')
-rw-r--r-- | content/test/test_web_contents.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/test/test_web_contents.cc b/content/test/test_web_contents.cc index 76f30c5..260e209 100644 --- a/content/test/test_web_contents.cc +++ b/content/test/test_web_contents.cc @@ -163,7 +163,7 @@ void TestWebContents::ProceedWithCrossSiteNavigation() { return; TestRenderViewHost* rvh = static_cast<TestRenderViewHost*>( GetRenderViewHost()); - rvh->SendShouldCloseACK(true); + rvh->SendBeforeUnloadACK(true); } RenderViewHostDelegateView* TestWebContents::GetDelegateView() { |