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

Unified Diff: chrome/browser/pepper_broker_infobar_delegate.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/pepper_broker_infobar_delegate.cc
diff --git a/chrome/browser/pepper_broker_infobar_delegate.cc b/chrome/browser/pepper_broker_infobar_delegate.cc
index 7ee700a0fe3398631f3237afeb3dd62f416d8f7d..967156c3be3f4471dcdc27669fa498c17b2111f0 100644
--- a/chrome/browser/pepper_broker_infobar_delegate.cc
+++ b/chrome/browser/pepper_broker_infobar_delegate.cc
@@ -22,7 +22,7 @@
#include "content/public/common/referrer.h"
#include "content/public/common/webplugininfo.h"
#include "ui/base/l10n/l10n_util.h"
-#include "ui/gfx/vector_icons_public.h"
+#include "ui/vector_icons/vector_icons.h"
// static
void PepperBrokerInfoBarDelegate::Create(
@@ -92,8 +92,8 @@ PepperBrokerInfoBarDelegate::GetIdentifier() const {
return PEPPER_BROKER_INFOBAR_DELEGATE;
}
-gfx::VectorIconId PepperBrokerInfoBarDelegate::GetVectorIconId() const {
- return gfx::VectorIconId::EXTENSION;
+const gfx::VectorIcon& PepperBrokerInfoBarDelegate::GetVectorIcon() const {
+ return ui::kExtensionIcon;
}
base::string16 PepperBrokerInfoBarDelegate::GetMessageText() const {

Powered by Google App Engine
This is Rietveld 408576698