OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "core/dom/DOMTokenList.h" | 28 #include "core/dom/DOMTokenList.h" |
29 #include "core/dom/SpaceSplitString.h" | 29 #include "core/dom/SpaceSplitString.h" |
30 #include "platform/heap/Handle.h" | 30 #include "platform/heap/Handle.h" |
31 #include "wtf/RefCounted.h" | 31 #include "wtf/RefCounted.h" |
32 #include "wtf/text/AtomicString.h" | 32 #include "wtf/text/AtomicString.h" |
33 | 33 |
34 namespace blink { | 34 namespace blink { |
35 | 35 |
36 class ExceptionState; | 36 class ExceptionState; |
37 | 37 |
38 class CORE_EXPORT DOMSettableTokenListObserver : public WillBeGarbageCollectedMi
xin { | 38 class DOMSettableTokenListObserver : public WillBeGarbageCollectedMixin { |
39 public: | 39 public: |
40 virtual void valueChanged() = 0; | 40 virtual void valueChanged() = 0; |
41 | 41 |
42 DEFINE_INLINE_VIRTUAL_TRACE() { } | 42 DEFINE_INLINE_VIRTUAL_TRACE() { } |
43 }; | 43 }; |
44 | 44 |
45 class DOMSettableTokenList final | 45 class DOMSettableTokenList final |
46 : public DOMTokenList | 46 : public DOMTokenList |
47 #if !ENABLE(OILPAN) | 47 #if !ENABLE(OILPAN) |
48 , public RefCounted<DOMSettableTokenList> | 48 , public RefCounted<DOMSettableTokenList> |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 void removeInternal(const AtomicString&) override; | 85 void removeInternal(const AtomicString&) override; |
86 | 86 |
87 AtomicString m_value; | 87 AtomicString m_value; |
88 SpaceSplitString m_tokens; | 88 SpaceSplitString m_tokens; |
89 RawPtrWillBeWeakMember<DOMSettableTokenListObserver> m_observer; | 89 RawPtrWillBeWeakMember<DOMSettableTokenListObserver> m_observer; |
90 }; | 90 }; |
91 | 91 |
92 } // namespace blink | 92 } // namespace blink |
93 | 93 |
94 #endif // DOMSettableTokenList_h | 94 #endif // DOMSettableTokenList_h |
OLD | NEW |