summaryrefslogtreecommitdiffstats
path: root/dom/bindings/BindingDeclarations.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/bindings/BindingDeclarations.h')
-rw-r--r--dom/bindings/BindingDeclarations.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/dom/bindings/BindingDeclarations.h b/dom/bindings/BindingDeclarations.h
index 24385c9fa5..c723af0021 100644
--- a/dom/bindings/BindingDeclarations.h
+++ b/dom/bindings/BindingDeclarations.h
@@ -131,11 +131,6 @@ template <class T>
constexpr bool is_dom_union_with_typedarray_members =
std::is_base_of_v<UnionWithTypedArraysBase, T>;
-struct EnumEntry {
- const char* value;
- size_t length;
-};
-
enum class CallerType : uint32_t;
class MOZ_STACK_CLASS GlobalObject {
@@ -562,6 +557,13 @@ JS::Handle<JSObject*> GetPerInterfaceObjectHandle(
JSContext* aCx, size_t aSlotId, CreateInterfaceObjectsMethod aCreator,
bool aDefineOnGlobal);
+namespace binding_detail {
+
+template <typename Enum>
+struct EnumStrings;
+
+} // namespace binding_detail
+
} // namespace dom
} // namespace mozilla