OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights |
3 * reserved. | 3 * reserved. |
4 * Copyright (C) 2008, 2009, 2010, 2011 Google Inc. All rights reserved. | 4 * Copyright (C) 2008, 2009, 2010, 2011 Google Inc. All rights reserved. |
5 * Copyright (C) 2011 Igalia S.L. | 5 * Copyright (C) 2011 Igalia S.L. |
6 * Copyright (C) 2011 Motorola Mobility. All rights reserved. | 6 * Copyright (C) 2011 Motorola Mobility. All rights reserved. |
7 * | 7 * |
8 * Redistribution and use in source and binary forms, with or without | 8 * Redistribution and use in source and binary forms, with or without |
9 * modification, are permitted provided that the following conditions | 9 * modification, are permitted provided that the following conditions |
10 * are met: | 10 * are met: |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 53 |
54 String CreateMarkup(); | 54 String CreateMarkup(); |
55 | 55 |
56 private: | 56 private: |
57 bool ShouldAnnotate() const { | 57 bool ShouldAnnotate() const { |
58 return should_annotate_ == kAnnotateForInterchange; | 58 return should_annotate_ == kAnnotateForInterchange; |
59 } | 59 } |
60 | 60 |
61 const PositionTemplate<Strategy> start_; | 61 const PositionTemplate<Strategy> start_; |
62 const PositionTemplate<Strategy> end_; | 62 const PositionTemplate<Strategy> end_; |
63 const EAbsoluteURLs should_resolve_ur_ls_; | 63 const EAbsoluteURLs should_resolve_urls_; |
64 const EAnnotateForInterchange should_annotate_; | 64 const EAnnotateForInterchange should_annotate_; |
65 const Member<Node> highest_node_to_be_serialized_; | 65 const Member<Node> highest_node_to_be_serialized_; |
66 const ConvertBlocksToInlines convert_blocks_to_inlines_; | 66 const ConvertBlocksToInlines convert_blocks_to_inlines_; |
67 Member<Node> last_closed_; | 67 Member<Node> last_closed_; |
68 Member<EditingStyle> wrapping_style_; | 68 Member<EditingStyle> wrapping_style_; |
69 }; | 69 }; |
70 | 70 |
71 extern template class StyledMarkupSerializer<EditingStrategy>; | 71 extern template class StyledMarkupSerializer<EditingStrategy>; |
72 extern template class StyledMarkupSerializer<EditingInFlatTreeStrategy>; | 72 extern template class StyledMarkupSerializer<EditingInFlatTreeStrategy>; |
73 | 73 |
74 } // namespace blink | 74 } // namespace blink |
75 | 75 |
76 #endif // StyledMarkupSerializer_h | 76 #endif // StyledMarkupSerializer_h |
OLD | NEW |