| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "core/dom/FrameRequestCallbackCollection.h" | 5 #include "core/dom/FrameRequestCallbackCollection.h" |
| 6 | 6 |
| 7 #include "core/dom/FrameRequestCallback.h" | 7 #include "core/dom/FrameRequestCallback.h" |
| 8 #include "core/inspector/InspectorInstrumentation.h" | |
| 9 #include "core/inspector/InspectorTraceEvents.h" | 8 #include "core/inspector/InspectorTraceEvents.h" |
| 9 #include "core/probe/CoreProbes.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 FrameRequestCallbackCollection::FrameRequestCallbackCollection( | 13 FrameRequestCallbackCollection::FrameRequestCallbackCollection( |
| 14 ExecutionContext* context) | 14 ExecutionContext* context) |
| 15 : m_context(context) {} | 15 : m_context(context) {} |
| 16 | 16 |
| 17 FrameRequestCallbackCollection::CallbackId | 17 FrameRequestCallbackCollection::CallbackId |
| 18 FrameRequestCallbackCollection::registerCallback( | 18 FrameRequestCallbackCollection::registerCallback( |
| 19 FrameRequestCallback* callback) { | 19 FrameRequestCallback* callback) { |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 m_callbacksToInvoke.clear(); | 82 m_callbacksToInvoke.clear(); |
| 83 } | 83 } |
| 84 | 84 |
| 85 DEFINE_TRACE(FrameRequestCallbackCollection) { | 85 DEFINE_TRACE(FrameRequestCallbackCollection) { |
| 86 visitor->trace(m_callbacks); | 86 visitor->trace(m_callbacks); |
| 87 visitor->trace(m_callbacksToInvoke); | 87 visitor->trace(m_callbacksToInvoke); |
| 88 visitor->trace(m_context); | 88 visitor->trace(m_context); |
| 89 } | 89 } |
| 90 | 90 |
| 91 } // namespace blink | 91 } // namespace blink |
| OLD | NEW |