parser/html/nsHtml5OplessBuilder.h

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
michael@0 2 /* vim: set ts=2 sw=2 et tw=78: */
michael@0 3 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 6
michael@0 7 #ifndef nsHtml5OplessBuilder_h
michael@0 8 #define nsHtml5OplessBuilder_h
michael@0 9
michael@0 10 #include "nsHtml5DocumentBuilder.h"
michael@0 11
michael@0 12 class nsParserBase;
michael@0 13
michael@0 14 /**
michael@0 15 * This class implements a minimal subclass of nsHtml5DocumentBuilder that
michael@0 16 * works when tree operation queues that are part of the off-the-main-thread
michael@0 17 * parsing machinery are not used and, therefore, nsHtml5TreeOpExecutor is
michael@0 18 * not used.
michael@0 19 *
michael@0 20 * This class is mostly responsible for wrapping tree building in an update
michael@0 21 * batch and resetting various fields in nsContentSink upon finishing.
michael@0 22 */
michael@0 23 class nsHtml5OplessBuilder : public nsHtml5DocumentBuilder
michael@0 24 {
michael@0 25 public:
michael@0 26 NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW
michael@0 27
michael@0 28 nsHtml5OplessBuilder();
michael@0 29 ~nsHtml5OplessBuilder();
michael@0 30 void Start();
michael@0 31 void Finish();
michael@0 32 void SetParser(nsParserBase* aParser);
michael@0 33 };
michael@0 34
michael@0 35 #endif // nsHtml5OplessBuilder_h

mercurial