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

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

Issue 1159033006: Refactoring: Replace boolean parameters with enum classes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rename values 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..e98fa3644d8cf75bff3bf98457ec8f03fdab8aa7 100644
--- a/Source/core/editing/StyledMarkupSerializer.h
+++ b/Source/core/editing/StyledMarkupSerializer.h
@@ -58,8 +58,8 @@ private:
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);
+ void wrapWithNode(ContainerNode&, RangeFullySelectsNode = RangeFullySelectsNode::DoesSelect);
+ void wrapWithStyleNode(StylePropertySet*, StyleTagType = StyleTagType::Inline);
bool convertBlocksToInlines() const { return m_convertBlocksToInlines == ConvertBlocksToInlines::Convert; }
« 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