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

Unified Diff: chrome/browser/ui/website_settings/website_settings_infobar_delegate.cc

Issue 922953002: Minor infobar cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resync Created 5 years, 10 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/website_settings/website_settings_infobar_delegate.cc
diff --git a/chrome/browser/ui/website_settings/website_settings_infobar_delegate.cc b/chrome/browser/ui/website_settings/website_settings_infobar_delegate.cc
index 76c60a48796d5baccc329f866d228571b91a0fb7..77b2a41556632692b959681a3d594998243604bc 100644
--- a/chrome/browser/ui/website_settings/website_settings_infobar_delegate.cc
+++ b/chrome/browser/ui/website_settings/website_settings_infobar_delegate.cc
@@ -28,13 +28,13 @@ WebsiteSettingsInfoBarDelegate::WebsiteSettingsInfoBarDelegate()
WebsiteSettingsInfoBarDelegate::~WebsiteSettingsInfoBarDelegate() {
}
-int WebsiteSettingsInfoBarDelegate::GetIconID() const {
- return IDR_INFOBAR_ALT_NAV_URL;
+infobars::InfoBarDelegate::Type
+WebsiteSettingsInfoBarDelegate::GetInfoBarType() const {
+ return PAGE_ACTION_TYPE;
}
-infobars::InfoBarDelegate::Type WebsiteSettingsInfoBarDelegate::GetInfoBarType()
- const {
- return PAGE_ACTION_TYPE;
+int WebsiteSettingsInfoBarDelegate::GetIconID() const {
+ return IDR_INFOBAR_ALT_NAV_URL;
}
base::string16 WebsiteSettingsInfoBarDelegate::GetMessageText() const {
« no previous file with comments | « chrome/browser/ui/website_settings/website_settings_infobar_delegate.h ('k') | chrome/test/gpu/webgl_infobar_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698