Chromium Code Reviews| 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 20 matching lines...) Expand all Loading... | |
| 31 #include "config.h" | 31 #include "config.h" |
| 32 #include "core/dom/custom/CustomElementScheduler.h" | 32 #include "core/dom/custom/CustomElementScheduler.h" |
| 33 | 33 |
| 34 #include "core/dom/Document.h" | 34 #include "core/dom/Document.h" |
| 35 #include "core/dom/Element.h" | 35 #include "core/dom/Element.h" |
| 36 #include "core/dom/custom/CustomElementCallbackDispatcher.h" | 36 #include "core/dom/custom/CustomElementCallbackDispatcher.h" |
| 37 #include "core/dom/custom/CustomElementCallbackInvocation.h" | 37 #include "core/dom/custom/CustomElementCallbackInvocation.h" |
| 38 #include "core/dom/custom/CustomElementLifecycleCallbacks.h" | 38 #include "core/dom/custom/CustomElementLifecycleCallbacks.h" |
| 39 #include "core/dom/custom/CustomElementMicrotaskDispatcher.h" | 39 #include "core/dom/custom/CustomElementMicrotaskDispatcher.h" |
| 40 #include "core/dom/custom/CustomElementMicrotaskImportStep.h" | 40 #include "core/dom/custom/CustomElementMicrotaskImportStep.h" |
| 41 #include "core/dom/custom/CustomElementMicrotaskQueue.h" | |
| 42 #include "core/dom/custom/CustomElementMicrotaskResolutionStep.h" | 41 #include "core/dom/custom/CustomElementMicrotaskResolutionStep.h" |
| 42 #include "core/dom/custom/CustomElementPendingMicrotaskSet.h" | |
|
dominicc (has gone to gerrit)
2014/06/18 00:11:28
Was this a spurious include? What needs this in he
Hajime Morrita
2014/06/18 00:57:06
Done.
| |
| 43 #include "core/dom/custom/CustomElementRegistrationContext.h" | 43 #include "core/dom/custom/CustomElementRegistrationContext.h" |
| 44 #include "core/html/imports/HTMLImportChild.h" | 44 #include "core/html/imports/HTMLImportChild.h" |
| 45 | 45 |
| 46 namespace WebCore { | 46 namespace WebCore { |
| 47 | 47 |
| 48 DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(CustomElementScheduler) | 48 DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(CustomElementScheduler) |
| 49 | 49 |
| 50 void CustomElementScheduler::scheduleCallback(PassRefPtr<CustomElementLifecycleC allbacks> callbacks, PassRefPtrWillBeRawPtr<Element> element, CustomElementLifec ycleCallbacks::CallbackType type) | 50 void CustomElementScheduler::scheduleCallback(PassRefPtr<CustomElementLifecycleC allbacks> callbacks, PassRefPtrWillBeRawPtr<Element> element, CustomElementLifec ycleCallbacks::CallbackType type) |
| 51 { | 51 { |
| 52 ASSERT(type != CustomElementLifecycleCallbacks::AttributeChanged); | 52 ASSERT(type != CustomElementLifecycleCallbacks::AttributeChanged); |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 147 CustomElementMicrotaskDispatcher::instance().enqueue(&callbackQueue); | 147 CustomElementMicrotaskDispatcher::instance().enqueue(&callbackQueue); |
| 148 return callbackQueue; | 148 return callbackQueue; |
| 149 } | 149 } |
| 150 | 150 |
| 151 void CustomElementScheduler::trace(Visitor* visitor) | 151 void CustomElementScheduler::trace(Visitor* visitor) |
| 152 { | 152 { |
| 153 visitor->trace(m_elementCallbackQueueMap); | 153 visitor->trace(m_elementCallbackQueueMap); |
| 154 } | 154 } |
| 155 | 155 |
| 156 } // namespace WebCore | 156 } // namespace WebCore |
| OLD | NEW |