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

Unified Diff: Source/core/events/ClipboardEvent.idl

Issue 797583002: [bindings] Avoid using custom bindings for handling clipboardData on Event idl interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Missed some expected files. Created 6 years 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: Source/core/events/ClipboardEvent.idl
diff --git a/Source/core/html/HTMLPictureElement.idl b/Source/core/events/ClipboardEvent.idl
similarity index 59%
copy from Source/core/html/HTMLPictureElement.idl
copy to Source/core/events/ClipboardEvent.idl
index 649316cb8a1be19e29c17f14bfbc5b6e10397164..2615eaeb371ace3f41d7d20ebbb1d5fd19054b37 100644
--- a/Source/core/html/HTMLPictureElement.idl
+++ b/Source/core/events/ClipboardEvent.idl
@@ -2,9 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// http://picture.responsiveimages.org
-[
- RuntimeEnabled=Picture
-] interface HTMLPictureElement : HTMLElement {
+interface ClipboardEvent : Event {
+ [MeasureAs=EventClipboardData] readonly attribute DataTransfer clipboardData;
philipj_slow 2014/12/12 14:25:35 If you want to measure here, add a new UseCounter
};
-

Powered by Google App Engine
This is Rietveld 408576698