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

Side by Side Diff: Source/core/dom/Element.idl

Issue 22581002: Use EventHandler type instead of EventListener for event handler attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/Document.idl ('k') | Source/core/dom/MessagePort.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // W3C version 126 // W3C version
127 [EnabledAtRuntime=fullscreen] void webkitRequestFullscreen(); 127 [EnabledAtRuntime=fullscreen] void webkitRequestFullscreen();
128 128
129 void webkitRequestPointerLock(); 129 void webkitRequestPointerLock();
130 130
131 // CSS Regions API 131 // CSS Regions API
132 [EnabledAtRuntime=cssRegions, PerWorldBindings] readonly attribute DOMString webkitRegionOverset; 132 [EnabledAtRuntime=cssRegions, PerWorldBindings] readonly attribute DOMString webkitRegionOverset;
133 [EnabledAtRuntime=cssRegions] sequence<Range> webkitGetRegionFlowRanges(); 133 [EnabledAtRuntime=cssRegions] sequence<Range> webkitGetRegionFlowRanges();
134 134
135 // Event handler DOM attributes 135 // Event handler DOM attributes
136 [NotEnumerable, PerWorldBindings] attribute EventListener onabort; 136 [NotEnumerable, PerWorldBindings] attribute EventHandler onabort;
137 [NotEnumerable, PerWorldBindings] attribute EventListener onblur; 137 [NotEnumerable, PerWorldBindings] attribute EventHandler onblur;
138 [NotEnumerable, PerWorldBindings] attribute EventListener onchange; 138 [NotEnumerable, PerWorldBindings] attribute EventHandler onchange;
139 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onclick; 139 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onclick;
140 [NotEnumerable, PerWorldBindings] attribute EventListener oncontextmenu; 140 [NotEnumerable, PerWorldBindings] attribute EventHandler oncontextmenu;
141 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener ondblclick; 141 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler ondblclick;
142 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener ondrag; 142 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler ondrag;
143 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener ondragend; 143 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler ondragend;
144 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener ondragenter; 144 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler ondragenter;
145 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener ondragleave; 145 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler ondragleave;
146 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener ondragover; 146 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler ondragover;
147 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener ondragstart; 147 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler ondragstart;
148 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener ondrop; 148 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler ondrop;
149 [NotEnumerable, PerWorldBindings] attribute EventListener onerror; 149 [NotEnumerable, PerWorldBindings] attribute EventHandler onerror;
150 [NotEnumerable, PerWorldBindings] attribute EventListener onfocus; 150 [NotEnumerable, PerWorldBindings] attribute EventHandler onfocus;
151 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener oninput; 151 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler oninput;
152 [NotEnumerable, PerWorldBindings] attribute EventListener oninvalid; 152 [NotEnumerable, PerWorldBindings] attribute EventHandler oninvalid;
153 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onkeydown; 153 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onkeydown;
154 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onkeypress; 154 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onkeypress;
155 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onkeyup; 155 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onkeyup;
156 [NotEnumerable, PerWorldBindings] attribute EventListener onload; 156 [NotEnumerable, PerWorldBindings] attribute EventHandler onload;
157 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onmousedown; 157 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmousedown;
158 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onmouseenter; 158 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmouseenter;
159 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onmouseleave; 159 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmouseleave;
160 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onmousemove; 160 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmousemove;
161 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onmouseout; 161 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmouseout;
162 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onmouseover; 162 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmouseover;
163 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onmouseup; 163 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmouseup;
164 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onmousewheel; 164 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmousewheel;
165 [NotEnumerable, PerWorldBindings] attribute EventListener onscroll; 165 [NotEnumerable, PerWorldBindings] attribute EventHandler onscroll;
166 [NotEnumerable, PerWorldBindings] attribute EventListener onselect; 166 [NotEnumerable, PerWorldBindings] attribute EventHandler onselect;
167 [NotEnumerable, PerWorldBindings] attribute EventListener onsubmit; 167 [NotEnumerable, PerWorldBindings] attribute EventHandler onsubmit;
168 168
169 // attribute [NotEnumerable] EventListener oncanplay; 169 // attribute [NotEnumerable] EventHandler oncanplay;
170 // attribute [NotEnumerable] EventListener oncanplaythrough; 170 // attribute [NotEnumerable] EventHandler oncanplaythrough;
171 // attribute [NotEnumerable] EventListener ondurationchange; 171 // attribute [NotEnumerable] EventHandler ondurationchange;
172 // attribute [NotEnumerable] EventListener onemptied; 172 // attribute [NotEnumerable] EventHandler onemptied;
173 // attribute [NotEnumerable] EventListener onended; 173 // attribute [NotEnumerable] EventHandler onended;
174 // attribute [NotEnumerable] EventListener onloadeddata; 174 // attribute [NotEnumerable] EventHandler onloadeddata;
175 // attribute [NotEnumerable] EventListener onloadedmetadata; 175 // attribute [NotEnumerable] EventHandler onloadedmetadata;
176 // attribute [NotEnumerable] EventListener onloadstart; 176 // attribute [NotEnumerable] EventHandler onloadstart;
177 // attribute [NotEnumerable] EventListener onpause; 177 // attribute [NotEnumerable] EventHandler onpause;
178 // attribute [NotEnumerable] EventListener onplay; 178 // attribute [NotEnumerable] EventHandler onplay;
179 // attribute [NotEnumerable] EventListener onplaying; 179 // attribute [NotEnumerable] EventHandler onplaying;
180 // attribute [NotEnumerable] EventListener onprogress; 180 // attribute [NotEnumerable] EventHandler onprogress;
181 // attribute [NotEnumerable] EventListener onratechange; 181 // attribute [NotEnumerable] EventHandler onratechange;
182 // attribute [NotEnumerable] EventListener onreadystatechange; 182 // attribute [NotEnumerable] EventHandler onreadystatechange;
183 // attribute [NotEnumerable] EventListener onseeked; 183 // attribute [NotEnumerable] EventHandler onseeked;
184 // attribute [NotEnumerable] EventListener onseeking; 184 // attribute [NotEnumerable] EventHandler onseeking;
185 // attribute [NotEnumerable] EventListener onshow; 185 // attribute [NotEnumerable] EventHandler onshow;
186 // attribute [NotEnumerable] EventListener onstalled; 186 // attribute [NotEnumerable] EventHandler onstalled;
187 // attribute [NotEnumerable] EventListener onsuspend; 187 // attribute [NotEnumerable] EventHandler onsuspend;
188 // attribute [NotEnumerable] EventListener ontimeupdate; 188 // attribute [NotEnumerable] EventHandler ontimeupdate;
189 // attribute [NotEnumerable] EventListener onvolumechange; 189 // attribute [NotEnumerable] EventHandler onvolumechange;
190 // attribute [NotEnumerable] EventListener onwaiting; 190 // attribute [NotEnumerable] EventHandler onwaiting;
191 191
192 // WebKit extensions 192 // WebKit extensions
193 [NotEnumerable, PerWorldBindings] attribute EventListener onbeforecut; 193 [NotEnumerable, PerWorldBindings] attribute EventHandler onbeforecut;
194 [NotEnumerable, PerWorldBindings] attribute EventListener oncut; 194 [NotEnumerable, PerWorldBindings] attribute EventHandler oncut;
195 [NotEnumerable, PerWorldBindings] attribute EventListener onbeforecopy; 195 [NotEnumerable, PerWorldBindings] attribute EventHandler onbeforecopy;
196 [NotEnumerable, PerWorldBindings] attribute EventListener oncopy; 196 [NotEnumerable, PerWorldBindings] attribute EventHandler oncopy;
197 [NotEnumerable, PerWorldBindings] attribute EventListener onbeforepaste; 197 [NotEnumerable, PerWorldBindings] attribute EventHandler onbeforepaste;
198 [NotEnumerable, PerWorldBindings] attribute EventListener onpaste; 198 [NotEnumerable, PerWorldBindings] attribute EventHandler onpaste;
199 [NotEnumerable, PerWorldBindings] attribute EventListener onreset; 199 [NotEnumerable, PerWorldBindings] attribute EventHandler onreset;
200 [NotEnumerable, PerWorldBindings] attribute EventListener onsearch; 200 [NotEnumerable, PerWorldBindings] attribute EventHandler onsearch;
201 [NotEnumerable, PerWorldBindings] attribute EventListener onselectstart; 201 [NotEnumerable, PerWorldBindings] attribute EventHandler onselectstart;
202 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis tener ontouchstart; 202 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventHan dler ontouchstart;
203 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis tener ontouchmove; 203 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventHan dler ontouchmove;
204 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis tener ontouchend; 204 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventHan dler ontouchend;
205 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis tener ontouchcancel; 205 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventHan dler ontouchcancel;
206 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen change; 206 [NotEnumerable, PerWorldBindings] attribute EventHandler onwebkitfullscreenc hange;
207 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen error; 207 [NotEnumerable, PerWorldBindings] attribute EventHandler onwebkitfullscreene rror;
208 }; 208 };
209 209
210 Element implements ParentNode; 210 Element implements ParentNode;
211 Element implements ChildNode; 211 Element implements ChildNode;
212 212
OLDNEW
« no previous file with comments | « Source/core/dom/Document.idl ('k') | Source/core/dom/MessagePort.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698