Closed
Bug 1308483
Opened 8 years ago
Closed 8 years ago
Expose the eMouseLongTap event to chrome JS
Categories
(Core :: Panning and Zooming, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: kats, Assigned: kats)
References
Details
(Whiteboard: [gfx-noted])
Attachments
(1 file)
2.81 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
Currently the eMouseLongTap event is fired by the APZ code after it detects a long-press gesture. This is used by the text selection code to show text selection carets when appropriate. However, in order to get some touchevents tests working on Windows, we need to be able to detect this event, so I'd like to expose it to chrome/privileged JS. We'll also need to implement features like bug 1147335 (touch-drag of tabs) because the frontend JS code will need to know when the user has held their finger down long enough to trigger the long-press gesture.
Assignee | ||
Comment 1•8 years ago
|
||
I keep forgetting if this is the right way to do this, but it seems to do what I want.
Attachment #8798852 -
Flags: review?(bugs)
Updated•8 years ago
|
Attachment #8798852 -
Flags: review?(bugs) → review+
Pushed by kgupta@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/68660293abf5 Allow firing the mouselongtap event to chrome JS for use in tests. r=smaug
Comment 3•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/68660293abf5
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•