| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
| 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 21 matching lines...) Expand all Loading... |
| 32 #include "wtf/text/StringBuilder.h" | 32 #include "wtf/text/StringBuilder.h" |
| 33 | 33 |
| 34 namespace WebCore { | 34 namespace WebCore { |
| 35 | 35 |
| 36 class Attribute; | 36 class Attribute; |
| 37 class DocumentType; | 37 class DocumentType; |
| 38 class Element; | 38 class Element; |
| 39 class Node; | 39 class Node; |
| 40 class Range; | 40 class Range; |
| 41 | 41 |
| 42 typedef HashMap<AtomicStringImpl*, AtomicStringImpl*> Namespaces; | 42 typedef HashMap<StringImpl*, StringImpl*> Namespaces; |
| 43 | 43 |
| 44 enum EntityMask { | 44 enum EntityMask { |
| 45 EntityAmp = 0x0001, | 45 EntityAmp = 0x0001, |
| 46 EntityLt = 0x0002, | 46 EntityLt = 0x0002, |
| 47 EntityGt = 0x0004, | 47 EntityGt = 0x0004, |
| 48 EntityQuot = 0x0008, | 48 EntityQuot = 0x0008, |
| 49 EntityNbsp = 0x0010, | 49 EntityNbsp = 0x0010, |
| 50 | 50 |
| 51 // Non-breaking space needs to be escaped in innerHTML for compatibility rea
son. See http://trac.webkit.org/changeset/32879 | 51 // Non-breaking space needs to be escaped in innerHTML for compatibility rea
son. See http://trac.webkit.org/changeset/32879 |
| 52 // However, we cannot do this in a XML document because it does not have the
entity reference defined (See the bug 19215). | 52 // However, we cannot do this in a XML document because it does not have the
entity reference defined (See the bug 19215). |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 void appendQuotedURLAttributeValue(StringBuilder&, const Element*, const Att
ribute&); | 112 void appendQuotedURLAttributeValue(StringBuilder&, const Element*, const Att
ribute&); |
| 113 void serializeNodesWithNamespaces(Node* targetNode, EChildrenOnly, const Nam
espaces*, Vector<QualifiedName>* tagNamesToSkip); | 113 void serializeNodesWithNamespaces(Node* targetNode, EChildrenOnly, const Nam
espaces*, Vector<QualifiedName>* tagNamesToSkip); |
| 114 | 114 |
| 115 StringBuilder m_markup; | 115 StringBuilder m_markup; |
| 116 const EAbsoluteURLs m_resolveURLsMethod; | 116 const EAbsoluteURLs m_resolveURLsMethod; |
| 117 }; | 117 }; |
| 118 | 118 |
| 119 } | 119 } |
| 120 | 120 |
| 121 #endif | 121 #endif |
| OLD | NEW |