summaryrefslogtreecommitdiff
path: root/Source/WebCore/editing/markup.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/editing/markup.h')
-rw-r--r--Source/WebCore/editing/markup.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebCore/editing/markup.h b/Source/WebCore/editing/markup.h
index a36cb350a..ca20c9acf 100644
--- a/Source/WebCore/editing/markup.h
+++ b/Source/WebCore/editing/markup.h
@@ -37,6 +37,7 @@ namespace WebCore {
class Document;
class DocumentFragment;
class Element;
+ class HTMLElement;
class KURL;
class Node;
class QualifiedName;
@@ -51,9 +52,9 @@ namespace WebCore {
PassRefPtr<DocumentFragment> createFragmentFromMarkup(Document*, const String& markup, const String& baseURL, FragmentScriptingPermission = AllowScriptingContent);
PassRefPtr<DocumentFragment> createFragmentFromMarkupWithContext(Document*, const String& markup, unsigned fragmentStart, unsigned fragmentEnd, const String& baseURL, FragmentScriptingPermission);
PassRefPtr<DocumentFragment> createFragmentFromNodes(Document*, const Vector<Node*>&);
- PassRefPtr<DocumentFragment> createFragmentForInnerOuterHTML(const String&, Element*, ExceptionCode&);
+ PassRefPtr<DocumentFragment> createFragmentForInnerOuterHTML(const String&, Element*, FragmentScriptingPermission, ExceptionCode&);
PassRefPtr<DocumentFragment> createFragmentForTransformToFragment(const String&, const String& sourceMIMEType, Document* outputDoc);
- PassRefPtr<DocumentFragment> createContextualFragment(const String&, Element*, FragmentScriptingPermission);
+ PassRefPtr<DocumentFragment> createContextualFragment(const String&, HTMLElement*, FragmentScriptingPermission, ExceptionCode&);
bool isPlainTextMarkup(Node *node);