| 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 18 matching lines...) Expand all Loading... |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef MutationObserverRegistration_h | 31 #ifndef MutationObserverRegistration_h |
| 32 #define MutationObserverRegistration_h | 32 #define MutationObserverRegistration_h |
| 33 | 33 |
| 34 #include "bindings/core/v8/ScriptWrappable.h" | 34 #include "bindings/core/v8/ScriptWrappable.h" |
| 35 #include "bindings/core/v8/TraceWrapperMember.h" | 35 #include "bindings/core/v8/TraceWrapperMember.h" |
| 36 #include "core/CoreExport.h" | 36 #include "core/CoreExport.h" |
| 37 #include "core/dom/MutationObserver.h" | 37 #include "core/dom/MutationObserver.h" |
| 38 #include "platform/heap/Handle.h" | 38 #include "platform/heap/Handle.h" |
| 39 #include "wtf/HashSet.h" | 39 #include "platform/wtf/HashSet.h" |
| 40 #include "wtf/text/AtomicString.h" | 40 #include "platform/wtf/text/AtomicString.h" |
| 41 #include "wtf/text/AtomicStringHash.h" | 41 #include "platform/wtf/text/AtomicStringHash.h" |
| 42 | 42 |
| 43 namespace blink { | 43 namespace blink { |
| 44 | 44 |
| 45 class QualifiedName; | 45 class QualifiedName; |
| 46 | 46 |
| 47 class CORE_EXPORT MutationObserverRegistration final | 47 class CORE_EXPORT MutationObserverRegistration final |
| 48 : public GarbageCollectedFinalized<MutationObserverRegistration>, | 48 : public GarbageCollectedFinalized<MutationObserverRegistration>, |
| 49 public TraceWrapperBase { | 49 public TraceWrapperBase { |
| 50 public: | 50 public: |
| 51 static MutationObserverRegistration* Create( | 51 static MutationObserverRegistration* Create( |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 typedef HeapHashSet<Member<Node>> NodeHashSet; | 98 typedef HeapHashSet<Member<Node>> NodeHashSet; |
| 99 Member<NodeHashSet> transient_registration_nodes_; | 99 Member<NodeHashSet> transient_registration_nodes_; |
| 100 | 100 |
| 101 MutationObserverOptions options_; | 101 MutationObserverOptions options_; |
| 102 HashSet<AtomicString> attribute_filter_; | 102 HashSet<AtomicString> attribute_filter_; |
| 103 }; | 103 }; |
| 104 | 104 |
| 105 } // namespace blink | 105 } // namespace blink |
| 106 | 106 |
| 107 #endif // MutationObserverRegistration_h | 107 #endif // MutationObserverRegistration_h |
| OLD | NEW |