| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
| 3 * Copyright (C) 2008, 2009, 2010, 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009, 2010, 2011 Google Inc. All rights reserved. |
| 4 * Copyright (C) 2011 Igalia S.L. | 4 * Copyright (C) 2011 Igalia S.L. |
| 5 * Copyright (C) 2011 Motorola Mobility. All rights reserved. | 5 * Copyright (C) 2011 Motorola Mobility. All rights reserved. |
| 6 * | 6 * |
| 7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
| 8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
| 9 * are met: | 9 * are met: |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 55 |
| 56 Node* traverseNodesForSerialization(Node* startNode, Node* pastEnd, NodeTrav
ersalMode); | 56 Node* traverseNodesForSerialization(Node* startNode, Node* pastEnd, NodeTrav
ersalMode); |
| 57 | 57 |
| 58 // TODO(hajimehoshi): These functions should be at the accumulator. | 58 // TODO(hajimehoshi): These functions should be at the accumulator. |
| 59 void wrapWithNode(ContainerNode&, bool convertBlocksToInlines = false, Style
dMarkupAccumulator::RangeFullySelectsNode = StyledMarkupAccumulator::DoesFullySe
lectNode); | 59 void wrapWithNode(ContainerNode&, bool convertBlocksToInlines = false, Style
dMarkupAccumulator::RangeFullySelectsNode = StyledMarkupAccumulator::DoesFullySe
lectNode); |
| 60 void wrapWithStyleNode(StylePropertySet*, bool isBlock = false); | 60 void wrapWithStyleNode(StylePropertySet*, bool isBlock = false); |
| 61 | 61 |
| 62 StyledMarkupAccumulator m_markupAccumulator; | 62 StyledMarkupAccumulator m_markupAccumulator; |
| 63 const PositionType m_start; | 63 const PositionType m_start; |
| 64 const PositionType m_end; | 64 const PositionType m_end; |
| 65 const EAnnotateForInterchange m_shouldAnnotate; |
| 65 Vector<String> m_reversedPrecedingMarkup; | 66 Vector<String> m_reversedPrecedingMarkup; |
| 66 }; | 67 }; |
| 67 | 68 |
| 68 extern template class StyledMarkupSerializer<EditingStrategy>; | 69 extern template class StyledMarkupSerializer<EditingStrategy>; |
| 69 | 70 |
| 70 } // namespace blink | 71 } // namespace blink |
| 71 | 72 |
| 72 #endif // StyledMarkupSerializer_h | 73 #endif // StyledMarkupSerializer_h |
| OLD | NEW |