Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(830)

Unified Diff: Source/core/frame/LocalFrame.cpp

Issue 1176843006: Move window.close implementation to DOMWindow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase and move backForwardHistory to FrameClient. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/frame/LocalFrame.cpp
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
index 3e97c088adcab4c8129c80b777867bfe3bb98146..f883c36ca99085a240cacef1d2dca6cad2e3551e 100644
--- a/Source/core/frame/LocalFrame.cpp
+++ b/Source/core/frame/LocalFrame.cpp
@@ -350,6 +350,11 @@ void LocalFrame::disconnectOwnerElement()
Frame::disconnectOwnerElement();
}
+bool LocalFrame::shouldClose()
+{
+ return m_loader.shouldClose();
dcheng 2015/06/17 23:39:50 Let's add a TODO, since we need to fix this to wor
nasko 2015/06/19 13:23:22 Done.
+}
+
void LocalFrame::willDetachFrameHost()
{
LocalFrameLifecycleNotifier::notifyWillDetachFrameHost();

Powered by Google App Engine
This is Rietveld 408576698