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

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

Issue 2711623003: Update infobars to use VectorIcon struct instead of VectorIconId. (Closed)
Patch Set: rebase Created 3 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 227e595674c0ce1c6bb824f2356ca459316711a7..3602b7d4a171ea68b05fb7e808e46ff407fe2779 100644
--- a/chrome/browser/ui/website_settings/website_settings_infobar_delegate.cc
+++ b/chrome/browser/ui/website_settings/website_settings_infobar_delegate.cc
@@ -7,13 +7,13 @@
#include "base/logging.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
+#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/infobars/infobar_service.h"
#include "chrome/grit/generated_resources.h"
#include "chrome/grit/theme_resources.h"
#include "components/infobars/core/infobar.h"
#include "content/public/browser/web_contents.h"
#include "ui/base/l10n/l10n_util.h"
-#include "ui/gfx/vector_icons_public.h"
// static
void WebsiteSettingsInfoBarDelegate::Create(InfoBarService* infobar_service) {
@@ -39,8 +39,8 @@ WebsiteSettingsInfoBarDelegate::GetIdentifier() const {
return WEBSITE_SETTINGS_INFOBAR_DELEGATE;
}
-gfx::VectorIconId WebsiteSettingsInfoBarDelegate::GetVectorIconId() const {
- return gfx::VectorIconId::GLOBE;
+const gfx::VectorIcon& WebsiteSettingsInfoBarDelegate::GetVectorIcon() const {
+ return kGlobeIcon;
}
base::string16 WebsiteSettingsInfoBarDelegate::GetMessageText() const {
« no previous file with comments | « chrome/browser/ui/website_settings/website_settings_infobar_delegate.h ('k') | components/infobars/core/infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698