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

Unified Diff: third_party/WebKit/Source/modules/webshare/ShareData.idl

Issue 2211693002: Update navigator.share API to match draft specs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/Source/modules/webshare/ShareData.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webshare/ShareData.idl
diff --git a/cc/ipc/render_pass_id.mojom b/third_party/WebKit/Source/modules/webshare/ShareData.idl
similarity index 53%
copy from cc/ipc/render_pass_id.mojom
copy to third_party/WebKit/Source/modules/webshare/ShareData.idl
index 90eee184925025d5d948c49e6af692ec5ec2a04e..9bb123ccbb7d6ecc986e795391c0e037dc4a036f 100644
--- a/cc/ipc/render_pass_id.mojom
+++ b/third_party/WebKit/Source/modules/webshare/ShareData.idl
@@ -2,9 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module cc.mojom;
+// https://github.com/WICG/web-share/blob/master/docs/interface.md
-struct RenderPassId {
- int32 layer_id;
- uint32 index;
+dictionary ShareData {
+ DOMString? title;
+ DOMString? text;
+ DOMString? url;
};
« no previous file with comments | « third_party/WebKit/Source/modules/webshare/ShareData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698