| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 #include "bindings/core/v8/ScriptWrappable.h" | 34 #include "bindings/core/v8/ScriptWrappable.h" |
| 35 #include "platform/heap/Handle.h" | 35 #include "platform/heap/Handle.h" |
| 36 #include "wtf/text/WTFString.h" | 36 #include "wtf/text/WTFString.h" |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 class Node; | 40 class Node; |
| 41 class QualifiedName; | 41 class QualifiedName; |
| 42 template <typename NodeType> class StaticNodeTypeList; | 42 template <typename NodeType> class StaticNodeTypeList; |
| 43 typedef StaticNodeTypeList<Node> StaticNodeList; | 43 using StaticNodeList = StaticNodeTypeList<Node>; |
| 44 | 44 |
| 45 class MutationRecord : public GarbageCollectedFinalized<MutationRecord>, public
ScriptWrappable { | 45 class MutationRecord : public GarbageCollectedFinalized<MutationRecord>, public
ScriptWrappable { |
| 46 DEFINE_WRAPPERTYPEINFO(); | 46 DEFINE_WRAPPERTYPEINFO(); |
| 47 public: | 47 public: |
| 48 static MutationRecord* createChildList(Node* target, StaticNodeList* added,
StaticNodeList* removed, Node* previousSibling, Node* nextSibling); | 48 static MutationRecord* createChildList(Node* target, StaticNodeList* added,
StaticNodeList* removed, Node* previousSibling, Node* nextSibling); |
| 49 static MutationRecord* createAttributes(Node* target, const QualifiedName&,
const AtomicString& oldValue); | 49 static MutationRecord* createAttributes(Node* target, const QualifiedName&,
const AtomicString& oldValue); |
| 50 static MutationRecord* createCharacterData(Node* target, const String& oldVa
lue); | 50 static MutationRecord* createCharacterData(Node* target, const String& oldVa
lue); |
| 51 static MutationRecord* createWithNullOldValue(MutationRecord*); | 51 static MutationRecord* createWithNullOldValue(MutationRecord*); |
| 52 | 52 |
| 53 MutationRecord() { } | 53 MutationRecord() { } |
| (...skipping 13 matching lines...) Expand all Loading... |
| 67 | 67 |
| 68 virtual String oldValue() { return String(); } | 68 virtual String oldValue() { return String(); } |
| 69 | 69 |
| 70 DEFINE_INLINE_VIRTUAL_TRACE() { } | 70 DEFINE_INLINE_VIRTUAL_TRACE() { } |
| 71 | 71 |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace blink | 74 } // namespace blink |
| 75 | 75 |
| 76 #endif // MutationRecord_h | 76 #endif // MutationRecord_h |
| OLD | NEW |