author Kevin Wern <kevin.m.wern@gmail.com>
Wed, 30 Nov 2016 19:48:02 -0500
changeset 325752 ea7338a0b3deb91d7e10008e3560ca8e8e3605b0
parent 300200 c993782dbd5218c72c653b53482daea1be9b4c5c
child 362858 34b11112f0e3b342c149295ea8e8eac01cdf646c
permissions -rw-r--r--
Bug 1304044 - implement auxclick r=smaug After click events with button 2 or 3 are fired, fire auxclick, a new event intended to represent a non-primary mouse click. Because this event, based on the design examples and blink's implementation, is intended to be used with content listeners, always dispatch on content listeners--not just those that force all events to be dispatched (i.e. document/window). This diverges from the behavior of our click events from non-primary buttons. Eventually, we hope this will replace click events for non-primary buttons. For now, leave those events for compatibility reasons. Additionally, add handling of this new event, where necessary. MozReview-Commit-ID: 8osozM4h6Ya

import sys
import gdbpp