Index: content/browser/tab_contents/tab_contents.cc |
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc |
index 050d9875a830e8cab510a1dcfe1b76c1a94f8dda..dd605b44fce22c510fa38ba56badba903e86a20e 100644 |
--- a/content/browser/tab_contents/tab_contents.cc |
+++ b/content/browser/tab_contents/tab_contents.cc |
@@ -41,7 +41,6 @@ |
#include "chrome/browser/load_notification_details.h" |
#include "chrome/browser/metrics/metric_event_duration_details.h" |
#include "chrome/browser/metrics/user_metrics.h" |
-#include "chrome/browser/modal_html_dialog_delegate.h" |
#include "chrome/browser/omnibox_search_hint.h" |
#include "chrome/browser/pdf_unsupported_feature.h" |
#include "chrome/browser/platform_util.h" |
@@ -2471,17 +2470,6 @@ void TabContents::RunBeforeUnloadConfirm(const std::wstring& message, |
RunBeforeUnloadDialog(this, message, reply_msg); |
} |
-void TabContents::ShowModalHTMLDialog(const GURL& url, int width, int height, |
- const std::string& json_arguments, |
- IPC::Message* reply_msg) { |
- if (delegate()) { |
- HtmlDialogUIDelegate* dialog_delegate = |
- new ModalHtmlDialogDelegate(url, width, height, json_arguments, |
- reply_msg, this); |
- delegate()->ShowHtmlDialog(dialog_delegate, NULL); |
- } |
-} |
- |
GURL TabContents::GetAlternateErrorPageURL() const { |
GURL url; |
// Disable alternate error pages when in OffTheRecord/Incognito mode. |