Backed out changeset 2450366cf7ca (bug 1891629) for causing win msix mochitest failures
[gecko.git] / dom / base / DOMTokenListSupportedTokens.h
blob1559806abe1dcdf1de5920eac44ccf919bfda77c
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 /*
8 * Definitions of supported tokens data types for nsDOMTokenList. This is in a
9 * separate header so Element.h can include it too.
12 #ifndef mozilla_dom_DOMTokenListSupportedTokens_h
13 #define mozilla_dom_DOMTokenListSupportedTokens_h
15 namespace mozilla::dom {
17 // A single supported token.
18 typedef const char* const DOMTokenListSupportedToken;
20 // An array of supported tokens. This should end with a null
21 // DOMTokenListSupportedToken to indicate array termination. A null value for
22 // the DOMTokenListSupportedTokenArray means there is no definition of supported
23 // tokens for the given DOMTokenList. This should generally be a static table,
24 // or at least outlive the DOMTokenList whose constructor it's passed to.
25 typedef DOMTokenListSupportedToken* DOMTokenListSupportedTokenArray;
27 } // namespace mozilla::dom
29 #endif // mozilla_dom_DOMTokenListSupportedTokens_h