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

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: style fix 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 a08284b2783a9454c82187e993c678d7afb8f9da..4b438b339432854a8d8138c3c6af74fcdd4d4192 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