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

Unified Diff: chrome/browser/plugins/plugin_infobar_delegates.cc

Issue 2711623003: Update infobars to use VectorIcon struct instead of VectorIconId. (Closed)
Patch Set: mac fix 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/plugins/plugin_infobar_delegates.cc
diff --git a/chrome/browser/plugins/plugin_infobar_delegates.cc b/chrome/browser/plugins/plugin_infobar_delegates.cc
index 39b7a13be0ab238cb193f381ea9e1b92c122f4b1..88d50543721bec8852a1875577008ecd3f26eb38 100644
--- a/chrome/browser/plugins/plugin_infobar_delegates.cc
+++ b/chrome/browser/plugins/plugin_infobar_delegates.cc
@@ -31,7 +31,7 @@
#include "content/public/browser/user_metrics.h"
#include "content/public/browser/web_contents.h"
#include "ui/base/l10n/l10n_util.h"
-#include "ui/gfx/vector_icons_public.h"
+#include "ui/vector_icons/vector_icons.h"
#if BUILDFLAG(ENABLE_PLUGIN_INSTALLATION)
#include "chrome/browser/plugins/plugin_installer.h"
@@ -110,8 +110,8 @@ void OutdatedPluginInfoBarDelegate::InfoBarDismissed() {
content::RecordAction(UserMetricsAction("OutdatedPluginInfobar.Dismissed"));
}
-gfx::VectorIconId OutdatedPluginInfoBarDelegate::GetVectorIconId() const {
- return gfx::VectorIconId::EXTENSION;
+const gfx::VectorIcon& OutdatedPluginInfoBarDelegate::GetVectorIcon() const {
+ return ui::kExtensionIcon;
}
base::string16 OutdatedPluginInfoBarDelegate::GetMessageText() const {

Powered by Google App Engine
This is Rietveld 408576698