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

Unified Diff: third_party/WebKit/public/platform/modules/webshare/webshare.mojom

Issue 1814133002: Added experimental Share API on Android behind flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ballista-share-requester-mojo-blink
Patch Set: Rebase. Created 4 years, 5 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/BUILD.gn ('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/webshare/webshare.mojom
diff --git a/third_party/WebKit/public/platform/modules/webshare/webshare.mojom b/third_party/WebKit/public/platform/modules/webshare/webshare.mojom
index 5291919be8d5c30ec5f33e42684400a30c702993..b96ec30b05e779597ad41a62a8717fb9ac14b05d 100644
--- a/third_party/WebKit/public/platform/modules/webshare/webshare.mojom
+++ b/third_party/WebKit/public/platform/modules/webshare/webshare.mojom
@@ -2,10 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+[JavaPackage="org.chromium.mojom.webshare"]
module blink.mojom;
interface ShareService {
// The web contents has requested to send a share text action. Returns null on
// success, or an error message on failure.
+ // TODO(mgiuca): Return an error enum, instead of a string (so the actual
+ // error messages are generated in a single place, rather than many service
+ // handlers).
Share(string title, string text) => (string? error);
};
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698