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..9236a35e515b75602414324ed9cf89285cbefb22 |
| --- /dev/null |
| +++ b/third_party/WebKit/public/platform/modules/document_metadata/copyless_paste.mojom |
| @@ -0,0 +1,32 @@ |
| +// 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 { |
| + array<bool> bool_values; |
| + array<int64> long_values; |
| + array<string> string_values; |
| + array<Entity> entity_values; |
| +}; |
| + |
| +struct Properties { |
|
dproctor
2017/03/30 17:21:31
nit: Property?
wychen
2017/03/30 17:40:30
Done.
|
| + string name; |
| + Values values; |
| +}; |
| + |
| +struct Entity { |
| + string type; |
| + array<Properties> properties; |
| +}; |
| + |
| +struct WebPage { |
| + string url; |
| + string title; |
| + array<Entity> entities; |
| +}; |
| + |
| +interface CopylessPaste { |
| + GetEntities() => (WebPage page); |
| +}; |