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

Unified Diff: chrome/browser/pepper_broker_infobar_delegate.cc

Issue 2382563003: Remove some more desktop infobar PNGs. (Closed)
Patch Set: pkasting review Created 4 years, 2 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/pepper_broker_infobar_delegate.h ('k') | chrome/browser/permissions/permission_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6d94f159693f8c92000624608b3b8ac27194e4a7..7ee700a0fe3398631f3237afeb3dd62f416d8f7d 100644
--- a/chrome/browser/pepper_broker_infobar_delegate.cc
+++ b/chrome/browser/pepper_broker_infobar_delegate.cc
@@ -11,7 +11,6 @@
#include "chrome/browser/plugins/plugin_metadata.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/grit/generated_resources.h"
-#include "chrome/grit/theme_resources.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/infobars/core/infobar.h"
#include "components/strings/grit/components_strings.h"
@@ -23,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"
// static
void PepperBrokerInfoBarDelegate::Create(
@@ -93,8 +92,8 @@ PepperBrokerInfoBarDelegate::GetIdentifier() const {
return PEPPER_BROKER_INFOBAR_DELEGATE;
}
-int PepperBrokerInfoBarDelegate::GetIconId() const {
- return IDR_INFOBAR_PLUGIN_INSTALL;
+gfx::VectorIconId PepperBrokerInfoBarDelegate::GetVectorIconId() const {
+ return gfx::VectorIconId::EXTENSION;
}
base::string16 PepperBrokerInfoBarDelegate::GetMessageText() const {
« no previous file with comments | « chrome/browser/pepper_broker_infobar_delegate.h ('k') | chrome/browser/permissions/permission_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698