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

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

Issue 241643006: Remove more dead code from core/ folder (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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
« no previous file with comments | « Source/core/frame/DOMWindow.h ('k') | Source/core/page/FocusController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/DOMWindow.cpp
diff --git a/Source/core/frame/DOMWindow.cpp b/Source/core/frame/DOMWindow.cpp
index c3c3810e53ac63924d2d854aba3fe839a88e8fbf..c5b0a7ee7dd2b6c8003b56bee9a6840f6435f175 100644
--- a/Source/core/frame/DOMWindow.cpp
+++ b/Source/core/frame/DOMWindow.cpp
@@ -310,16 +310,6 @@ bool DOMWindow::allowPopUp()
return m_frame && allowPopUp(*m_frame);
}
-bool DOMWindow::canShowModalDialog(const LocalFrame* frame)
-{
- if (!frame)
- return false;
- FrameHost* host = frame->host();
- if (!host)
- return false;
- return host->chrome().canRunModal();
-}
-
bool DOMWindow::canShowModalDialogNow(const LocalFrame* frame)
{
if (!frame)
« no previous file with comments | « Source/core/frame/DOMWindow.h ('k') | Source/core/page/FocusController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698