michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef mozilla_dom_FromParser_h michael@0: #define mozilla_dom_FromParser_h michael@0: michael@0: namespace mozilla { michael@0: namespace dom { michael@0: michael@0: /** michael@0: * Constants for passing as aFromParser michael@0: */ michael@0: enum FromParser { michael@0: NOT_FROM_PARSER = 0, michael@0: FROM_PARSER_NETWORK = 1, michael@0: FROM_PARSER_DOCUMENT_WRITE = 1 << 1, michael@0: FROM_PARSER_FRAGMENT = 1 << 2, michael@0: FROM_PARSER_XSLT = 1 << 3 michael@0: }; michael@0: michael@0: } // namespace dom michael@0: } // namespace mozilla michael@0: michael@0: #endif // mozilla_dom_FromParser_h