mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-17 12:47:30 +09:00
Remove MOZ_B2G leftovers and some dead B2G-only components.
This commit is contained in:
parent
75d98fd33e
commit
719ac1bc38
91 changed files with 28 additions and 5017 deletions
|
|
@ -24,12 +24,7 @@ XPCOMUtils.defineLazyGetter(this, "appsService", function() {
|
|||
});
|
||||
|
||||
XPCOMUtils.defineLazyGetter(this, "hardwareKeyHandler", function() {
|
||||
#ifdef MOZ_B2G
|
||||
return Cc["@mozilla.org/HardwareKeyHandler;1"]
|
||||
.getService(Ci.nsIHardwareKeyHandler);
|
||||
#else
|
||||
return null;
|
||||
#endif
|
||||
});
|
||||
|
||||
var Utils = {
|
||||
|
|
@ -50,17 +45,6 @@ var Utils = {
|
|||
};
|
||||
|
||||
this.Keyboard = {
|
||||
#ifdef MOZ_B2G
|
||||
// For receving keyboard event fired from hardware before it's dispatched,
|
||||
// |this| object is used to be the listener to get the forwarded event.
|
||||
// As the listener, |this| object must implement nsIHardwareKeyEventListener
|
||||
// and nsSupportsWeakReference.
|
||||
// Please see nsIHardwareKeyHandler.idl to get more information.
|
||||
QueryInterface: XPCOMUtils.generateQI([
|
||||
Ci.nsIHardwareKeyEventListener,
|
||||
Ci.nsISupportsWeakReference
|
||||
]),
|
||||
#endif
|
||||
_isConnectedToHardwareKeyHandler: false,
|
||||
_formMM: null, // The current web page message manager.
|
||||
_keyboardMM: null, // The keyboard app message manager.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue