Chromium Code Reviews| Index: Source/core/editing/StyledMarkupAccumulator.h |
| diff --git a/Source/core/editing/StyledMarkupAccumulator.h b/Source/core/editing/StyledMarkupAccumulator.h |
| index 8857e8df8e2f1d1f766b34e76456162a6b719e79..695964f326327fdfdfe8737823f958c50584a9fe 100644 |
| --- a/Source/core/editing/StyledMarkupAccumulator.h |
| +++ b/Source/core/editing/StyledMarkupAccumulator.h |
| @@ -80,9 +80,6 @@ public: |
| Node* highestNodeToBeSerialized() { return m_highestNodeToBeSerialized.get(); } |
| void setHighestNodeToBeSerialized(Node* highestNodeToBeSerialized) { m_highestNodeToBeSerialized = highestNodeToBeSerialized; } |
| void setWrappingStyle(PassRefPtrWillBeRawPtr<EditingStyle> wrappingStyle) { m_wrappingStyle = wrappingStyle; } |
| - bool shouldAnnotate() const { return m_shouldAnnotate == AnnotateForInterchange || m_shouldAnnotate == AnnotateForNavigationTransition; } |
| - bool shouldAnnotateForNavigationTransition() const { return m_shouldAnnotate == AnnotateForNavigationTransition; } |
| - bool shouldAnnotateForInterchange() const { return m_shouldAnnotate == AnnotateForInterchange; } |
| size_t length() const { return m_accumulator.length(); } |
| void concatenateMarkup(StringBuilder&) const; |
| @@ -95,6 +92,8 @@ private: |
| bool shouldApplyWrappingStyle(const Node&) const; |
| + bool shouldAnnotate() const { return m_shouldAnnotate == AnnotateForInterchange || m_shouldAnnotate == AnnotateForNavigationTransition; } |
|
yosin_UTC9
2015/05/18 08:49:35
Let's implement this function in .cpp file:
http:/
hajimehoshi
2015/05/18 09:46:25
Done.
|
| + |
| MarkupAccumulator m_accumulator; |
| const TextOffset m_start; |
| const TextOffset m_end; |