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

Unified Diff: chrome/browser/notifications/desktop_notification_service.cc

Issue 7742002: Change the icon on the desktop notifications infobar. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add correct theme resource bundle inclusion. Created 9 years, 3 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/app/theme/theme_resources_standard.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/desktop_notification_service.cc
diff --git a/chrome/browser/notifications/desktop_notification_service.cc b/chrome/browser/notifications/desktop_notification_service.cc
index 89e7d38f560b87877b4f8a16930bb4527a60c7d1..7c99d836ac4a17917c75a9f02f4ee5cdbe17bef1 100644
--- a/chrome/browser/notifications/desktop_notification_service.cc
+++ b/chrome/browser/notifications/desktop_notification_service.cc
@@ -38,6 +38,7 @@
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
#include "grit/theme_resources.h"
+#include "grit/theme_resources_standard.h"
#include "net/base/escape.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
@@ -122,7 +123,7 @@ NotificationPermissionInfoBarDelegate::
gfx::Image* NotificationPermissionInfoBarDelegate::GetIcon() const {
return &ResourceBundle::GetSharedInstance().GetNativeImageNamed(
- IDR_PRODUCT_LOGO_32);
+ IDR_INFOBAR_DESKTOP_NOTIFICATIONS);
msw 2011/09/07 23:36:12 nit: I think this line should be indented one more
}
InfoBarDelegate::Type
« no previous file with comments | « chrome/app/theme/theme_resources_standard.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698