Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc

Issue 240193003: Move Infobars core files to the Infobars component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nib name on mac Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc
diff --git a/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc b/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc
index cb80a34dfc55fbc8a0fba7a8f7e26f1d03f43421..3b9df359990d19e6423127e21cd75bdc5999c328 100644
--- a/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc
+++ b/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc
@@ -9,9 +9,9 @@
#include "chrome/browser/autocomplete/shortcuts_backend_factory.h"
#include "chrome/browser/history/history_service.h"
#include "chrome/browser/history/history_service_factory.h"
-#include "chrome/browser/infobars/infobar.h"
#include "chrome/browser/infobars/infobar_service.h"
#include "chrome/browser/profiles/profile.h"
+#include "components/infobars/core/infobar.h"
#include "content/public/browser/web_contents.h"
#include "grit/generated_resources.h"
#include "grit/theme_resources.h"
@@ -40,7 +40,7 @@ AlternateNavInfoBarDelegate::AlternateNavInfoBarDelegate(
const base::string16& text,
const AutocompleteMatch& match,
const GURL& search_url)
- : InfoBarDelegate(),
+ : infobars::InfoBarDelegate(),
profile_(profile),
text_(text),
match_(match),
@@ -96,6 +96,7 @@ int AlternateNavInfoBarDelegate::GetIconID() const {
return IDR_INFOBAR_ALT_NAV_URL;
}
-InfoBarDelegate::Type AlternateNavInfoBarDelegate::GetInfoBarType() const {
+infobars::InfoBarDelegate::Type AlternateNavInfoBarDelegate::GetInfoBarType()
+ const {
return PAGE_ACTION_TYPE;
}
« no previous file with comments | « chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h ('k') | chrome/browser/ui/startup/autolaunch_prompt_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698