Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(498)

Side by Side Diff: Source/core/editing/MarkupAccumulator.h

Issue 135443003: Remove MarkupAccumulator::appendNodeValue() method (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@using_namespace_header
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/dom/CharacterData.h ('k') | Source/core/editing/MarkupAccumulator.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 protected: 73 protected:
74 void appendString(const String&); 74 void appendString(const String&);
75 void appendStartTag(Node*, Namespaces* = 0); 75 void appendStartTag(Node*, Namespaces* = 0);
76 virtual void appendEndTag(Node*); 76 virtual void appendEndTag(Node*);
77 static size_t totalLength(const Vector<String>&); 77 static size_t totalLength(const Vector<String>&);
78 size_t length() const { return m_markup.length(); } 78 size_t length() const { return m_markup.length(); }
79 void concatenateMarkup(StringBuilder&); 79 void concatenateMarkup(StringBuilder&);
80 void appendAttributeValue(StringBuilder&, const String&, bool); 80 void appendAttributeValue(StringBuilder&, const String&, bool);
81 virtual void appendCustomAttributes(StringBuilder&, Element*, Namespaces*); 81 virtual void appendCustomAttributes(StringBuilder&, Element*, Namespaces*);
82 void appendNodeValue(StringBuilder&, const Node*, const Range*, EntityMask);
83 bool shouldAddNamespaceElement(const Element*); 82 bool shouldAddNamespaceElement(const Element*);
84 bool shouldAddNamespaceAttribute(const Attribute&, Namespaces&); 83 bool shouldAddNamespaceAttribute(const Attribute&, Namespaces&);
85 void appendNamespace(StringBuilder&, const AtomicString& prefix, const Atomi cString& namespaceURI, Namespaces&); 84 void appendNamespace(StringBuilder&, const AtomicString& prefix, const Atomi cString& namespaceURI, Namespaces&);
86 EntityMask entityMaskForText(Text*) const; 85 EntityMask entityMaskForText(Text*) const;
87 virtual void appendText(StringBuilder&, Text*); 86 virtual void appendText(StringBuilder&, Text*);
88 void appendXMLDeclaration(StringBuilder&, const Document*); 87 void appendXMLDeclaration(StringBuilder&, const Document*);
89 void appendDocumentType(StringBuilder&, const DocumentType*); 88 void appendDocumentType(StringBuilder&, const DocumentType*);
90 void appendProcessingInstruction(StringBuilder&, const String& target, const String& data); 89 void appendProcessingInstruction(StringBuilder&, const String& target, const String& data);
91 virtual void appendElement(StringBuilder&, Element*, Namespaces*); 90 virtual void appendElement(StringBuilder&, Element*, Namespaces*);
92 void appendOpenTag(StringBuilder&, Element*, Namespaces*); 91 void appendOpenTag(StringBuilder&, Element*, Namespaces*);
(...skipping 13 matching lines...) Expand all
106 void appendQuotedURLAttributeValue(StringBuilder&, const Element*, const Att ribute&); 105 void appendQuotedURLAttributeValue(StringBuilder&, const Element*, const Att ribute&);
107 void serializeNodesWithNamespaces(Node* targetNode, EChildrenOnly, const Nam espaces*, Vector<QualifiedName>* tagNamesToSkip); 106 void serializeNodesWithNamespaces(Node* targetNode, EChildrenOnly, const Nam espaces*, Vector<QualifiedName>* tagNamesToSkip);
108 107
109 StringBuilder m_markup; 108 StringBuilder m_markup;
110 const EAbsoluteURLs m_resolveURLsMethod; 109 const EAbsoluteURLs m_resolveURLsMethod;
111 }; 110 };
112 111
113 } 112 }
114 113
115 #endif 114 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/CharacterData.h ('k') | Source/core/editing/MarkupAccumulator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698