Index: chrome/common/extensions/api/notifications/notification_style.cc |
diff --git a/chrome/common/extensions/api/notifications/notification_style.cc b/chrome/common/extensions/api/notifications/notification_style.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5d2d8833e3e2615270dd67cb43f1d65474d3fc74 |
--- /dev/null |
+++ b/chrome/common/extensions/api/notifications/notification_style.cc |
@@ -0,0 +1,20 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome/common/extensions/api/notifications/notification_style.h" |
+ |
+#include "ui/message_center/message_center_style.h" |
+ |
+NotificationBitmapSizes GetNotificationBitmapSizes() { |
+ NotificationBitmapSizes sizes; |
+ sizes.image_size = |
+ gfx::Size(message_center::kNotificationPreferredImageWidth, |
+ message_center::kNotificationPreferredImageHeight); |
+ sizes.icon_size = gfx::Size(message_center::kNotificationIconSize, |
+ message_center::kNotificationIconSize); |
+ sizes.button_icon_size = |
+ gfx::Size(message_center::kNotificationButtonIconSize, |
+ message_center::kNotificationButtonIconSize); |
+ return sizes; |
+} |