diff options
author | athenian200 <athenian200@outlook.com> | 2020-01-27 22:59:08 -0600 |
---|---|---|
committer | athenian200 <athenian200@outlook.com> | 2020-01-27 22:59:08 -0600 |
commit | 3c4f414db74b84f7d2a6fb13fd888a47a153699b (patch) | |
tree | ea81fca559849967a79d598a6f460830762ec9ea /parser/html/nsHtml5Highlighter.h | |
parent | 1f8d508258ac5d7d57fc4eb35cac90f28bc8ca03 (diff) | |
parent | c4b0715baaffc541670fd1158557aa7e61e521d3 (diff) | |
download | UXP-3c4f414db74b84f7d2a6fb13fd888a47a153699b.tar UXP-3c4f414db74b84f7d2a6fb13fd888a47a153699b.tar.gz UXP-3c4f414db74b84f7d2a6fb13fd888a47a153699b.tar.lz UXP-3c4f414db74b84f7d2a6fb13fd888a47a153699b.tar.xz UXP-3c4f414db74b84f7d2a6fb13fd888a47a153699b.zip |
Merge branch 'master' of https://github.com/MoonchildProductions/UXP into form-disabled-issue
Diffstat (limited to 'parser/html/nsHtml5Highlighter.h')
-rw-r--r-- | parser/html/nsHtml5Highlighter.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/parser/html/nsHtml5Highlighter.h b/parser/html/nsHtml5Highlighter.h index 366f11582..c37b703b8 100644 --- a/parser/html/nsHtml5Highlighter.h +++ b/parser/html/nsHtml5Highlighter.h @@ -227,11 +227,13 @@ class nsHtml5Highlighter * @param aAttributes the attribute holder (ownership will be taken) or * nullptr for no attributes * @param aIntendedParent the intended parent node for the created element + * @param aCreator the content creator function * @return the handle for the element that will be created */ nsIContent** CreateElement(nsIAtom* aName, nsHtml5HtmlAttributes* aAttributes, - nsIContent** aIntendedParent); + nsIContent** aIntendedParent, + mozilla::dom::HTMLContentCreatorFunction aCreator); /** * Gets the handle for the current node. May be called only after the @@ -247,8 +249,11 @@ class nsHtml5Highlighter * @param aName the name of the element * @param aAttributes the attribute holder (ownership will be taken) or * nullptr for no attributes + * @param aCreator the content creator function */ - void Push(nsIAtom* aName, nsHtml5HtmlAttributes* aAttributes); + void Push(nsIAtom* aName, + nsHtml5HtmlAttributes* aAttributes, + mozilla::dom::HTMLContentCreatorFunction aCreator); /** * Pops the current node off the stack. |