Index: third_party/WebKit/Source/core/frame/NavigatorClipboard.idl |
diff --git a/third_party/WebKit/Source/core/frame/NavigatorClipboard.idl b/third_party/WebKit/Source/core/frame/NavigatorClipboard.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..25f1a62c3649ed9f1f7bd1134d5fd061c27eb132 |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/frame/NavigatorClipboard.idl |
@@ -0,0 +1,10 @@ |
+// 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. |
+ |
+// https://w3c.github.io/clipboard-apis/#navigator-interface |
+ |
+[RuntimeEnabled=AsyncClipboard] |
+partial interface Navigator { |
+ [CallWith=ScriptState, SecureContext] readonly attribute Clipboard clipboard; |
foolip
2017/02/21 11:13:18
Can you also add [SameObject] here and in the spec
garykac
2017/05/12 21:16:39
Done.
|
+}; |