1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=2 sw=2 et tw=78: */
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 #ifndef nsHtml5OplessBuilder_h
8 #define nsHtml5OplessBuilder_h
10 #include "nsHtml5DocumentBuilder.h"
15 * This class implements a minimal subclass of nsHtml5DocumentBuilder that
16 * works when tree operation queues that are part of the off-the-main-thread
17 * parsing machinery are not used and, therefore, nsHtml5TreeOpExecutor is
20 * This class is mostly responsible for wrapping tree building in an update
21 * batch and resetting various fields in nsContentSink upon finishing.
23 class nsHtml5OplessBuilder
: public nsHtml5DocumentBuilder
{
25 nsHtml5OplessBuilder();
26 ~nsHtml5OplessBuilder();
29 void SetParser(nsParserBase
* aParser
);
32 #endif // nsHtml5OplessBuilder_h