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

Side by Side Diff: content/public/common/notification_resources.h

Issue 1634933006: Use NotificationResources instead of a bare SkBitmap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_COMMON_NOTIFICATION_RESOURCES_H_
6 #define CONTENT_PUBLIC_COMMON_NOTIFICATION_RESOURCES_H_
7
8 #include "content/common/content_export.h"
9 #include "third_party/skia/include/core/SkBitmap.h"
10
11 namespace content {
12
13 // Structure to hold the resources associated with a Web Notification.
Peter Beverloo 2016/01/26 15:43:23 Perhaps add a TODO to clarify that more resources
Michael van Ouwerkerk 2016/01/26 16:24:21 Done.
14 struct CONTENT_EXPORT NotificationResources {
15 // Main icon for the notification. The bitmap may be empty if e.g. fetching it
16 // has failed.
Peter Beverloo 2016/01/26 15:43:23 "The bitmap may be empty if the developer did not
Michael van Ouwerkerk 2016/01/26 16:24:21 Done.
17 SkBitmap notification_icon;
18 };
19
20 } // namespace content
21
22 #endif // CONTENT_PUBLIC_COMMON_NOTIFICATION_RESOURCES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698