X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fchrome%2Fbrowser%2Fui%2Fomnibox%2Falternate_nav_infobar_delegate.h;h=e15ba90ff238ab43a0a976317b56c501585a12bf;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=e27b864404d0c9bc44cae5dafb687e0b86477911;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h b/src/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h index e27b864..e15ba90 100644 --- a/src/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h +++ b/src/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h @@ -7,9 +7,13 @@ #include "base/memory/scoped_ptr.h" #include "chrome/browser/autocomplete/autocomplete_match.h" -#include "chrome/browser/infobars/infobar_delegate.h" +#include "components/infobars/core/infobar_delegate.h" -class AlternateNavInfoBarDelegate : public InfoBarDelegate { +namespace content { +class WebContents; +} + +class AlternateNavInfoBarDelegate : public infobars::InfoBarDelegate { public: virtual ~AlternateNavInfoBarDelegate(); @@ -31,7 +35,7 @@ class AlternateNavInfoBarDelegate : public InfoBarDelegate { const GURL& search_url); // Returns an alternate nav infobar that owns |delegate|. - static scoped_ptr CreateInfoBar( + static scoped_ptr CreateInfoBar( scoped_ptr delegate); // InfoBarDelegate: