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

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

Issue 1177623005: Refactoring: Remove StyledMarkupAccumulator::m_convertBlocksToInlines (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: yosin's review (early return) 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
« 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 c56fa3c350b11eff82e5af592bc6930388b79e31..00e0879923644b5e9cd746dd8b53dc153f2514d5 100644
--- a/Source/core/editing/StyledMarkupSerializer.h
+++ b/Source/core/editing/StyledMarkupSerializer.h
@@ -50,9 +50,11 @@ public:
String createMarkup();
private:
- Node* serializeNodes(Node* startNode, Node* pastEnd, StyledMarkupAccumulator*);
+ bool convertBlocksToInlines() const { return m_convertBlocksToInlines == ConvertBlocksToInlines::Convert; }
+ Node* serializeNodes(Node* startNode, Node* pastEnd, StyledMarkupAccumulator*);
Node* traverseNodesForSerialization(Node* startNode, Node* pastEnd, StyledMarkupAccumulator*);
+ void wrapWithNode(StyledMarkupAccumulator&, ContainerNode&, StyledMarkupAccumulator::RangeFullySelectsNode);
const PositionType m_start;
const PositionType m_end;
« 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