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

Side by Side Diff: ui/message_center/mojo/notification.mojom

Issue 2555853003: Break up common_custom_types.mojom. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « ui/events/mojo/latency_info.mojom ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 };
OLDNEW
« no previous file with comments | « ui/events/mojo/latency_info.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698