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

Unified Diff: chrome/renderer/extensions/notifications_native_handler.cc

Issue 308053004: Add appIconMask to notification API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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/renderer/extensions/notifications_native_handler.cc
diff --git a/chrome/renderer/extensions/notifications_native_handler.cc b/chrome/renderer/extensions/notifications_native_handler.cc
index ba0e17a5252be0ad9b5141e9a4d828c647c4b18f..d15b140e515de88cb916d2baba9017c9525134ca 100644
--- a/chrome/renderer/extensions/notifications_native_handler.cc
+++ b/chrome/renderer/extensions/notifications_native_handler.cc
@@ -38,6 +38,8 @@ void NotificationsNativeHandler::GetNotificationImageSizes(
dict->SetInteger("image.height", bitmap_sizes.image_size.height());
dict->SetInteger("buttonIcon.width", bitmap_sizes.button_icon_size.width());
dict->SetInteger("buttonIcon.height", bitmap_sizes.button_icon_size.height());
+ dict->SetInteger("smallIcon.width", bitmap_sizes.small_icon_size.width());
+ dict->SetInteger("smallIcon.height", bitmap_sizes.small_icon_size.height());
scoped_ptr<content::V8ValueConverter> converter(
content::V8ValueConverter::create());

Powered by Google App Engine
This is Rietveld 408576698