Chromium Code Reviews| Index: Source/core/editing/markup.h |
| diff --git a/Source/core/editing/markup.h b/Source/core/editing/markup.h |
| index f12209269e962e80241afcd717c78585f55ec7fe..a7ec1be53844ffa2f23f2a35de2da355950d030d 100644 |
| --- a/Source/core/editing/markup.h |
| +++ b/Source/core/editing/markup.h |
| @@ -43,6 +43,7 @@ class KURL; |
| class Node; |
| class QualifiedName; |
| class Range; |
| +class SVGElement; |
| enum EChildrenOnly { IncludeNode, ChildrenOnly }; |
| enum EAbsoluteURLs { DoNotResolveURLs, ResolveAllURLs, ResolveNonLocalURLs }; |
| @@ -54,6 +55,7 @@ PassRefPtr<DocumentFragment> createFragmentFromNodes(Document*, const Vector<Nod |
| PassRefPtr<DocumentFragment> createFragmentForInnerOuterHTML(const String&, Element*, ParserContentPolicy, const char* method, ExceptionState&); |
| PassRefPtr<DocumentFragment> createFragmentForTransformToFragment(const String&, const String& sourceMIMEType, Document& outputDoc); |
| PassRefPtr<DocumentFragment> createContextualFragment(const String&, HTMLElement*, ParserContentPolicy, ExceptionState&); |
| +PassRefPtr<DocumentFragment> createContextualFragment(const String&, SVGElement*, ParserContentPolicy, ExceptionState&); |
|
eseidel
2014/04/10 04:28:51
Why is SVG special? Can we just have one for Elem
pwnall-personal
2014/06/02 06:57:57
Done. Thank you!
|
| bool isPlainTextMarkup(Node*); |