diff options
author | Paul Rouget <me@paulrouget.com> | 2016-03-18 08:57:20 +0100 |
---|---|---|
committer | Paul Rouget <me@paulrouget.com> | 2016-04-05 18:42:28 +0800 |
commit | df6e7394d42595f34fa64dea01bb485c64589c73 (patch) | |
tree | 4e8b1e9845ecce90b33c37b976bceaad234cff7a /components/script/dom/mod.rs | |
parent | 05a4dcdc3b38c0222ac417f826e06ce9d47068b2 (diff) | |
download | servo-df6e7394d42595f34fa64dea01bb485c64589c73.tar.gz servo-df6e7394d42595f34fa64dea01bb485c64589c73.zip |
forcetouch events support
This enables Apple forcetouch DOM events. It requires the preference dom.forcetouch.enabled.
The DOM events are described here:
- https://developer.apple.com/library/mac/documentation/AppleApplications/Conceptual/SafariJSProgTopics/RespondingtoForceTouchEventsfromJavaScript.html
The Cocoa mechanism is documented here:
- https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSEvent_Class/#//apple_ref/doc/uid/20000016-SW274
Diffstat (limited to 'components/script/dom/mod.rs')
-rw-r--r-- | components/script/dom/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/mod.rs b/components/script/dom/mod.rs index 662f41dc7a9..36921d8be89 100644 --- a/components/script/dom/mod.rs +++ b/components/script/dom/mod.rs @@ -264,6 +264,7 @@ pub mod file; pub mod filelist; pub mod filereader; pub mod focusevent; +pub mod forcetouchevent; pub mod formdata; pub mod htmlanchorelement; pub mod htmlappletelement; |