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

Unified Diff: third_party/WebKit/Source/modules/ballista/Actions.idl

Issue 1806253002: Added Web Share (navigator.share) experimental web API (stub). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/Source/modules/ballista/Actions.idl
diff --git a/chrome/browser/ui/views/tabs/window_finder.cc b/third_party/WebKit/Source/modules/ballista/Actions.idl
similarity index 54%
copy from chrome/browser/ui/views/tabs/window_finder.cc
copy to third_party/WebKit/Source/modules/ballista/Actions.idl
index 7f95d12d1a6b89961bacfdba9ec57c6dac19b6f3..b7e111947d80664550ba34a1f23c45dbb9b2217f 100644
--- a/chrome/browser/ui/views/tabs/window_finder.cc
+++ b/third_party/WebKit/Source/modules/ballista/Actions.idl
@@ -2,7 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/ui/views/tabs/window_finder.h"
+// TODO(mgiuca): Add spec URL here.
-WindowFinder::WindowFinder() {}
-WindowFinder::~WindowFinder() {}
+[
+ GarbageCollected,
+ NoInterfaceObject,
+ RuntimeEnabled=Ballista,
+] interface Actions {
+ [CallWith=ScriptState] Promise<undefined> share (
+ DOMString title,
+ DOMString text
+ );
+};

Powered by Google App Engine
This is Rietveld 408576698