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

Unified Diff: Source/core/page/DOMWindow.idl

Issue 14280004: Revert removal of events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
« no previous file with comments | « Source/core/page/DOMWindow.cpp ('k') | Source/core/page/EventHandler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/DOMWindow.idl
diff --git a/Source/core/page/DOMWindow.idl b/Source/core/page/DOMWindow.idl
index d888bf5adeb2048d28ab3d401f8234c3a8ef4927..097e50a52d3675eb60f3c1e8e088db1bde3c94d0 100644
--- a/Source/core/page/DOMWindow.idl
+++ b/Source/core/page/DOMWindow.idl
@@ -268,10 +268,10 @@
#if defined(ENABLE_ORIENTATION_EVENTS) && ENABLE_ORIENTATION_EVENTS
attribute EventListener onorientationchange;
#endif
- [EnabledAtRuntime=touch] attribute EventListener ontouchstart;
- [EnabledAtRuntime=touch] attribute EventListener ontouchmove;
- [EnabledAtRuntime=touch] attribute EventListener ontouchend;
- [EnabledAtRuntime=touch] attribute EventListener ontouchcancel;
+ [Conditional=TOUCH_EVENTS,EnabledAtRuntime=touch] attribute EventListener ontouchstart;
+ [Conditional=TOUCH_EVENTS,EnabledAtRuntime=touch] attribute EventListener ontouchmove;
+ [Conditional=TOUCH_EVENTS,EnabledAtRuntime=touch] attribute EventListener ontouchend;
+ [Conditional=TOUCH_EVENTS,EnabledAtRuntime=touch] attribute EventListener ontouchcancel;
[EnabledAtRuntime] attribute EventListener ondevicemotion;
[EnabledAtRuntime] attribute EventListener ondeviceorientation;
@@ -516,9 +516,9 @@
attribute XMLHttpRequestProgressEventConstructor XMLHttpRequestProgressEvent;
[EnabledAtRuntime] attribute DeviceMotionEventConstructor DeviceMotionEvent;
[EnabledAtRuntime] attribute DeviceOrientationEventConstructor DeviceOrientationEvent;
- [EnabledAtRuntime=touch] attribute TouchConstructor Touch;
- [EnabledAtRuntime=touch] attribute TouchEventConstructor TouchEvent;
- [EnabledAtRuntime=touch] attribute TouchListConstructor TouchList;
+ [Conditional=TOUCH_EVENTS, EnabledAtRuntime=touch] attribute TouchConstructor Touch;
+ [Conditional=TOUCH_EVENTS, EnabledAtRuntime=touch] attribute TouchEventConstructor TouchEvent;
+ [Conditional=TOUCH_EVENTS, EnabledAtRuntime=touch] attribute TouchListConstructor TouchList;
attribute StorageEventConstructor StorageEvent;
[Conditional=INPUT_SPEECH] attribute SpeechInputEventConstructor SpeechInputEvent;
[Conditional=WEBGL] attribute WebGLContextEventConstructor WebGLContextEvent;
« no previous file with comments | « Source/core/page/DOMWindow.cpp ('k') | Source/core/page/EventHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698