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

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

Issue 1165833002: Refactoring: Move StyledMarkupSerializer::m_reversedPrecedingMarkup to StyledMarkupAccumulator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 7 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
« no previous file with comments | « Source/core/editing/StyledMarkupAccumulator.cpp ('k') | Source/core/editing/StyledMarkupSerializer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/StyledMarkupSerializer.h
diff --git a/Source/core/editing/StyledMarkupSerializer.h b/Source/core/editing/StyledMarkupSerializer.h
index 9b7cbc06cecb41ab2bd89b0131ffd303ed8c9e3d..3143ac53f1a67e5bb1dcbb07efd413c0a31b3a1c 100644
--- a/Source/core/editing/StyledMarkupSerializer.h
+++ b/Source/core/editing/StyledMarkupSerializer.h
@@ -53,23 +53,14 @@ private:
enum class NodeTraversalMode { EmitString, DoNotEmitString };
Node* serializeNodes(Node* startNode, Node* pastEnd);
- String takeResults();
Node* traverseNodesForSerialization(Node* startNode, Node* pastEnd, NodeTraversalMode);
- // TODO(hajimehoshi): These functions should be at the accumulator.
- void wrapWithNode(ContainerNode&, StyledMarkupAccumulator::RangeFullySelectsNode = StyledMarkupAccumulator::DoesFullySelectNode);
- void wrapWithStyleNode(StylePropertySet*, bool isBlock = false);
-
- bool convertBlocksToInlines() const { return m_convertBlocksToInlines == ConvertBlocksToInlines::Convert; }
-
StyledMarkupAccumulator m_markupAccumulator;
const PositionType m_start;
const PositionType m_end;
const EAnnotateForInterchange m_shouldAnnotate;
const RefPtrWillBeMember<Node> m_highestNodeToBeSerialized;
- const ConvertBlocksToInlines m_convertBlocksToInlines;
- Vector<String> m_reversedPrecedingMarkup;
};
extern template class StyledMarkupSerializer<EditingStrategy>;
« no previous file with comments | « Source/core/editing/StyledMarkupAccumulator.cpp ('k') | Source/core/editing/StyledMarkupSerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698