diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-13 19:23:36 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-13 19:23:36 +0000 |
commit | 20d2b454c328bbc8b5a30e43627ca100aa370fe0 (patch) | |
tree | 8e371a45cabce05fa604f2e520ef8b0e9f3bf9b9 /chrome/common | |
parent | 043fe7e5d0bc2539348a9daec8f62ff08c67ca99 (diff) | |
download | chromium_src-20d2b454c328bbc8b5a30e43627ca100aa370fe0.zip chromium_src-20d2b454c328bbc8b5a30e43627ca100aa370fe0.tar.gz chromium_src-20d2b454c328bbc8b5a30e43627ca100aa370fe0.tar.bz2 |
add infobar_delegate.cc to the build
Review URL: http://codereview.chromium.org/20341
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9774 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.cc | 15 | ||||
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.h | 20 |
2 files changed, 16 insertions, 19 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.cc b/chrome/common/temp_scaffolding_stubs.cc index 89af029..2c7ee7c 100644 --- a/chrome/common/temp_scaffolding_stubs.cc +++ b/chrome/common/temp_scaffolding_stubs.cc @@ -498,3 +498,18 @@ MemoryDetails::MemoryDetails() { void MemoryDetails::StartFetch() { NOTIMPLEMENTED(); } + +InfoBar* ConfirmInfoBarDelegate::CreateInfoBar() { + NOTIMPLEMENTED(); + return NULL; +} + +InfoBar* AlertInfoBarDelegate::CreateInfoBar() { + NOTIMPLEMENTED(); + return NULL; +} + +InfoBar* LinkInfoBarDelegate::CreateInfoBar() { + NOTIMPLEMENTED(); + return NULL; +} diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h index dd5271f..c65e788 100644 --- a/chrome/common/temp_scaffolding_stubs.h +++ b/chrome/common/temp_scaffolding_stubs.h @@ -34,6 +34,7 @@ #include "chrome/browser/sessions/session_id.h" #include "chrome/browser/ssl/ssl_error_info.h" #include "chrome/browser/ssl/ssl_manager.h" +#include "chrome/browser/tab_contents/infobar_delegate.h" #include "chrome/browser/tab_contents/navigation_entry.h" #include "chrome/browser/tab_contents/page_navigator.h" #include "chrome/browser/tab_contents/tab_contents_type.h" @@ -636,20 +637,6 @@ class InterstitialPage { } }; -class InfoBarDelegate { -}; - -class ConfirmInfoBarDelegate : public InfoBarDelegate { - public: - explicit ConfirmInfoBarDelegate(TabContents* contents) {} - - enum InfoBarButton { - BUTTON_NONE = 0, - BUTTON_OK, - BUTTON_CANCEL - }; -}; - class TabContents : public PageNavigator, public NotificationObserver { public: enum InvalidateTypes { @@ -998,11 +985,6 @@ class CharacterEncoding { } }; -class SimpleAlertInfoBarDelegate : public InfoBarDelegate { - public: - SimpleAlertInfoBarDelegate(WebContents*, const std::wstring&, void*) {} -}; - #if defined(OS_MACOSX) class FindBarMac { public: |