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

Unified Diff: Source/core/editing/StyledMarkupSerializer.h

Issue 1148873009: Refactoring: Remove enum class NodeTraversalMode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/editing/StyledMarkupSerializer.h
diff --git a/Source/core/editing/StyledMarkupSerializer.h b/Source/core/editing/StyledMarkupSerializer.h
index 3143ac53f1a67e5bb1dcbb07efd413c0a31b3a1c..c56fa3c350b11eff82e5af592bc6930388b79e31 100644
--- a/Source/core/editing/StyledMarkupSerializer.h
+++ b/Source/core/editing/StyledMarkupSerializer.h
@@ -50,17 +50,16 @@ public:
String createMarkup();
private:
- enum class NodeTraversalMode { EmitString, DoNotEmitString };
+ Node* serializeNodes(Node* startNode, Node* pastEnd, StyledMarkupAccumulator*);
- Node* serializeNodes(Node* startNode, Node* pastEnd);
+ Node* traverseNodesForSerialization(Node* startNode, Node* pastEnd, StyledMarkupAccumulator*);
- Node* traverseNodesForSerialization(Node* startNode, Node* pastEnd, NodeTraversalMode);
-
- StyledMarkupAccumulator m_markupAccumulator;
const PositionType m_start;
const PositionType m_end;
+ const EAbsoluteURLs m_shouldResolveURLs;
const EAnnotateForInterchange m_shouldAnnotate;
const RefPtrWillBeMember<Node> m_highestNodeToBeSerialized;
+ const ConvertBlocksToInlines m_convertBlocksToInlines;
};
extern template class StyledMarkupSerializer<EditingStrategy>;
« no previous file with comments | « no previous file | Source/core/editing/StyledMarkupSerializer.cpp » ('j') | Source/core/editing/StyledMarkupSerializer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698