зеркало из https://github.com/mozilla/gecko-dev.git
Bug 989213 part.2 Rename nsEventNameList.h to mozilla/EventNameList.h r=smaug
--HG-- rename : dom/events/nsEventNameList.h => dom/events/EventNameList.h
This commit is contained in:
Родитель
614e03df2e
Коммит
f7c91f6586
|
@ -1780,7 +1780,7 @@ public:
|
|||
void SetOn##name_(mozilla::dom::EventHandlerNonNull* listener);
|
||||
#define TOUCH_EVENT EVENT
|
||||
#define DOCUMENT_ONLY_EVENT EVENT
|
||||
#include "nsEventNameList.h"
|
||||
#include "mozilla/EventNameList.h"
|
||||
#undef DOCUMENT_ONLY_EVENT
|
||||
#undef TOUCH_EVENT
|
||||
#undef EVENT
|
||||
|
|
|
@ -574,7 +574,7 @@ nsContentUtils::InitializeEventTable() {
|
|||
{ nsGkAtoms::on##name_, _id, _type, _struct },
|
||||
#define WINDOW_ONLY_EVENT EVENT
|
||||
#define NON_IDL_EVENT EVENT
|
||||
#include "nsEventNameList.h"
|
||||
#include "mozilla/EventNameList.h"
|
||||
#undef WINDOW_ONLY_EVENT
|
||||
#undef EVENT
|
||||
{ nullptr }
|
||||
|
@ -606,7 +606,7 @@ nsContentUtils::InitializeTouchEventTable()
|
|||
#define EVENT(name_, _id, _type, _struct)
|
||||
#define TOUCH_EVENT(name_, _id, _type, _struct) \
|
||||
{ nsGkAtoms::on##name_, _id, _type, _struct },
|
||||
#include "nsEventNameList.h"
|
||||
#include "mozilla/EventNameList.h"
|
||||
#undef TOUCH_EVENT
|
||||
#undef EVENT
|
||||
{ nullptr }
|
||||
|
|
|
@ -2259,7 +2259,7 @@ nsINode::SizeOfExcludingThis(MallocSizeOf aMallocSizeOf) const
|
|||
}
|
||||
#define TOUCH_EVENT EVENT
|
||||
#define DOCUMENT_ONLY_EVENT EVENT
|
||||
#include "nsEventNameList.h"
|
||||
#include "mozilla/EventNameList.h"
|
||||
#undef DOCUMENT_ONLY_EVENT
|
||||
#undef TOUCH_EVENT
|
||||
#undef EVENT
|
||||
|
|
|
@ -508,7 +508,7 @@ HTMLBodyElement::IsEventAttributeName(nsIAtom *aName)
|
|||
WINDOW_EVENT_HELPER(name_, EventHandlerNonNull)
|
||||
#define BEFOREUNLOAD_EVENT(name_, id_, type_, struct_) \
|
||||
WINDOW_EVENT_HELPER(name_, OnBeforeUnloadEventHandlerNonNull)
|
||||
#include "nsEventNameList.h" // IWYU pragma: keep
|
||||
#include "mozilla/EventNameList.h" // IWYU pragma: keep
|
||||
#undef BEFOREUNLOAD_EVENT
|
||||
#undef WINDOW_EVENT
|
||||
#undef WINDOW_EVENT_HELPER
|
||||
|
|
|
@ -62,7 +62,7 @@ public:
|
|||
WINDOW_EVENT_HELPER(name_, EventHandlerNonNull)
|
||||
#define BEFOREUNLOAD_EVENT(name_, id_, type_, struct_) \
|
||||
WINDOW_EVENT_HELPER(name_, OnBeforeUnloadEventHandlerNonNull)
|
||||
#include "nsEventNameList.h" // IWYU pragma: keep
|
||||
#include "mozilla/EventNameList.h" // IWYU pragma: keep
|
||||
#undef BEFOREUNLOAD_EVENT
|
||||
#undef WINDOW_EVENT
|
||||
#undef WINDOW_EVENT_HELPER
|
||||
|
|
|
@ -373,7 +373,7 @@ HTMLFrameSetElement::IsEventAttributeName(nsIAtom *aName)
|
|||
WINDOW_EVENT_HELPER(name_, EventHandlerNonNull)
|
||||
#define BEFOREUNLOAD_EVENT(name_, id_, type_, struct_) \
|
||||
WINDOW_EVENT_HELPER(name_, OnBeforeUnloadEventHandlerNonNull)
|
||||
#include "nsEventNameList.h" // IWYU pragma: keep
|
||||
#include "mozilla/EventNameList.h" // IWYU pragma: keep
|
||||
#undef BEFOREUNLOAD_EVENT
|
||||
#undef WINDOW_EVENT
|
||||
#undef WINDOW_EVENT_HELPER
|
||||
|
|
|
@ -93,7 +93,7 @@ public:
|
|||
WINDOW_EVENT_HELPER(name_, EventHandlerNonNull)
|
||||
#define BEFOREUNLOAD_EVENT(name_, id_, type_, struct_) \
|
||||
WINDOW_EVENT_HELPER(name_, OnBeforeUnloadEventHandlerNonNull)
|
||||
#include "nsEventNameList.h" // IWYU pragma: keep
|
||||
#include "mozilla/EventNameList.h" // IWYU pragma: keep
|
||||
#undef BEFOREUNLOAD_EVENT
|
||||
#undef WINDOW_EVENT
|
||||
#undef WINDOW_EVENT_HELPER
|
||||
|
|
|
@ -766,7 +766,7 @@ nsGenericHTMLElement::GetEventListenerManagerForAttr(nsIAtom* aAttrName,
|
|||
#define FORWARDED_EVENT(name_, id_, type_, struct_) \
|
||||
|| nsGkAtoms::on##name_ == aAttrName
|
||||
#define WINDOW_EVENT FORWARDED_EVENT
|
||||
#include "nsEventNameList.h" // IWYU pragma: keep
|
||||
#include "mozilla/EventNameList.h" // IWYU pragma: keep
|
||||
#undef WINDOW_EVENT
|
||||
#undef FORWARDED_EVENT
|
||||
#undef EVENT
|
||||
|
@ -872,7 +872,7 @@ nsGenericHTMLElement::SetOn##name_(EventHandlerNonNull* handler) \
|
|||
\
|
||||
return nsINode::SetOn##name_(handler); \
|
||||
}
|
||||
#include "nsEventNameList.h" // IWYU pragma: keep
|
||||
#include "mozilla/EventNameList.h" // IWYU pragma: keep
|
||||
#undef ERROR_EVENT
|
||||
#undef FORWARDED_EVENT
|
||||
#undef EVENT
|
||||
|
|
|
@ -250,7 +250,7 @@ public:
|
|||
using nsINode::SetOn##name_; \
|
||||
already_AddRefed<mozilla::dom::EventHandlerNonNull> GetOn##name_(); \
|
||||
void SetOn##name_(mozilla::dom::EventHandlerNonNull* handler);
|
||||
#include "nsEventNameList.h" // IWYU pragma: keep
|
||||
#include "mozilla/EventNameList.h" // IWYU pragma: keep
|
||||
#undef ERROR_EVENT
|
||||
#undef FORWARDED_EVENT
|
||||
#undef EVENT
|
||||
|
|
|
@ -13703,7 +13703,7 @@ nsGlobalWindow::DisableNetworkEvent(uint32_t aType)
|
|||
}
|
||||
#define WINDOW_ONLY_EVENT EVENT
|
||||
#define TOUCH_EVENT EVENT
|
||||
#include "nsEventNameList.h"
|
||||
#include "mozilla/EventNameList.h"
|
||||
#undef TOUCH_EVENT
|
||||
#undef WINDOW_ONLY_EVENT
|
||||
#undef BEFOREUNLOAD_EVENT
|
||||
|
|
|
@ -768,7 +768,7 @@ public:
|
|||
}
|
||||
#define WINDOW_ONLY_EVENT EVENT
|
||||
#define TOUCH_EVENT EVENT
|
||||
#include "nsEventNameList.h"
|
||||
#include "mozilla/EventNameList.h"
|
||||
#undef TOUCH_EVENT
|
||||
#undef WINDOW_ONLY_EVENT
|
||||
#undef BEFOREUNLOAD_EVENT
|
||||
|
|
|
@ -927,7 +927,7 @@ Event::GetEventName(uint32_t aEventType)
|
|||
switch(aEventType) {
|
||||
#define ID_TO_EVENT(name_, _id, _type, _struct) \
|
||||
case _id: return #name_;
|
||||
#include "nsEventNameList.h"
|
||||
#include "mozilla/EventNameList.h"
|
||||
#undef ID_TO_EVENT
|
||||
default:
|
||||
break;
|
||||
|
|
|
@ -14,7 +14,6 @@ XPIDL_SOURCES += [
|
|||
XPIDL_MODULE = 'content_events'
|
||||
|
||||
EXPORTS += [
|
||||
'nsEventNameList.h',
|
||||
'nsEventStates.h',
|
||||
'nsIJSEventListener.h',
|
||||
'nsVKList.h',
|
||||
|
@ -25,6 +24,7 @@ EXPORTS.mozilla += [
|
|||
'DOMEventTargetHelper.h',
|
||||
'EventDispatcher.h',
|
||||
'EventListenerManager.h',
|
||||
'EventNameList.h',
|
||||
'EventStateManager.h',
|
||||
'IMEStateManager.h',
|
||||
'InternalMutationEvent.h',
|
||||
|
|
Загрузка…
Ссылка в новой задаче