| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 * | 7 * |
| 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 16 matching lines...) Expand all Loading... |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef V0CustomElementCallbackQueue_h | 31 #ifndef V0CustomElementCallbackQueue_h |
| 32 #define V0CustomElementCallbackQueue_h | 32 #define V0CustomElementCallbackQueue_h |
| 33 | 33 |
| 34 #include "core/dom/Element.h" | 34 #include "core/dom/Element.h" |
| 35 #include "core/dom/custom/V0CustomElementProcessingStep.h" | 35 #include "core/dom/custom/V0CustomElementProcessingStep.h" |
| 36 #include "platform/heap/Handle.h" | 36 #include "platform/heap/Handle.h" |
| 37 #include "wtf/Vector.h" | 37 #include "platform/wtf/Vector.h" |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 // FIXME: Rename this because it contains resolution and upgrade as | 41 // FIXME: Rename this because it contains resolution and upgrade as |
| 42 // well as callbacks. | 42 // well as callbacks. |
| 43 class V0CustomElementCallbackQueue | 43 class V0CustomElementCallbackQueue |
| 44 : public GarbageCollected<V0CustomElementCallbackQueue> { | 44 : public GarbageCollected<V0CustomElementCallbackQueue> { |
| 45 WTF_MAKE_NONCOPYABLE(V0CustomElementCallbackQueue); | 45 WTF_MAKE_NONCOPYABLE(V0CustomElementCallbackQueue); |
| 46 | 46 |
| 47 public: | 47 public: |
| (...skipping 24 matching lines...) Expand all Loading... |
| 72 Member<Element> element_; | 72 Member<Element> element_; |
| 73 HeapVector<Member<V0CustomElementProcessingStep>> queue_; | 73 HeapVector<Member<V0CustomElementProcessingStep>> queue_; |
| 74 ElementQueueId owner_; | 74 ElementQueueId owner_; |
| 75 size_t index_; | 75 size_t index_; |
| 76 bool in_created_callback_; | 76 bool in_created_callback_; |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 } // namespace blink | 79 } // namespace blink |
| 80 | 80 |
| 81 #endif // V0CustomElementCallbackQueue_h | 81 #endif // V0CustomElementCallbackQueue_h |
| OLD | NEW |