Chromium Code Reviews| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 111 // included into serialized text then extracts image, object, etc. The size | 111 // included into serialized text then extracts image, object, etc. The size |
| 112 // of this vector isn't small for large document. It is better to use | 112 // of this vector isn't small for large document. It is better to use |
| 113 // callback like functionality. | 113 // callback like functionality. |
| 114 RawPtrWillBeMember<WillBeHeapVector<RawPtrWillBeMember<Node>>> const m_nodes ; | 114 RawPtrWillBeMember<WillBeHeapVector<RawPtrWillBeMember<Node>>> const m_nodes ; |
| 115 | 115 |
| 116 String renderedText(Text&); | 116 String renderedText(Text&); |
| 117 String stringValueForRange(const Node&); | 117 String stringValueForRange(const Node&); |
| 118 | 118 |
| 119 private: | 119 private: |
| 120 String resolveURLIfNeeded(const Element&, const String&) const; | 120 String resolveURLIfNeeded(const Element&, const String&) const; |
| 121 void appendQuotedURLAttributeValue(StringBuilder&, const Element&, const Att ribute&); | 121 void appendHTMLEscapedURLAttributeValue(StringBuilder&, const Element&, cons t Attribute&); |
|
fs
2015/03/24 10:20:11
I think you should keep the old name - the convers
Abhijeet Kandalkar Slow
2015/03/24 14:20:36
Done.
| |
| 122 void serializeNodesWithNamespaces(Node& targetNode, EChildrenOnly, const Nam espaces*); | 122 void serializeNodesWithNamespaces(Node& targetNode, EChildrenOnly, const Nam espaces*); |
| 123 bool serializeAsHTMLDocument(const Node&) const; | 123 bool serializeAsHTMLDocument(const Node&) const; |
| 124 | 124 |
| 125 StringBuilder m_markup; | 125 StringBuilder m_markup; |
| 126 const EAbsoluteURLs m_resolveURLsMethod; | 126 const EAbsoluteURLs m_resolveURLsMethod; |
| 127 SerializationType m_serializationType; | 127 SerializationType m_serializationType; |
| 128 const Position m_start; | 128 const Position m_start; |
| 129 const Position m_end; | 129 const Position m_end; |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 } | 132 } |
| 133 | 133 |
| 134 #endif | 134 #endif |
| OLD | NEW |