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

Side by Side Diff: Source/core/frame/Window.idl

Issue 48603002: Implement WindowEventHandlers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « Source/core/frame/DOMWindowEventHandlers.h ('k') | Source/core/frame/WindowEventHandlers.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, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 [MeasureAs=PrefixedRequestAnimationFrame] long webkitRequestAnimationFrame(R equestAnimationFrameCallback callback); 167 [MeasureAs=PrefixedRequestAnimationFrame] long webkitRequestAnimationFrame(R equestAnimationFrameCallback callback);
168 [ImplementedAs=cancelAnimationFrame] void webkitCancelAnimationFrame(long id ); 168 [ImplementedAs=cancelAnimationFrame] void webkitCancelAnimationFrame(long id );
169 [ImplementedAs=cancelAnimationFrame] void webkitCancelRequestAnimationFrame( long id); // This is a deprecated alias for webkitCancelAnimationFrame(). Remove this when removing vendor prefix. 169 [ImplementedAs=cancelAnimationFrame] void webkitCancelRequestAnimationFrame( long id); // This is a deprecated alias for webkitCancelAnimationFrame(). Remove this when removing vendor prefix.
170 170
171 [Replaceable] readonly attribute CSS CSS; 171 [Replaceable] readonly attribute CSS CSS;
172 172
173 // Event handler attributes 173 // Event handler attributes
174 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationen d; 174 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationen d;
175 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationit eration; 175 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationit eration;
176 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationst art; 176 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationst art;
177 attribute EventHandler onbeforeunload;
178 [RuntimeEnabled=DeviceMotion] attribute EventHandler ondevicemotion; 177 [RuntimeEnabled=DeviceMotion] attribute EventHandler ondevicemotion;
179 [RuntimeEnabled=DeviceOrientation] attribute EventHandler ondeviceorientatio n; 178 [RuntimeEnabled=DeviceOrientation] attribute EventHandler ondeviceorientatio n;
180 attribute EventHandler onhashchange;
181 attribute EventHandler onmessage;
182 attribute EventHandler onoffline;
183 attribute EventHandler ononline;
184 [Conditional=ORIENTATION_EVENTS] attribute EventHandler onorientationchange; 179 [Conditional=ORIENTATION_EVENTS] attribute EventHandler onorientationchange;
185 attribute EventHandler onpagehide;
186 attribute EventHandler onpageshow;
187 attribute EventHandler onpopstate;
188 attribute EventHandler onresize;
189 attribute EventHandler onsearch; 180 attribute EventHandler onsearch;
190 attribute EventHandler onstorage;
191 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; 181 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
192 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 182 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
193 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 183 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
194 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 184 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
195 attribute EventHandler ontransitionend; 185 attribute EventHandler ontransitionend;
196 attribute EventHandler onunload;
197 attribute EventHandler onwebkitanimationend; 186 attribute EventHandler onwebkitanimationend;
198 attribute EventHandler onwebkitanimationiteration; 187 attribute EventHandler onwebkitanimationiteration;
199 attribute EventHandler onwebkitanimationstart; 188 attribute EventHandler onwebkitanimationstart;
200 attribute EventHandler onwebkittransitionend; 189 attribute EventHandler onwebkittransitionend;
201 [ActivityLogging=SetterForAllWorlds] attribute EventHandler onwheel; 190 [ActivityLogging=SetterForAllWorlds] attribute EventHandler onwheel;
202 191
203 [DeprecateAs=CaptureEvents] void captureEvents(); 192 [DeprecateAs=CaptureEvents] void captureEvents();
204 [DeprecateAs=ReleaseEvents] void releaseEvents(); 193 [DeprecateAs=ReleaseEvents] void releaseEvents();
205 194
206 // Additional constructors. 195 // Additional constructors.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 // window.toString() requires special handling in V8 232 // window.toString() requires special handling in V8
244 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t oString(); 233 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t oString();
245 234
246 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned long index); 235 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned long index);
247 [Custom, NotEnumerable] getter Window (DOMString name); 236 [Custom, NotEnumerable] getter Window (DOMString name);
248 }; 237 };
249 238
250 Window implements GlobalEventHandlers; 239 Window implements GlobalEventHandlers;
251 Window implements ImageBitmapFactories; 240 Window implements ImageBitmapFactories;
252 Window implements WindowBase64; 241 Window implements WindowBase64;
242 Window implements WindowEventHandlers;
253 Window implements WindowTimers; 243 Window implements WindowTimers;
OLDNEW
« no previous file with comments | « Source/core/frame/DOMWindowEventHandlers.h ('k') | Source/core/frame/WindowEventHandlers.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698