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

Unified Diff: chrome/browser/banners/app_banner_infobar_delegate_desktop.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
« no previous file with comments | « chrome/browser/banners/app_banner_infobar_delegate_desktop.h ('k') | chrome/browser/extensions/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/banners/app_banner_infobar_delegate_desktop.cc
diff --git a/chrome/browser/banners/app_banner_infobar_delegate_desktop.cc b/chrome/browser/banners/app_banner_infobar_delegate_desktop.cc
index 34da670ec8721f5912502547d3296a845800d44a..60435211b8c462b867651346d7d5a637e9f84f50 100644
--- a/chrome/browser/banners/app_banner_infobar_delegate_desktop.cc
+++ b/chrome/browser/banners/app_banner_infobar_delegate_desktop.cc
@@ -7,6 +7,7 @@
#include <memory>
#include "base/bind.h"
+#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/banners/app_banner_manager.h"
#include "chrome/browser/banners/app_banner_metrics.h"
#include "chrome/browser/banners/app_banner_settings_helper.h"
@@ -17,7 +18,6 @@
#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"
namespace banners {
@@ -64,8 +64,8 @@ AppBannerInfoBarDelegateDesktop::GetIdentifier() const {
return APP_BANNER_INFOBAR_DELEGATE_DESKTOP;
}
-gfx::VectorIconId AppBannerInfoBarDelegateDesktop::GetVectorIconId() const {
- return gfx::VectorIconId::APPS;
+const gfx::VectorIcon& AppBannerInfoBarDelegateDesktop::GetVectorIcon() const {
+ return kAppsIcon;
}
void AppBannerInfoBarDelegateDesktop::InfoBarDismissed() {
« no previous file with comments | « chrome/browser/banners/app_banner_infobar_delegate_desktop.h ('k') | chrome/browser/extensions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698