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

Side by Side Diff: chrome/common/extensions/api/notifications/notification_style.h

Issue 308053004: Add appIconMask to notification API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_
6 #define CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_ 6 #define CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_
7 7
8 #include "ui/gfx/size.h" 8 #include "ui/gfx/size.h"
9 9
10 // This structure describes the size in DIPs of each type of image rendered 10 // This structure describes the size in DIPs of each type of image rendered
11 // by the notification center within a notification. 11 // by the notification center within a notification.
12 struct NotificationBitmapSizes { 12 struct NotificationBitmapSizes {
13 NotificationBitmapSizes();
14 ~NotificationBitmapSizes();
15
13 gfx::Size image_size; 16 gfx::Size image_size;
14 gfx::Size icon_size; 17 gfx::Size icon_size;
15 gfx::Size button_icon_size; 18 gfx::Size button_icon_size;
19 gfx::Size app_icon_mask_size;
16 }; 20 };
17 21
18 NotificationBitmapSizes GetNotificationBitmapSizes(); 22 NotificationBitmapSizes GetNotificationBitmapSizes();
19 23
20 #endif // CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_ 24 #endif // CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/notifications.idl ('k') | chrome/common/extensions/api/notifications/notification_style.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698