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 { |
| 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; |
| 26 string title; |
| 27 array<Entity> entities; |
| 28 }; |
| 29 |
| 30 interface CopylessPaste { |
| 31 GetEntities() => (WebPage page); |
| 32 }; |
OLD | NEW |