diff options
Diffstat (limited to 'chrome/browser/infobars')
-rw-r--r-- | chrome/browser/infobars/infobar.cc | 4 | ||||
-rw-r--r-- | chrome/browser/infobars/infobar.h | 2 | ||||
-rw-r--r-- | chrome/browser/infobars/infobar_container.cc | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/infobars/infobar.cc b/chrome/browser/infobars/infobar.cc index 8a37ced..079b571 100644 --- a/chrome/browser/infobars/infobar.cc +++ b/chrome/browser/infobars/infobar.cc @@ -37,7 +37,7 @@ SkColor GetInfoBarBottomColor(InfoBarDelegate::Type infobar_type) { } // TODO(pkasting): Port Mac to use this. -#if defined(TOOLKIT_VIEWS) || defined(TOOLKIT_GTK) +#if defined(TOOLKIT_VIEWS) || defined(TOOLKIT_GTK) || defined(OS_ANDROID) InfoBar::InfoBar(InfoBarService* owner, InfoBarDelegate* delegate) : owner_(owner), @@ -188,4 +188,4 @@ void InfoBar::MaybeDelete() { } } -#endif // TOOLKIT_VIEWS || TOOLKIT_GTK +#endif // TOOLKIT_VIEWS || TOOLKIT_GTK || OS_ANDROID diff --git a/chrome/browser/infobars/infobar.h b/chrome/browser/infobars/infobar.h index eab823e..1c0fbb9 100644 --- a/chrome/browser/infobars/infobar.h +++ b/chrome/browser/infobars/infobar.h @@ -27,7 +27,7 @@ typedef std::pair<InfoBarDelegate*, bool> InfoBarRemovedDetails; typedef std::pair<InfoBarDelegate*, InfoBarDelegate*> InfoBarReplacedDetails; // TODO(pkasting): Port Mac to use this. -#if defined(TOOLKIT_VIEWS) || defined(TOOLKIT_GTK) +#if defined(TOOLKIT_VIEWS) || defined(TOOLKIT_GTK) || defined(OS_ANDROID) class InfoBarContainer; class InfoBarService; diff --git a/chrome/browser/infobars/infobar_container.cc b/chrome/browser/infobars/infobar_container.cc index bb13a07..9b8ce11 100644 --- a/chrome/browser/infobars/infobar_container.cc +++ b/chrome/browser/infobars/infobar_container.cc @@ -5,7 +5,7 @@ #include "build/build_config.h" // TODO(pkasting): Port Mac to use this. -#if defined(TOOLKIT_VIEWS) || defined(TOOLKIT_GTK) +#if defined(TOOLKIT_VIEWS) || defined(TOOLKIT_GTK) || defined(OS_ANDROID) #include "chrome/browser/infobars/infobar_container.h" @@ -265,4 +265,4 @@ int InfoBarContainer::ArrowTargetHeightForInfoBar(size_t infobar_index) const { first_infobar_animation.GetCurrentValue()); } -#endif // TOOLKIT_VIEWS || defined(TOOLKIT_GTK) +#endif // TOOLKIT_VIEWS || defined(TOOLKIT_GTK) || defined(OS_ANDROID) |