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

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

Issue 1177323005: Move StyledMarkupAccumulator::shouldApplyWrappingStyle to its serializer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: yosin's review 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 78460b57fd5a6c9a05e034a2b93a69388b130aa7..6631fe2d29bd7e0e6c11428ca7b8aaf54f690292 100644
--- a/Source/core/editing/StyledMarkupSerializer.h
+++ b/Source/core/editing/StyledMarkupSerializer.h
@@ -56,6 +56,9 @@ private:
void wrapWithNode(StyledMarkupAccumulator&, ContainerNode&, PassRefPtrWillBeRawPtr<EditingStyle>);
RefPtrWillBeRawPtr<EditingStyle> createInlineStyleIfNeeded(StyledMarkupAccumulator&, Node&);
bool needsInlineStyle(const Element&);
+ void appendStartMarkup(StyledMarkupAccumulator&, Node&);
+ bool shouldAnnotate() const { return m_shouldAnnotate == AnnotateForInterchange; }
yosin_UTC9 2015/06/16 08:23:56 Can we have another CL for introducing |shouldAnno
hajimehoshi 2015/06/16 08:58:17 Done. (Now committing)
+ bool shouldApplyWrappingStyle(StyledMarkupAccumulator&, const Node&) const;
const PositionType m_start;
const PositionType m_end;

Powered by Google App Engine
This is Rietveld 408576698