mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 859094 - Remove some additional cruft left over from selectionoverlay context menu handling. r=fryn
This commit is contained in:
parent
2c51b388b0
commit
fa63f56799
@ -18,18 +18,6 @@
|
||||
</content>
|
||||
|
||||
<implementation implements="nsIDOMEventListener">
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
this._selectionOverlay.addEventListener('contextmenu', this);
|
||||
]]>
|
||||
</constructor>
|
||||
|
||||
<destructor>
|
||||
<![CDATA[
|
||||
this._selectionOverlay.removeEventListener('contextmenu', this);
|
||||
]]>
|
||||
</destructor>
|
||||
|
||||
<field name="_selectionOverlay" readonly="true">document.getAnonymousElementByAttribute(this, "anonid", "selection-overlay-inner").parentNode;</field>
|
||||
<field name="_selectionDebugOverlay" readonly="true">document.getAnonymousElementByAttribute(this, "anonid", "selection-overlay-debug");</field>
|
||||
|
||||
|
@ -18,10 +18,6 @@ var ContextMenuHandler = {
|
||||
// Messages we receive from browser
|
||||
// Command sent over from browser that only we can handle.
|
||||
addMessageListener("Browser:ContextCommand", this, false);
|
||||
// InvokeContextAtPoint is sent to us from browser's selection
|
||||
// overlay when it traps a contextmenu event. In response we
|
||||
// should invoke context menu logic at the point specified.
|
||||
addMessageListener("Browser:InvokeContextAtPoint", this, false);
|
||||
|
||||
this.popupNode = null;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user