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

Unified Diff: third_party/WebKit/public/platform/modules/document_metadata/copyless_paste.mojom

Issue 2787703002: Add mojo service for CopylessPaste in Blink (Closed)
Patch Set: Created 3 years, 9 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/public/platform/modules/document_metadata/OWNERS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
+};
« no previous file with comments | « third_party/WebKit/public/platform/modules/document_metadata/OWNERS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698