tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

DOMTokenListSupportedTokens.h (1207B)


      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/. */
      6 
      7 /*
      8 * Definitions of supported tokens data types for nsDOMTokenList.  This is in a
      9 * separate header so Element.h can include it too.
     10 */
     11 
     12 #ifndef mozilla_dom_DOMTokenListSupportedTokens_h
     13 #define mozilla_dom_DOMTokenListSupportedTokens_h
     14 
     15 namespace mozilla::dom {
     16 
     17 // A single supported token.
     18 typedef const char* const DOMTokenListSupportedToken;
     19 
     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;
     26 
     27 }  // namespace mozilla::dom
     28 
     29 #endif  // mozilla_dom_DOMTokenListSupportedTokens_h