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

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: rebase across https://codereview.chromium.org/2783543004 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
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..2dd0217e41d253c3ce5e8b8727affa606676b8f3
--- /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 Property {
+ string name;
+ Values values;
+};
+
+struct Entity {
+ string type;
+ array<Property> properties;
+};
+
+struct WebPage {
+ string url;
+ string title;
+ array<Entity> entities;
+};
+
+interface CopylessPaste {
+ GetEntities() => (WebPage page);
+};

Powered by Google App Engine
This is Rietveld 408576698