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

Unified Diff: chrome/browser/ui/collected_cookies_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
« no previous file with comments | « chrome/browser/ui/collected_cookies_infobar_delegate.h ('k') | chrome/browser/ui/hung_plugin_tab_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/collected_cookies_infobar_delegate.cc
diff --git a/chrome/browser/ui/collected_cookies_infobar_delegate.cc b/chrome/browser/ui/collected_cookies_infobar_delegate.cc
index e464bd5759f167c691b63c9d39ab297e9a83d67b..b3f45242f111fe35762c4c964992b16fcd7134e4 100644
--- a/chrome/browser/ui/collected_cookies_infobar_delegate.cc
+++ b/chrome/browser/ui/collected_cookies_infobar_delegate.cc
@@ -6,12 +6,12 @@
#include "base/logging.h"
#include "build/build_config.h"
+#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/infobars/infobar_service.h"
#include "chrome/grit/generated_resources.h"
#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"
// static
void CollectedCookiesInfoBarDelegate::Create(InfoBarService* infobar_service) {
@@ -37,8 +37,8 @@ CollectedCookiesInfoBarDelegate::GetIdentifier() const {
return COLLECTED_COOKIES_INFOBAR_DELEGATE;
}
-gfx::VectorIconId CollectedCookiesInfoBarDelegate::GetVectorIconId() const {
- return gfx::VectorIconId::COOKIE;
+const gfx::VectorIcon& CollectedCookiesInfoBarDelegate::GetVectorIcon() const {
+ return kCookieIcon;
}
base::string16 CollectedCookiesInfoBarDelegate::GetMessageText() const {
« no previous file with comments | « chrome/browser/ui/collected_cookies_infobar_delegate.h ('k') | chrome/browser/ui/hung_plugin_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698