OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2004 Apple Computer, Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 23 matching lines...) Expand all Loading... |
34 | 34 |
35 namespace blink { | 35 namespace blink { |
36 | 36 |
37 class ContainerNode; | 37 class ContainerNode; |
38 class Document; | 38 class Document; |
39 class DocumentFragment; | 39 class DocumentFragment; |
40 class Element; | 40 class Element; |
41 class ExceptionState; | 41 class ExceptionState; |
42 class KURL; | 42 class KURL; |
43 class Node; | 43 class Node; |
44 class QualifiedName; | |
45 class Range; | 44 class Range; |
46 | 45 |
47 enum EChildrenOnly { IncludeNode, ChildrenOnly }; | 46 enum EChildrenOnly { IncludeNode, ChildrenOnly }; |
48 enum EAbsoluteURLs { DoNotResolveURLs, ResolveAllURLs, ResolveNonLocalURLs }; | 47 enum EAbsoluteURLs { DoNotResolveURLs, ResolveAllURLs, ResolveNonLocalURLs }; |
49 | 48 |
50 PassRefPtrWillBeRawPtr<DocumentFragment> createFragmentFromText(Range* context,
const String& text); | 49 PassRefPtrWillBeRawPtr<DocumentFragment> createFragmentFromText(Range* context,
const String& text); |
51 PassRefPtrWillBeRawPtr<DocumentFragment> createFragmentFromMarkup(Document&, con
st String& markup, const String& baseURL, ParserContentPolicy = AllowScriptingCo
ntent); | 50 PassRefPtrWillBeRawPtr<DocumentFragment> createFragmentFromMarkup(Document&, con
st String& markup, const String& baseURL, ParserContentPolicy = AllowScriptingCo
ntent); |
52 PassRefPtrWillBeRawPtr<DocumentFragment> createFragmentFromMarkupWithContext(Doc
ument&, const String& markup, unsigned fragmentStart, unsigned fragmentEnd, cons
t String& baseURL, ParserContentPolicy); | 51 PassRefPtrWillBeRawPtr<DocumentFragment> createFragmentFromMarkupWithContext(Doc
ument&, const String& markup, unsigned fragmentStart, unsigned fragmentEnd, cons
t String& baseURL, ParserContentPolicy); |
53 PassRefPtrWillBeRawPtr<DocumentFragment> createFragmentForInnerOuterHTML(const S
tring&, Element*, ParserContentPolicy, const char* method, ExceptionState&); | 52 PassRefPtrWillBeRawPtr<DocumentFragment> createFragmentForInnerOuterHTML(const S
tring&, Element*, ParserContentPolicy, const char* method, ExceptionState&); |
54 PassRefPtrWillBeRawPtr<DocumentFragment> createFragmentForTransformToFragment(co
nst String&, const String& sourceMIMEType, Document& outputDoc); | 53 PassRefPtrWillBeRawPtr<DocumentFragment> createFragmentForTransformToFragment(co
nst String&, const String& sourceMIMEType, Document& outputDoc); |
(...skipping 10 matching lines...) Expand all Loading... |
65 String createMarkup(const Node*, EChildrenOnly = IncludeNode, EAbsoluteURLs = Do
NotResolveURLs); | 64 String createMarkup(const Node*, EChildrenOnly = IncludeNode, EAbsoluteURLs = Do
NotResolveURLs); |
66 | 65 |
67 String createStyledMarkupForNavigationTransition(Node*); | 66 String createStyledMarkupForNavigationTransition(Node*); |
68 | 67 |
69 String urlToMarkup(const KURL&, const String& title); | 68 String urlToMarkup(const KURL&, const String& title); |
70 void mergeWithNextTextNode(Text*, ExceptionState&); | 69 void mergeWithNextTextNode(Text*, ExceptionState&); |
71 | 70 |
72 } | 71 } |
73 | 72 |
74 #endif // markup_h | 73 #endif // markup_h |
OLD | NEW |