diff --git a/browser/modules/BrowserUsageTelemetry.jsm b/browser/modules/BrowserUsageTelemetry.jsm index 3cbce280d233..9b1c3fe7c8a0 100644 --- a/browser/modules/BrowserUsageTelemetry.jsm +++ b/browser/modules/BrowserUsageTelemetry.jsm @@ -550,8 +550,10 @@ let BrowserUsageTelemetry = { _recordUrlOrSearchbarSelectedResultMethod(event, highlightedIndex, histogramID, userSelectionBehavior) { let histogram = Services.telemetry.getHistogramById(histogramID); // command events are from the one-off context menu. Treat them as clicks. - let isClick = event instanceof Ci.nsIDOMMouseEvent || - (event && event.type == "command"); + // Note that we don't care about MouseEvent subclasses here, since + // those are not clicks. + let isClick = event && (ChromeUtils.getClassName(event) == "MouseEvent" || + event.type == "command"); let category; if (isClick) { category = "click"; diff --git a/devtools/client/sourceeditor/tern/browser.js b/devtools/client/sourceeditor/tern/browser.js index e54297cd14dd..9b8db25b1c8e 100644 --- a/devtools/client/sourceeditor/tern/browser.js +++ b/devtools/client/sourceeditor/tern/browser.js @@ -1694,7 +1694,7 @@ module.exports = { "!type": "fn()", "prototype": "Event.prototype", "!url": "https://developer.mozilla.org/en/docs/DOM/MouseEvent", - "!doc": "The DOM MouseEvent represents events that occur due to the user interacting with a pointing device (such as a mouse). It's represented by the nsINSDOMMouseEvent interface, which extends the nsIDOMMouseEvent interface." + "!doc": "The DOM MouseEvent represents events that occur due to the user interacting with a pointing device (such as a mouse)." }, "KeyboardEvent": { "!type": "fn()", diff --git a/devtools/server/actors/object.js b/devtools/server/actors/object.js index 69ef0ac5d14b..c23e239fd688 100644 --- a/devtools/server/actors/object.js +++ b/devtools/server/actors/object.js @@ -1895,7 +1895,11 @@ DebuggerServer.ObjectActorPreviewers.Object = [ } let props = []; - if (rawObj instanceof Ci.nsIDOMMouseEvent) { + if (obj.class == "MouseEvent" || + obj.class == "DragEvent" || + obj.class == "PointerEvent" || + obj.class == "SimpleGestureEvent" || + obj.class == "WheelEvent") { props.push("buttons", "clientX", "clientY", "layerX", "layerY"); } else if (obj.class == "KeyboardEvent") { let modifiers = []; diff --git a/dom/events/MouseEvent.cpp b/dom/events/MouseEvent.cpp index 31a2a96494cf..e2bd6be5f4d1 100644 --- a/dom/events/MouseEvent.cpp +++ b/dom/events/MouseEvent.cpp @@ -43,13 +43,6 @@ MouseEvent::MouseEvent(EventTarget* aOwner, } } -NS_IMPL_ADDREF_INHERITED(MouseEvent, UIEvent) -NS_IMPL_RELEASE_INHERITED(MouseEvent, UIEvent) - -NS_INTERFACE_MAP_BEGIN(MouseEvent) - NS_INTERFACE_MAP_ENTRY(nsIDOMMouseEvent) -NS_INTERFACE_MAP_END_INHERITING(UIEvent) - void MouseEvent::InitMouseEvent(const nsAString& aType, bool aCanBubble, diff --git a/dom/events/MouseEvent.h b/dom/events/MouseEvent.h index f4dcf7c9034d..75678934ead1 100644 --- a/dom/events/MouseEvent.h +++ b/dom/events/MouseEvent.h @@ -11,26 +11,18 @@ #include "mozilla/dom/UIEvent.h" #include "mozilla/dom/MouseEventBinding.h" #include "mozilla/EventForwards.h" -#include "nsIDOMMouseEvent.h" namespace mozilla { namespace dom { -class MouseEvent : public UIEvent, - public nsIDOMMouseEvent +class MouseEvent : public UIEvent { public: MouseEvent(EventTarget* aOwner, nsPresContext* aPresContext, WidgetMouseEventBase* aEvent); - NS_DECL_ISUPPORTS_INHERITED - - // nsIDOMMouseEvent Interface - NS_DECL_NSIDOMMOUSEEVENT - - // Forward to base class - NS_FORWARD_TO_UIEVENT + NS_INLINE_DECL_REFCOUNTING_INHERITED(MouseEvent, UIEvent) virtual JSObject* WrapObjectInternal(JSContext* aCx, JS::Handle aGivenProto) override { @@ -120,10 +112,6 @@ protected: } // namespace dom } // namespace mozilla -#define NS_FORWARD_TO_MOUSEEVENT \ - NS_FORWARD_NSIDOMMOUSEEVENT(MouseEvent::) \ - NS_FORWARD_TO_UIEVENT - already_AddRefed NS_NewDOMMouseEvent(mozilla::dom::EventTarget* aOwner, nsPresContext* aPresContext, diff --git a/dom/events/MouseScrollEvent.h b/dom/events/MouseScrollEvent.h index fdb557be5646..555d2c747456 100644 --- a/dom/events/MouseScrollEvent.h +++ b/dom/events/MouseScrollEvent.h @@ -22,9 +22,6 @@ public: NS_INLINE_DECL_REFCOUNTING_INHERITED(MouseScrollEvent, MouseEvent) - // Forward to base class - NS_FORWARD_TO_MOUSEEVENT - virtual JSObject* WrapObjectInternal(JSContext* aCx, JS::Handle aGivenProto) override { return MouseScrollEventBinding::Wrap(aCx, this, aGivenProto); diff --git a/dom/events/WheelEvent.h b/dom/events/WheelEvent.h index c29c34cfbcce..d2ad24e42da5 100644 --- a/dom/events/WheelEvent.h +++ b/dom/events/WheelEvent.h @@ -23,9 +23,6 @@ public: NS_INLINE_DECL_REFCOUNTING_INHERITED(WheelEvent, MouseEvent) - // Forward to base class - NS_FORWARD_TO_MOUSEEVENT - static already_AddRefed Constructor(const GlobalObject& aGlobal, const nsAString& aType, diff --git a/dom/interfaces/base/nsIDOMWindowUtils.idl b/dom/interfaces/base/nsIDOMWindowUtils.idl index b4d08f496717..55852dcbcf46 100644 --- a/dom/interfaces/base/nsIDOMWindowUtils.idl +++ b/dom/interfaces/base/nsIDOMWindowUtils.idl @@ -314,7 +314,7 @@ interface nsIDOMWindowUtils : nsISupports { * @param aIgnoreRootScrollFrame whether the event should ignore viewport bounds * during dispatch * @param aPressure touch input pressure: 0.0 -> 1.0 - * @param aInputSourceArg input source, see nsIDOMMouseEvent for values, + * @param aInputSourceArg input source, see MouseEvent for values, * defaults to mouse input. * @param aIsDOMEventSynthesized controls nsIDOMEvent.isSynthesized value * that helps identifying test related events, diff --git a/dom/interfaces/events/moz.build b/dom/interfaces/events/moz.build index 32c77f82acc2..05af5ceadf92 100644 --- a/dom/interfaces/events/moz.build +++ b/dom/interfaces/events/moz.build @@ -12,7 +12,6 @@ XPIDL_SOURCES += [ 'nsIDOMEvent.idl', 'nsIDOMEventListener.idl', 'nsIDOMEventTarget.idl', - 'nsIDOMMouseEvent.idl', 'nsIDOMNotifyPaintEvent.idl', 'nsIDOMNSEvent.idl', 'nsIDOMUIEvent.idl', diff --git a/dom/interfaces/events/nsIDOMMouseEvent.idl b/dom/interfaces/events/nsIDOMMouseEvent.idl deleted file mode 100644 index 99bf533a000a..000000000000 --- a/dom/interfaces/events/nsIDOMMouseEvent.idl +++ /dev/null @@ -1,19 +0,0 @@ -/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -#include "nsIDOMUIEvent.idl" - -/** - * The nsIDOMMouseEvent interface is the datatype for all mouse events - * in the Document Object Model. - * - * For more information on this interface please see - * http://www.w3.org/TR/DOM-Level-2-Events/ - */ - -[builtinclass, uuid(5bdab8d8-7933-4c5c-b6d1-ab34481237f7)] -interface nsIDOMMouseEvent : nsIDOMUIEvent -{ -}; diff --git a/dom/xbl/nsXBLPrototypeHandler.cpp b/dom/xbl/nsXBLPrototypeHandler.cpp index ea8c626d89b7..d4546841a17a 100644 --- a/dom/xbl/nsXBLPrototypeHandler.cpp +++ b/dom/xbl/nsXBLPrototypeHandler.cpp @@ -741,8 +741,7 @@ nsXBLPrototypeHandler::MouseEventMatched(MouseEvent* aMouseEvent) return false; } - return ModifiersMatchMask(static_cast(aMouseEvent), - IgnoreModifierState()); + return ModifiersMatchMask(aMouseEvent, IgnoreModifierState()); } struct keyCodeData { diff --git a/dom/xul/nsXULPopupListener.h b/dom/xul/nsXULPopupListener.h index 784c190a2673..47dcf4dfc8bd 100644 --- a/dom/xul/nsXULPopupListener.h +++ b/dom/xul/nsXULPopupListener.h @@ -14,7 +14,6 @@ #include "mozilla/dom/Element.h" #include "nsIDOMElement.h" -#include "nsIDOMMouseEvent.h" #include "nsIDOMEventListener.h" #include "nsCycleCollectionParticipant.h" diff --git a/editor/libeditor/EditorBase.cpp b/editor/libeditor/EditorBase.cpp index 9891e4605111..e086e47e1a31 100644 --- a/editor/libeditor/EditorBase.cpp +++ b/editor/libeditor/EditorBase.cpp @@ -75,7 +75,6 @@ #include "nsIDOMEvent.h" // for nsIDOMEvent #include "nsIDOMEventListener.h" // for nsIDOMEventListener #include "nsIDOMEventTarget.h" // for nsIDOMEventTarget -#include "nsIDOMMouseEvent.h" // for nsIDOMMouseEvent #include "nsIDOMNode.h" // for nsIDOMNode, etc. #include "nsIDOMNodeList.h" // for nsIDOMNodeList #include "nsIDocumentStateListener.h" // for nsIDocumentStateListener diff --git a/editor/libeditor/EditorEventListener.cpp b/editor/libeditor/EditorEventListener.cpp index d500462b517b..b6597b71cf69 100644 --- a/editor/libeditor/EditorEventListener.cpp +++ b/editor/libeditor/EditorEventListener.cpp @@ -34,7 +34,6 @@ #include "nsIDOMDocument.h" // for nsIDOMDocument #include "nsIDOMEvent.h" // for nsIDOMEvent #include "nsIDOMEventTarget.h" // for nsIDOMEventTarget -#include "nsIDOMMouseEvent.h" // for nsIDOMMouseEvent #include "nsIDOMNode.h" // for nsIDOMNode #include "nsIDocument.h" // for nsIDocument #include "nsIFocusManager.h" // for nsIFocusManager @@ -450,7 +449,7 @@ EditorEventListener::HandleEvent(nsIDOMEvent* aEvent) } // click case eMouseClick: { - nsCOMPtr mouseEvent = do_QueryInterface(aEvent); + MouseEvent* mouseEvent = aEvent->InternalDOMEvent()->AsMouseEvent(); NS_ENSURE_TRUE(mouseEvent, NS_OK); // If the preceding mousedown event or mouseup event was consumed, // editor shouldn't handle this click event. @@ -636,7 +635,7 @@ EditorEventListener::KeyPress(WidgetKeyboardEvent* aKeyboardEvent) } nsresult -EditorEventListener::MouseClick(nsIDOMMouseEvent* aMouseEvent) +EditorEventListener::MouseClick(MouseEvent* aMouseEvent) { if (NS_WARN_IF(!aMouseEvent) || DetachedFromEditor()) { return NS_OK; @@ -644,7 +643,7 @@ EditorEventListener::MouseClick(nsIDOMMouseEvent* aMouseEvent) // nothing to do if editor isn't editable or clicked on out of the editor. RefPtr editorBase(mEditorBase); WidgetMouseEvent* clickEvent = - aMouseEvent->AsEvent()->WidgetEventPtr()->AsMouseEvent(); + aMouseEvent->WidgetEventPtr()->AsMouseEvent(); if (editorBase->IsReadonly() || editorBase->IsDisabled() || !editorBase->IsAcceptableInputEvent(clickEvent)) { return NS_OK; @@ -681,12 +680,12 @@ EditorEventListener::MouseClick(nsIDOMMouseEvent* aMouseEvent) } nsresult -EditorEventListener::HandleMiddleClickPaste(nsIDOMMouseEvent* aMouseEvent) +EditorEventListener::HandleMiddleClickPaste(MouseEvent* aMouseEvent) { MOZ_ASSERT(aMouseEvent); WidgetMouseEvent* clickEvent = - aMouseEvent->AsEvent()->WidgetEventPtr()->AsMouseEvent(); + aMouseEvent->WidgetEventPtr()->AsMouseEvent(); MOZ_ASSERT(!DetachedFromEditorOrDefaultPrevented(clickEvent)); if (!Preferences::GetBool("middlemouse.paste", false)) { diff --git a/editor/libeditor/EditorEventListener.h b/editor/libeditor/EditorEventListener.h index 0656d9556fce..62a400326c37 100644 --- a/editor/libeditor/EditorEventListener.h +++ b/editor/libeditor/EditorEventListener.h @@ -17,7 +17,6 @@ class nsCaret; class nsIContent; class nsIDOMEvent; -class nsIDOMMouseEvent; class nsIPresShell; class nsPresContext; @@ -70,7 +69,7 @@ protected: void HandleEndComposition(WidgetCompositionEvent* aCompositionEvent); virtual nsresult MouseDown(dom::MouseEvent* aMouseEvent); virtual nsresult MouseUp(dom::MouseEvent* aMouseEvent) { return NS_OK; } - virtual nsresult MouseClick(nsIDOMMouseEvent* aMouseEvent); + virtual nsresult MouseClick(dom::MouseEvent* aMouseEvent); nsresult Focus(InternalFocusEvent* aFocusEvent); nsresult Blur(InternalFocusEvent* aBlurEvent); nsresult DragEnter(dom::DragEvent* aDragEvent); @@ -88,7 +87,7 @@ protected: bool EditorHasFocus(); bool IsFileControlTextBox(); bool ShouldHandleNativeKeyBindings(WidgetKeyboardEvent* aKeyboardEvent); - nsresult HandleMiddleClickPaste(nsIDOMMouseEvent* aMouseEvent); + nsresult HandleMiddleClickPaste(dom::MouseEvent* aMouseEvent); /** * DetachedFromEditor() returns true if editor was detached. diff --git a/editor/libeditor/HTMLEditor.cpp b/editor/libeditor/HTMLEditor.cpp index 16f382d33dbb..73c9e992f2ca 100644 --- a/editor/libeditor/HTMLEditor.cpp +++ b/editor/libeditor/HTMLEditor.cpp @@ -28,7 +28,6 @@ #include "nsIDOMDocument.h" #include "nsIDocumentInlines.h" #include "nsIDOMEventTarget.h" -#include "nsIDOMMouseEvent.h" #include "nsISelectionController.h" #include "nsILinkHandler.h" #include "nsIInlineSpellChecker.h" diff --git a/editor/libeditor/HTMLEditor.h b/editor/libeditor/HTMLEditor.h index 2e5345dd24d3..7b51b24e5bf8 100644 --- a/editor/libeditor/HTMLEditor.h +++ b/editor/libeditor/HTMLEditor.h @@ -39,7 +39,6 @@ class nsITransferable; class nsIClipboard; class nsIDOMDocument; class nsIDOMElement; -class nsIDOMMouseEvent; class nsILinkHandler; class nsTableWrapperFrame; class nsIDOMRange; diff --git a/editor/libeditor/HTMLEditorEventListener.cpp b/editor/libeditor/HTMLEditorEventListener.cpp index f8bdaa4d6ce4..ac030659c38b 100644 --- a/editor/libeditor/HTMLEditorEventListener.cpp +++ b/editor/libeditor/HTMLEditorEventListener.cpp @@ -193,15 +193,13 @@ HTMLEditorEventListener::MouseDown(MouseEvent* aMouseEvent) } nsresult -HTMLEditorEventListener::MouseClick(nsIDOMMouseEvent* aMouseEvent) +HTMLEditorEventListener::MouseClick(MouseEvent* aMouseEvent) { if (NS_WARN_IF(DetachedFromEditor())) { return NS_OK; } - nsCOMPtr target; - nsresult rv = aMouseEvent->AsEvent()->GetTarget(getter_AddRefs(target)); - NS_ENSURE_SUCCESS(rv, rv); + nsCOMPtr target = aMouseEvent->GetTarget(); NS_ENSURE_TRUE(target, NS_ERROR_NULL_POINTER); nsCOMPtr element = do_QueryInterface(target); if (NS_WARN_IF(!element)) { diff --git a/editor/libeditor/HTMLEditorEventListener.h b/editor/libeditor/HTMLEditorEventListener.h index 9c928851e21e..6c19c82eff97 100644 --- a/editor/libeditor/HTMLEditorEventListener.h +++ b/editor/libeditor/HTMLEditorEventListener.h @@ -32,7 +32,7 @@ public: protected: virtual nsresult MouseDown(dom::MouseEvent* aMouseEvent) override; virtual nsresult MouseUp(dom::MouseEvent* aMouseEvent) override; - virtual nsresult MouseClick(nsIDOMMouseEvent* aMouseEvent) override; + virtual nsresult MouseClick(dom::MouseEvent* aMouseEvent) override; }; } // namespace mozilla diff --git a/layout/forms/nsListControlFrame.cpp b/layout/forms/nsListControlFrame.cpp index 971d51e343cf..1b91e3e7fe47 100644 --- a/layout/forms/nsListControlFrame.cpp +++ b/layout/forms/nsListControlFrame.cpp @@ -12,7 +12,6 @@ #include "nsGkAtoms.h" #include "nsComboboxControlFrame.h" #include "nsIPresShell.h" -#include "nsIDOMMouseEvent.h" #include "nsIXULRuntime.h" #include "nsFontMetrics.h" #include "nsIScrollableFrame.h" @@ -1607,7 +1606,7 @@ nsListControlFrame::MouseUp(nsIDOMEvent* aMouseEvent) { NS_ASSERTION(aMouseEvent != nullptr, "aMouseEvent is null."); - nsCOMPtr mouseEvent = do_QueryInterface(aMouseEvent); + MouseEvent* mouseEvent = aMouseEvent->InternalDOMEvent()->AsMouseEvent(); NS_ENSURE_TRUE(mouseEvent, NS_ERROR_FAILURE); UpdateInListState(aMouseEvent); @@ -1891,7 +1890,7 @@ nsresult nsListControlFrame::MouseMove(nsIDOMEvent* aMouseEvent) { NS_ASSERTION(aMouseEvent, "aMouseEvent is null."); - nsCOMPtr mouseEvent = do_QueryInterface(aMouseEvent); + MouseEvent* mouseEvent = aMouseEvent->InternalDOMEvent()->AsMouseEvent(); NS_ENSURE_TRUE(mouseEvent, NS_ERROR_FAILURE); UpdateInListState(aMouseEvent); diff --git a/layout/xul/nsListBoxBodyFrame.cpp b/layout/xul/nsListBoxBodyFrame.cpp index 9d035cff344e..d02496e2847d 100644 --- a/layout/xul/nsListBoxBodyFrame.cpp +++ b/layout/xul/nsListBoxBodyFrame.cpp @@ -16,7 +16,6 @@ #include "nsIContent.h" #include "nsNameSpaceManager.h" #include "nsIDocument.h" -#include "nsIDOMMouseEvent.h" #include "nsIDOMElement.h" #include "nsIDOMNodeList.h" #include "nsCSSFrameConstructor.h" diff --git a/layout/xul/nsSliderFrame.cpp b/layout/xul/nsSliderFrame.cpp index 7f5b053e4bf1..5efa26a2e802 100644 --- a/layout/xul/nsSliderFrame.cpp +++ b/layout/xul/nsSliderFrame.cpp @@ -24,7 +24,6 @@ #include "nsIPresShell.h" #include "nsCSSRendering.h" #include "nsIDOMEvent.h" -#include "nsIDOMMouseEvent.h" #include "nsScrollbarButtonFrame.h" #include "nsISliderListener.h" #include "nsIScrollableFrame.h" diff --git a/layout/xul/tree/nsTreeBodyFrame.cpp b/layout/xul/tree/nsTreeBodyFrame.cpp index 67c0726b8618..c74c0c5eabdf 100644 --- a/layout/xul/tree/nsTreeBodyFrame.cpp +++ b/layout/xul/tree/nsTreeBodyFrame.cpp @@ -35,7 +35,6 @@ #include "nsStyleContext.h" #include "nsIBoxObject.h" #include "nsIDOMCustomEvent.h" -#include "nsIDOMMouseEvent.h" #include "nsIDOMElement.h" #include "nsIDOMNodeList.h" #include "nsIDOMXULElement.h" diff --git a/testing/marionette/event.js b/testing/marionette/event.js index 4e60ba070a19..73e295ecef2f 100644 --- a/testing/marionette/event.js +++ b/testing/marionette/event.js @@ -85,7 +85,7 @@ event.DoubleClickTracker = { /** * Sends a mouse event to given target. * - * @param {nsIDOMMouseEvent} mouseEvent + * @param {MouseEvent} mouseEvent * Event to send. * @param {(DOMElement|string)} target * Target of event. Can either be an element or the ID of an element. diff --git a/widget/nsBaseDragService.h b/widget/nsBaseDragService.h index 4a578c2ee7d2..c647402b7107 100644 --- a/widget/nsBaseDragService.h +++ b/widget/nsBaseDragService.h @@ -191,7 +191,7 @@ protected: uint32_t mSuppressLevel; - // The input source of the drag event. Possible values are from nsIDOMMouseEvent. + // The input source of the drag event. Possible values are from MouseEvent. uint16_t mInputSource; nsTArray> mChildProcesses; diff --git a/widget/windows/WinUtils.cpp b/widget/windows/WinUtils.cpp index 82e42f94b893..a522054470a8 100644 --- a/widget/windows/WinUtils.cpp +++ b/widget/windows/WinUtils.cpp @@ -14,7 +14,6 @@ #include "nsWindow.h" #include "nsWindowDefs.h" #include "KeyboardLayout.h" -#include "nsIDOMMouseEvent.h" #include "mozilla/ArrayUtils.h" #include "mozilla/dom/MouseEventBinding.h" #include "mozilla/gfx/2D.h" diff --git a/widget/windows/nsWindow.cpp b/widget/windows/nsWindow.cpp index b16a60299822..6e63f99f7415 100644 --- a/widget/windows/nsWindow.cpp +++ b/widget/windows/nsWindow.cpp @@ -85,7 +85,6 @@ #include "mozilla/WidgetTraceEvent.h" #include "nsIAppShell.h" #include "nsISupportsPrimitives.h" -#include "nsIDOMMouseEvent.h" #include "nsIKeyEventInPluginCallback.h" #include "nsITheme.h" #include "nsIObserverService.h" diff --git a/widget/windows/nsWindow.h b/widget/windows/nsWindow.h index c91f8d86fe86..e88015c27ede 100644 --- a/widget/windows/nsWindow.h +++ b/widget/windows/nsWindow.h @@ -46,7 +46,6 @@ #endif #include "nsUXThemeData.h" -#include "nsIDOMMouseEvent.h" #include "nsIIdleServiceInternal.h" #include "IMMHandler.h" diff --git a/xpcom/reflect/xptinfo/ShimInterfaceInfo.cpp b/xpcom/reflect/xptinfo/ShimInterfaceInfo.cpp index 48b23167c3c4..9404ef2e9a37 100644 --- a/xpcom/reflect/xptinfo/ShimInterfaceInfo.cpp +++ b/xpcom/reflect/xptinfo/ShimInterfaceInfo.cpp @@ -21,7 +21,6 @@ #include "nsIDOMEventTarget.h" #include "nsIDOMGeoPositionError.h" #include "nsIDOMHTMLInputElement.h" -#include "nsIDOMMouseEvent.h" #include "nsIDOMNode.h" #include "nsIDOMNodeList.h" #include "nsIDOMNotifyPaintEvent.h" @@ -65,7 +64,6 @@ #include "mozilla/dom/ListBoxObjectBinding.h" #include "mozilla/dom/MediaListBinding.h" #include "mozilla/dom/MessageEventBinding.h" -#include "mozilla/dom/MouseEventBinding.h" #include "mozilla/dom/NodeListBinding.h" #include "mozilla/dom/NodeBinding.h" #include "mozilla/dom/NotifyPaintEventBinding.h" @@ -158,7 +156,6 @@ const ComponentsInterfaceShimEntry kComponentsInterfaceShimMap[] = DEFINE_SHIM_WITH_CUSTOM_INTERFACE(nsIDOMGeoPositionError, PositionError), DEFINE_SHIM(HTMLInputElement), DEFINE_SHIM_WITH_CUSTOM_INTERFACE(nsIListBoxObject, ListBoxObject), - DEFINE_SHIM(MouseEvent), DEFINE_SHIM(NodeList), DEFINE_SHIM(Node), DEFINE_SHIM(NotifyPaintEvent),