зеркало из https://github.com/mozilla/pjs.git
Bug 523111 - DOMEvent implementations should inherit first the base class, r=jwatt, sr=jst
--HG-- extra : rebase_source : 81cba369792644a99f42c1901dbf04196d007d53
This commit is contained in:
Родитель
314989acda
Коммит
3e2280e528
|
@ -42,8 +42,8 @@
|
|||
#include "nsIDOMBeforeUnloadEvent.h"
|
||||
#include "nsDOMEvent.h"
|
||||
|
||||
class nsDOMBeforeUnloadEvent : public nsIDOMBeforeUnloadEvent,
|
||||
public nsDOMEvent
|
||||
class nsDOMBeforeUnloadEvent : public nsDOMEvent,
|
||||
public nsIDOMBeforeUnloadEvent
|
||||
{
|
||||
public:
|
||||
nsDOMBeforeUnloadEvent(nsPresContext* aPresContext, nsEvent* aEvent)
|
||||
|
|
|
@ -45,8 +45,8 @@
|
|||
class nsIContent;
|
||||
class nsEvent;
|
||||
|
||||
class nsDOMDragEvent : public nsIDOMDragEvent,
|
||||
public nsDOMMouseEvent
|
||||
class nsDOMDragEvent : public nsDOMMouseEvent,
|
||||
public nsIDOMDragEvent
|
||||
{
|
||||
public:
|
||||
nsDOMDragEvent(nsPresContext* aPresContext, nsInputEvent* aEvent);
|
||||
|
|
|
@ -42,8 +42,8 @@
|
|||
#include "nsIDOMKeyEvent.h"
|
||||
#include "nsDOMUIEvent.h"
|
||||
|
||||
class nsDOMKeyboardEvent : public nsIDOMKeyEvent,
|
||||
public nsDOMUIEvent
|
||||
class nsDOMKeyboardEvent : public nsDOMUIEvent,
|
||||
public nsIDOMKeyEvent
|
||||
{
|
||||
public:
|
||||
nsDOMKeyboardEvent(nsPresContext* aPresContext, nsKeyEvent* aEvent);
|
||||
|
|
|
@ -50,8 +50,8 @@
|
|||
* See http://www.whatwg.org/specs/web-apps/current-work/#messageevent for
|
||||
* further details.
|
||||
*/
|
||||
class nsDOMMessageEvent : public nsIDOMMessageEvent,
|
||||
public nsDOMEvent
|
||||
class nsDOMMessageEvent : public nsDOMEvent,
|
||||
public nsIDOMMessageEvent
|
||||
{
|
||||
public:
|
||||
nsDOMMessageEvent(nsPresContext* aPresContext, nsEvent* aEvent)
|
||||
|
|
|
@ -41,8 +41,8 @@
|
|||
#include "nsIDOMMouseScrollEvent.h"
|
||||
#include "nsDOMMouseEvent.h"
|
||||
|
||||
class nsDOMMouseScrollEvent : public nsIDOMMouseScrollEvent,
|
||||
public nsDOMMouseEvent
|
||||
class nsDOMMouseScrollEvent : public nsDOMMouseEvent,
|
||||
public nsIDOMMouseScrollEvent
|
||||
{
|
||||
public:
|
||||
nsDOMMouseScrollEvent(nsPresContext* aPresContext, nsInputEvent* aEvent);
|
||||
|
|
|
@ -44,8 +44,8 @@
|
|||
#include "nsDOMEvent.h"
|
||||
#include "nsContentUtils.h"
|
||||
|
||||
class nsDOMMutationEvent : public nsIDOMMutationEvent,
|
||||
public nsDOMEvent
|
||||
class nsDOMMutationEvent : public nsDOMEvent,
|
||||
public nsIDOMMutationEvent
|
||||
{
|
||||
public:
|
||||
nsDOMMutationEvent(nsPresContext* aPresContext, nsMutationEvent* aEvent);
|
||||
|
|
|
@ -45,8 +45,8 @@
|
|||
|
||||
class nsPaintRequestList;
|
||||
|
||||
class nsDOMNotifyPaintEvent : public nsIDOMNotifyPaintEvent,
|
||||
public nsDOMEvent
|
||||
class nsDOMNotifyPaintEvent : public nsDOMEvent,
|
||||
public nsIDOMNotifyPaintEvent
|
||||
{
|
||||
public:
|
||||
nsDOMNotifyPaintEvent(nsPresContext* aPresContext,
|
||||
|
|
|
@ -40,7 +40,8 @@
|
|||
#include "nsIDOMOrientationEvent.h"
|
||||
#include "nsDOMEvent.h"
|
||||
|
||||
class nsDOMOrientationEvent : public nsIDOMOrientationEvent, public nsDOMEvent
|
||||
class nsDOMOrientationEvent : public nsDOMEvent,
|
||||
public nsIDOMOrientationEvent
|
||||
{
|
||||
public:
|
||||
|
||||
|
|
|
@ -42,8 +42,8 @@
|
|||
#include "nsIDOMPageTransitionEvent.h"
|
||||
#include "nsDOMEvent.h"
|
||||
|
||||
class nsDOMPageTransitionEvent : public nsIDOMPageTransitionEvent,
|
||||
public nsDOMEvent
|
||||
class nsDOMPageTransitionEvent : public nsDOMEvent,
|
||||
public nsIDOMPageTransitionEvent
|
||||
{
|
||||
public:
|
||||
nsDOMPageTransitionEvent(nsPresContext* aPresContext, nsEvent* aEvent) :
|
||||
|
|
|
@ -43,8 +43,8 @@
|
|||
#include "nsDOMEvent.h"
|
||||
#include "nsIURI.h"
|
||||
|
||||
class nsDOMPopupBlockedEvent : public nsIDOMPopupBlockedEvent,
|
||||
public nsDOMEvent
|
||||
class nsDOMPopupBlockedEvent : public nsDOMEvent,
|
||||
public nsIDOMPopupBlockedEvent
|
||||
{
|
||||
public:
|
||||
|
||||
|
|
|
@ -49,8 +49,8 @@
|
|||
* See http://www.whatwg.org/specs/web-apps/current-work/#progress0 for
|
||||
* further details.
|
||||
*/
|
||||
class nsDOMProgressEvent : public nsIDOMProgressEvent,
|
||||
public nsDOMEvent
|
||||
class nsDOMProgressEvent : public nsDOMEvent,
|
||||
public nsIDOMProgressEvent
|
||||
{
|
||||
public:
|
||||
nsDOMProgressEvent(nsPresContext* aPresContext, nsEvent* aEvent)
|
||||
|
|
|
@ -42,8 +42,8 @@
|
|||
|
||||
class nsPresContext;
|
||||
|
||||
class nsDOMSimpleGestureEvent : public nsIDOMSimpleGestureEvent,
|
||||
public nsDOMMouseEvent
|
||||
class nsDOMSimpleGestureEvent : public nsDOMMouseEvent,
|
||||
public nsIDOMSimpleGestureEvent
|
||||
{
|
||||
public:
|
||||
nsDOMSimpleGestureEvent(nsPresContext*, nsSimpleGestureEvent*);
|
||||
|
|
|
@ -45,10 +45,10 @@
|
|||
#include "nsIPrivateCompositionEvent.h"
|
||||
#include "nsDOMEvent.h"
|
||||
|
||||
class nsDOMUIEvent : public nsIDOMUIEvent,
|
||||
class nsDOMUIEvent : public nsDOMEvent,
|
||||
public nsIDOMUIEvent,
|
||||
public nsIDOMNSUIEvent,
|
||||
public nsIPrivateCompositionEvent,
|
||||
public nsDOMEvent
|
||||
public nsIPrivateCompositionEvent
|
||||
{
|
||||
public:
|
||||
nsDOMUIEvent(nsPresContext* aPresContext, nsGUIEvent* aEvent);
|
||||
|
|
|
@ -41,8 +41,8 @@
|
|||
#include "nsIDOMSVGEvent.h"
|
||||
#include "nsDOMEvent.h"
|
||||
|
||||
class nsDOMSVGEvent : public nsIDOMSVGEvent,
|
||||
public nsDOMEvent
|
||||
class nsDOMSVGEvent : public nsDOMEvent,
|
||||
public nsIDOMSVGEvent
|
||||
{
|
||||
public:
|
||||
nsDOMSVGEvent(nsPresContext* aPresContext, nsEvent* aEvent);
|
||||
|
|
|
@ -105,14 +105,13 @@ nsDOMSVGZoomEvent::nsDOMSVGZoomEvent(nsPresContext* aPresContext,
|
|||
//----------------------------------------------------------------------
|
||||
// nsISupports methods:
|
||||
|
||||
NS_IMPL_ADDREF_INHERITED(nsDOMSVGZoomEvent, nsDOMEvent)
|
||||
NS_IMPL_RELEASE_INHERITED(nsDOMSVGZoomEvent, nsDOMEvent)
|
||||
NS_IMPL_ADDREF_INHERITED(nsDOMSVGZoomEvent, nsDOMUIEvent)
|
||||
NS_IMPL_RELEASE_INHERITED(nsDOMSVGZoomEvent, nsDOMUIEvent)
|
||||
|
||||
NS_INTERFACE_MAP_BEGIN(nsDOMSVGZoomEvent)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIDOMSVGZoomEvent)
|
||||
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsIDOMUIEvent,nsIDOMSVGZoomEvent)
|
||||
NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO(SVGZoomEvent)
|
||||
NS_INTERFACE_MAP_END_INHERITING(nsDOMEvent)
|
||||
NS_INTERFACE_MAP_END_INHERITING(nsDOMUIEvent)
|
||||
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
|
|
@ -42,8 +42,8 @@
|
|||
#include "nsDOMUIEvent.h"
|
||||
#include "nsIDOMSVGSVGElement.h"
|
||||
|
||||
class nsDOMSVGZoomEvent : public nsIDOMSVGZoomEvent,
|
||||
public nsDOMUIEvent
|
||||
class nsDOMSVGZoomEvent : public nsDOMUIEvent,
|
||||
public nsIDOMSVGZoomEvent
|
||||
{
|
||||
public:
|
||||
nsDOMSVGZoomEvent(nsPresContext* aPresContext, nsGUIEvent* aEvent);
|
||||
|
|
|
@ -3431,7 +3431,7 @@ nsDOMClassInfo::Init()
|
|||
|
||||
DOM_CLASSINFO_MAP_BEGIN(SVGZoomEvent, nsIDOMSVGZoomEvent)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGZoomEvent)
|
||||
DOM_CLASSINFO_EVENT_MAP_ENTRIES
|
||||
DOM_CLASSINFO_UI_EVENT_MAP_ENTRIES
|
||||
DOM_CLASSINFO_MAP_END
|
||||
#endif // MOZ_SVG
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче