Chromium Code Reviews| Index: third_party/WebKit/public/platform/modules/document_metadata/copyless_paste.mojom |
| diff --git a/third_party/WebKit/public/platform/modules/document_metadata/copyless_paste.mojom b/third_party/WebKit/public/platform/modules/document_metadata/copyless_paste.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..004b02c819f6d6148d89328673c6b4236dedf2f0 |
| --- /dev/null |
| +++ b/third_party/WebKit/public/platform/modules/document_metadata/copyless_paste.mojom |
| @@ -0,0 +1,28 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +module blink.mojom; |
| + |
| +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.
|
| + array<bool> bool_values; |
| + array<int64> long_values; |
| + array<string> string_values; |
| + array<Entity> entity_values; |
| +}; |
| + |
| +struct Property { |
| + string name; |
| + Values values; |
| +}; |
| + |
| +struct Entity { |
| + string type; |
| + array<Property> properties; |
| +}; |
| + |
| +struct WebPage { |
| + string url; |
|
dcheng
2017/04/04 06:30:20
Please use url.mojom.Url.
wychen
2017/04/05 00:57:53
Done.
|
| + string title; |
| + array<Entity> entities; |
| +}; |