| 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 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "core/editing/EditingStrategy.h" | 30 #include "core/editing/EditingStrategy.h" |
| 31 #include "core/editing/serializers/MarkupFormatter.h" | 31 #include "core/editing/serializers/MarkupFormatter.h" |
| 32 #include "core/editing/serializers/Serialization.h" | 32 #include "core/editing/serializers/Serialization.h" |
| 33 #include "wtf/HashMap.h" | 33 #include "wtf/HashMap.h" |
| 34 #include "wtf/Vector.h" | 34 #include "wtf/Vector.h" |
| 35 #include "wtf/text/StringBuilder.h" | 35 #include "wtf/text/StringBuilder.h" |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 class Attribute; | 39 class Attribute; |
| 40 class DocumentType; | |
| 41 class Element; | 40 class Element; |
| 42 class Node; | 41 class Node; |
| 43 | 42 |
| 44 class MarkupAccumulator { | 43 class MarkupAccumulator { |
| 45 WTF_MAKE_NONCOPYABLE(MarkupAccumulator); | 44 WTF_MAKE_NONCOPYABLE(MarkupAccumulator); |
| 46 STACK_ALLOCATED(); | 45 STACK_ALLOCATED(); |
| 47 | 46 |
| 48 public: | 47 public: |
| 49 MarkupAccumulator(EAbsoluteURLs, | 48 MarkupAccumulator(EAbsoluteURLs, |
| 50 SerializationType = SerializationType::AsOwnerDocument); | 49 SerializationType = SerializationType::AsOwnerDocument); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 template <typename Strategy> | 82 template <typename Strategy> |
| 84 String serializeNodes(MarkupAccumulator&, Node&, EChildrenOnly); | 83 String serializeNodes(MarkupAccumulator&, Node&, EChildrenOnly); |
| 85 | 84 |
| 86 extern template String serializeNodes<EditingStrategy>(MarkupAccumulator&, | 85 extern template String serializeNodes<EditingStrategy>(MarkupAccumulator&, |
| 87 Node&, | 86 Node&, |
| 88 EChildrenOnly); | 87 EChildrenOnly); |
| 89 | 88 |
| 90 } // namespace blink | 89 } // namespace blink |
| 91 | 90 |
| 92 #endif | 91 #endif |
| OLD | NEW |