| 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 17 matching lines...) Expand all Loading... |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #ifndef StyledMarkupSerializer_h | 30 #ifndef StyledMarkupSerializer_h |
| 31 #define StyledMarkupSerializer_h | 31 #define StyledMarkupSerializer_h |
| 32 | 32 |
| 33 #include "core/dom/NodeTraversal.h" | 33 #include "core/dom/NodeTraversal.h" |
| 34 #include "core/editing/EditingStrategy.h" | 34 #include "core/editing/EditingStrategy.h" |
| 35 #include "core/editing/EditingStyle.h" | 35 #include "core/editing/EditingStyle.h" |
| 36 #include "core/editing/Position.h" | 36 #include "core/editing/Position.h" |
| 37 #include "core/editing/serializers/StyledMarkupAccumulator.h" | 37 #include "core/editing/serializers/StyledMarkupAccumulator.h" |
| 38 #include "wtf/Forward.h" | 38 #include "platform/wtf/Forward.h" |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| 42 template <typename Strategy> | 42 template <typename Strategy> |
| 43 class StyledMarkupSerializer final { | 43 class StyledMarkupSerializer final { |
| 44 STACK_ALLOCATED(); | 44 STACK_ALLOCATED(); |
| 45 | 45 |
| 46 public: | 46 public: |
| 47 StyledMarkupSerializer(EAbsoluteURLs, | 47 StyledMarkupSerializer(EAbsoluteURLs, |
| 48 EAnnotateForInterchange, | 48 EAnnotateForInterchange, |
| (...skipping 18 matching lines...) Expand all Loading... |
| 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 |