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

Unified Diff: content/browser/tab_contents/navigation_controller.cc

Issue 8851007: WIP / Do not commit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | « chrome/test/base/test_browser_window.h ('k') | content/browser/tab_contents/tab_contents_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tab_contents/navigation_controller.cc
diff --git a/content/browser/tab_contents/navigation_controller.cc b/content/browser/tab_contents/navigation_controller.cc
index a194a7e267eb10518433f97b8486ed43203dd6b1..4b34a04e3a5537d5272ac78cc080c10e3c46f037 100644
--- a/content/browser/tab_contents/navigation_controller.cc
+++ b/content/browser/tab_contents/navigation_controller.cc
@@ -10,6 +10,7 @@
#include "base/string_util.h"
#include "base/time.h"
#include "base/utf_string_conversions.h"
+#include "chrome/browser/repost_form_warning_controller.h"
#include "content/browser/browser_context.h"
#include "content/browser/browser_url_handler.h"
#include "content/browser/child_process_security_policy.h"
@@ -192,7 +193,8 @@ void NavigationController::ReloadInternal(bool check_for_repost,
pending_reload_ = reload_type;
tab_contents_->Activate();
- tab_contents_->delegate()->ShowRepostFormWarningDialog(tab_contents_);
+ tab_contents_->delegate()->ShowTabModalDialog(
+ new RepostFormWarningController(tab_contents_), tab_contents_);
} else {
DiscardNonCommittedEntriesInternal();
« no previous file with comments | « chrome/test/base/test_browser_window.h ('k') | content/browser/tab_contents/tab_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698