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

Unified Diff: chrome/browser/ui/views/external_tab_container_win.cc

Issue 10972002: chrome: Add TabModalConfirmDialog interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no else after return Created 8 years, 3 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: chrome/browser/ui/views/external_tab_container_win.cc
diff --git a/chrome/browser/ui/views/external_tab_container_win.cc b/chrome/browser/ui/views/external_tab_container_win.cc
index c913144e04426a52b2241fc528ee0a42153443c2..b2db608af9ba247ce819992d99c6dfd51dbd1b45 100644
--- a/chrome/browser/ui/views/external_tab_container_win.cc
+++ b/chrome/browser/ui/views/external_tab_container_win.cc
@@ -30,9 +30,9 @@
#include "chrome/browser/ui/app_modal_dialogs/javascript_dialog_creator.h"
#include "chrome/browser/ui/blocked_content/blocked_content_tab_helper.h"
#include "chrome/browser/ui/browser.h"
-#include "chrome/browser/ui/browser_dialogs.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/tab_contents/tab_contents.h"
+#include "chrome/browser/ui/tab_modal_confirm_dialog.h"
#include "chrome/browser/ui/views/infobars/infobar_container_view.h"
#include "chrome/browser/ui/views/tab_contents/render_view_context_menu_win.h"
#include "chrome/common/automation_messages.h"
@@ -771,8 +771,8 @@ void ExternalTabContainerWin::BeforeUnloadFired(WebContents* tab,
}
void ExternalTabContainerWin::ShowRepostFormWarningDialog(WebContents* source) {
- chrome::ShowTabModalConfirmDialog(new RepostFormWarningController(source),
- TabContents::FromWebContents(source));
+ TabModalConfirmDialog::Create(new RepostFormWarningController(source),
+ TabContents::FromWebContents(source));
}
void ExternalTabContainerWin::RunFileChooser(

Powered by Google App Engine
This is Rietveld 408576698