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

Unified Diff: chrome/browser/pepper_broker_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/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..4caf2cf6097418f83f59d743c876725668e4f0a6 100644
--- a/chrome/browser/pepper_broker_infobar_delegate.cc
+++ b/chrome/browser/pepper_broker_infobar_delegate.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/pepper_broker_infobar_delegate.h"
+#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chrome/browser/content_settings/tab_specific_content_settings.h"
#include "chrome/browser/infobars/infobar_service.h"
@@ -22,7 +23,6 @@
#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"
// 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 kExtensionIcon;
}
base::string16 PepperBrokerInfoBarDelegate::GetMessageText() const {
« no previous file with comments | « chrome/browser/pepper_broker_infobar_delegate.h ('k') | chrome/browser/permissions/permission_request_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698