diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-05 00:05:08 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-05 00:05:08 +0000 |
commit | 0e30ef7b4eed575d9f4efd42ca23c18c7ca8bd6a (patch) | |
tree | 8c088e1f17834ca98961f006868886c32bd46062 /chrome/browser/cocoa | |
parent | 66de4f091a069b7d34a1afc16d6f1429a2b65781 (diff) | |
download | chromium_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/cocoa')
-rw-r--r-- | chrome/browser/cocoa/browser_window_cocoa.h | 1 | ||||
-rw-r--r-- | chrome/browser/cocoa/browser_window_cocoa.mm | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/browser_window_cocoa.h b/chrome/browser/cocoa/browser_window_cocoa.h index 7258d43..bdc105b 100644 --- a/chrome/browser/cocoa/browser_window_cocoa.h +++ b/chrome/browser/cocoa/browser_window_cocoa.h @@ -74,6 +74,7 @@ class BrowserWindowCocoa : public BrowserWindow, virtual void ShowSelectProfileDialog(); virtual void ShowNewProfileDialog(); virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); + virtual void ShowHistoryTooNewDialog(); virtual void ConfirmBrowserCloseWithPendingDownloads(); virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, gfx::NativeWindow parent_window); diff --git a/chrome/browser/cocoa/browser_window_cocoa.mm b/chrome/browser/cocoa/browser_window_cocoa.mm index 377309c..b51ab8c 100644 --- a/chrome/browser/cocoa/browser_window_cocoa.mm +++ b/chrome/browser/cocoa/browser_window_cocoa.mm @@ -259,6 +259,10 @@ void BrowserWindowCocoa::ShowRepostFormWarningDialog( NOTIMPLEMENTED(); } +void BrowserWindowCocoa::ShowHistoryTooNewDialog() { + NOTIMPLEMENTED(); +} + // We allow closing the window here since the real quit decision on Mac is made // in [AppController quit:]. void BrowserWindowCocoa::ConfirmBrowserCloseWithPendingDownloads() { |