diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-05 20:17:07 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-05 20:17:07 +0000 |
commit | b5bb35f1ddd2e113089e329b024a4fb843d038fb (patch) | |
tree | 7fc3944bb8cbcf56e7adcbf11e15929740fccb69 /chrome/browser/tab_contents/repost_form_warning.h | |
parent | 031c7baebf04ef2351953c62e494057835bf5277 (diff) | |
download | chromium_src-b5bb35f1ddd2e113089e329b024a4fb843d038fb.zip chromium_src-b5bb35f1ddd2e113089e329b024a4fb843d038fb.tar.gz chromium_src-b5bb35f1ddd2e113089e329b024a4fb843d038fb.tar.bz2 |
Move resource_message_filter and resource_request_details to the renderer_host.
Make the repost form warning portable by abstracting the show function from
the view. Rename the Windows repost form warning and move it to browser/views.
This also fixes a comment in browser_process.h
Review URL: http://codereview.chromium.org/20066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9242 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/repost_form_warning.h')
-rw-r--r-- | chrome/browser/tab_contents/repost_form_warning.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/repost_form_warning.h b/chrome/browser/tab_contents/repost_form_warning.h new file mode 100644 index 0000000..33588dc --- /dev/null +++ b/chrome/browser/tab_contents/repost_form_warning.h @@ -0,0 +1,17 @@ +// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_TAB_CONTENTS_REPOST_FORM_WARNING_H_
+#define CHROME_BROWSER_TAB_CONTENTS_REPOST_FORM_WARNING_H_
+
+class NavigationController;
+
+// Runs the form repost warning dialog. If the user accepts the action, then
+// it will call Reload on the navigation controller back with check_for_repost
+// set to false.
+//
+// This function is implemented by the platform-specific frontend.
+void RunRepostFormWarningDialog(NavigationController* nav_controller);
+
+#endif // CHROME_BROWSER_TAB_CONTENTS_REPOST_FORM_WARNING_H_
|