Closed
Bug 651984
Opened 14 years ago
Closed 14 years ago
Add ability to detect if a page has registered touch event listeners
Categories
(Core :: DOM: Events, defect)
Core
DOM: Events
Tracking
()
RESOLVED
FIXED
mozilla6
People
(Reporter: wesj, Assigned: smaug)
References
Details
(Keywords: mobile)
Attachments
(1 file)
|
9.11 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
For Fennec, we need to dispatch touch events to content in the child process, and allow them to prevent us panning in the parent process. Unfortunately that introduces some lag between when the person beings dragging, and when we finally cancel panning in the parent process.
Alternatively, we can sacrifice some responsiveness in panning while we wait to see if the child cancels the event. However, we'd like to only do that when absolutely necessary, i.e. on pages that are actually using touch events.
To do so, we need some way to know when a page has registered a touch event listener, likely via a method added to nsIDOMWindowUtils?
| Assignee | ||
Comment 2•14 years ago
|
||
I'm reusing the flag for MozTouch* events.
I expect MozTouch* events to be removed at some point.
The patch applies on top of Bug 648573
Attachment #527743 -
Flags: review?(jst)
Comment 3•14 years ago
|
||
Comment on attachment 527743 [details] [diff] [review]
patch
Review of attachment 527743 [details] [diff] [review]:
r=jst
Attachment #527743 -
Flags: review?(jst) → review+
Updated•14 years ago
|
Comment 4•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla6
You need to log in
before you can comment on or make changes to this bug.
Description
•