| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 module message_center.mojom; | 5 module message_center.mojom; |
| 6 | 6 |
| 7 import "mojo/common/common_custom_types.mojom"; | 7 import "mojo/common/string16.mojom"; |
| 8 import "skia/public/interfaces/bitmap.mojom"; | 8 import "skia/public/interfaces/bitmap.mojom"; |
| 9 import "url/mojo/url.mojom"; | 9 import "url/mojo/url.mojom"; |
| 10 | 10 |
| 11 // TODO(mhashmi): Add the rest of the fields for a Notification | 11 // TODO(mhashmi): Add the rest of the fields for a Notification |
| 12 struct Notification { | 12 struct Notification { |
| 13 // TODO(mhashmi): Server-side code (in Ash) needs to make sure this id won't | 13 // TODO(mhashmi): Server-side code (in Ash) needs to make sure this id won't |
| 14 // collide with ids from different clients | 14 // collide with ids from different clients |
| 15 string id; | 15 string id; |
| 16 | 16 |
| 17 mojo.common.mojom.String16 title; | 17 mojo.common.mojom.String16 title; |
| 18 mojo.common.mojom.String16 message; | 18 mojo.common.mojom.String16 message; |
| 19 skia.mojom.Bitmap? icon; | 19 skia.mojom.Bitmap? icon; |
| 20 mojo.common.mojom.String16 display_source; | 20 mojo.common.mojom.String16 display_source; |
| 21 url.mojom.Url origin_url; | 21 url.mojom.Url origin_url; |
| 22 }; | 22 }; |
| OLD | NEW |