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

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

Issue 1173223003: Refactoring: Remove addDisplayInline parameter of StyledMarkupAccumulator::appendElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tkent'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
« no previous file with comments | « no previous file | Source/core/editing/StyledMarkupAccumulator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/StyledMarkupAccumulator.h
diff --git a/Source/core/editing/StyledMarkupAccumulator.h b/Source/core/editing/StyledMarkupAccumulator.h
index 19add0d52eb77c8e9c1d89713c920b7628e79dda..1fd6cfaffc2b56ab470dca588db1d5e799ebed9a 100644
--- a/Source/core/editing/StyledMarkupAccumulator.h
+++ b/Source/core/editing/StyledMarkupAccumulator.h
@@ -64,18 +64,20 @@ public:
void pushMarkup(const String&);
RefPtrWillBeMember<EditingStyle> createInlineStyle(Element&);
- void appendElement(StringBuilder&, Element&, bool addDisplayInline, PassRefPtrWillBeRawPtr<EditingStyle>);
+ void appendElement(StringBuilder&, const Element&);
+ void appendElementWithInlineStyle(StringBuilder&, const Element&, PassRefPtrWillBeRawPtr<EditingStyle>);
void appendStartMarkup(StringBuilder&, Node&);
+ bool shouldApplyWrappingStyle(const Node&) const;
+
private:
void appendText(StringBuilder&, Text&);
String renderedText(Text&);
String stringValueForRange(const Text&);
- bool shouldApplyWrappingStyle(const Node&) const;
bool shouldAnnotate() const;
- void appendElement(Element&, PassRefPtrWillBeRawPtr<EditingStyle>);
+ void appendElement(const Element&, PassRefPtrWillBeRawPtr<EditingStyle>);
void appendEndMarkup(StringBuilder&, const Element&);
MarkupFormatter m_formatter;
« no previous file with comments | « no previous file | Source/core/editing/StyledMarkupAccumulator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698