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 |
+ ); |
+}; |