mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
WebIDL codegen: Remove unneeded C++ goop.
This commit is contained in:
parent
f2ab39376a
commit
8787c1ac1f
1 changed files with 0 additions and 34 deletions
|
@ -1,34 +0,0 @@
|
|||
#include "BlobBinding.h"
|
||||
#include "ClientRectBinding.h"
|
||||
#include "ClientRectListBinding.h"
|
||||
#include "DOMParserBinding.h"
|
||||
#include "EventBinding.h"
|
||||
#include "EventTargetBinding.h"
|
||||
#include "FormDataBinding.h"
|
||||
#include "HTMLCollectionBinding.h"
|
||||
#include "nsScriptNameSpaceManager.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
void
|
||||
Register(nsScriptNameSpaceManager* aNameSpaceManager)
|
||||
{
|
||||
|
||||
#define REGISTER_PROTO(_dom_class, _pref_check) \
|
||||
aNameSpaceManager->RegisterDefineDOMInterface(NS_LITERAL_STRING(#_dom_class), _dom_class##Binding::DefineDOMInterface, _pref_check);
|
||||
|
||||
REGISTER_PROTO(Blob, nullptr);
|
||||
REGISTER_PROTO(ClientRect, nullptr);
|
||||
REGISTER_PROTO(ClientRectList, nullptr);
|
||||
REGISTER_PROTO(DOMParser, nullptr);
|
||||
REGISTER_PROTO(Event, nullptr);
|
||||
REGISTER_PROTO(EventTarget, nullptr);
|
||||
REGISTER_PROTO(FormData, nullptr);
|
||||
REGISTER_PROTO(HTMLCollection, nullptr);
|
||||
|
||||
#undef REGISTER_PROTO
|
||||
}
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue