summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_window.h
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-05 00:05:08 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-05 00:05:08 +0000
commit0e30ef7b4eed575d9f4efd42ca23c18c7ca8bd6a (patch)
tree8c088e1f17834ca98961f006868886c32bd46062 /chrome/browser/browser_window.h
parent66de4f091a069b7d34a1afc16d6f1429a2b65781 (diff)
downloadchromium_src-0e30ef7b4eed575d9f4efd42ca23c18c7ca8bd6a.zip
chromium_src-0e30ef7b4eed575d9f4efd42ca23c18c7ca8bd6a.tar.gz
chromium_src-0e30ef7b4eed575d9f4efd42ca23c18c7ca8bd6a.tar.bz2
Move the "history is too new" dialog out of
chrome/browser/history/history.cc. Instead use a notification that Browser picks up and delegates to BrowserWindow. Include implementations for Windows, Linux GTK+, and Linux Views (sorry, no mac impl). Review URL: http://codereview.chromium.org/200023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25556 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_window.h')
-rw-r--r--chrome/browser/browser_window.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/browser_window.h b/chrome/browser/browser_window.h
index 5268318..cae21a5 100644
--- a/chrome/browser/browser_window.h
+++ b/chrome/browser/browser_window.h
@@ -196,6 +196,9 @@ class BrowserWindow {
// Shows the repost form confirmation dialog box.
virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) = 0;
+ // Shows a dialog to the user that the history is too new.
+ virtual void ShowHistoryTooNewDialog() = 0;
+
// Shows the confirmation dialog box warning that the browser is closing with
// in-progress downloads.
// This method should call Browser::InProgressDownloadResponse once the user