OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 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 module blink.mojom; | |
6 | |
7 union Values { | |
dcheng
2017/04/04 06:30:21
Nit: please add some comments that document the di
wychen
2017/04/05 00:57:53
Done.
| |
8 array<bool> bool_values; | |
9 array<int64> long_values; | |
10 array<string> string_values; | |
11 array<Entity> entity_values; | |
12 }; | |
13 | |
14 struct Property { | |
15 string name; | |
16 Values values; | |
17 }; | |
18 | |
19 struct Entity { | |
20 string type; | |
21 array<Property> properties; | |
22 }; | |
23 | |
24 struct WebPage { | |
25 string url; | |
dcheng
2017/04/04 06:30:20
Please use url.mojom.Url.
wychen
2017/04/05 00:57:53
Done.
| |
26 string title; | |
27 array<Entity> entities; | |
28 }; | |
OLD | NEW |