OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 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 ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_H_ | |
6 #define ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/string16.h" | |
11 #include "ui/gfx/image/image_skia.h" | |
12 | |
13 namespace message_center { | |
14 | |
15 struct WebNotification { | |
16 WebNotification(); | |
17 virtual ~WebNotification(); | |
18 | |
19 std::string id; | |
20 string16 title; | |
21 string16 message; | |
22 string16 display_source; | |
23 std::string extension_id; | |
24 gfx::ImageSkia image; | |
25 bool is_read; // True if this has been seen in the message center | |
26 bool shown_as_popup; // True if this has been shown as a popup notification | |
27 }; | |
28 | |
29 } // namespace message_center | |
30 | |
31 #endif // ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_H_ | |
OLD | NEW |