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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/interfaces/clipboard.idl

Issue 2695593006: Initial stub version of Async Clipboard API (Closed)
Patch Set: Expected layout tests results for mac Created 3 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
Index: third_party/WebKit/LayoutTests/external/wpt/interfaces/clipboard.idl
diff --git a/third_party/WebKit/LayoutTests/external/wpt/interfaces/clipboard.idl b/third_party/WebKit/LayoutTests/external/wpt/interfaces/clipboard.idl
new file mode 100644
index 0000000000000000000000000000000000000000..ea969ca9d572eb560540382015e79cd2ceb779b8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/interfaces/clipboard.idl
@@ -0,0 +1,13 @@
+[SecureContext]
+interface Clipboard : EventTarget {
+ Promise<DataTransfer> read();
+ Promise<DOMString> readText();
+
+ Promise<void> write(DataTransfer data);
+ Promise<void> writeText(DOMString data);
+};
+
+[SecureContext]
+partial interface Navigator {
+ [SameObject] readonly attribute Clipboard clipboard;
+};

Powered by Google App Engine
This is Rietveld 408576698