| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CustomElementMicrotaskRunQueue_h | 5 #ifndef CustomElementMicrotaskRunQueue_h |
| 6 #define CustomElementMicrotaskRunQueue_h | 6 #define CustomElementMicrotaskRunQueue_h |
| 7 | 7 |
| 8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
| 9 #include "wtf/PassOwnPtr.h" | 9 #include "sky/engine/wtf/PassOwnPtr.h" |
| 10 #include "wtf/RefCounted.h" | 10 #include "sky/engine/wtf/RefCounted.h" |
| 11 #include "wtf/RefPtr.h" | 11 #include "sky/engine/wtf/RefPtr.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class CustomElementSyncMicrotaskQueue; | 15 class CustomElementSyncMicrotaskQueue; |
| 16 class CustomElementAsyncImportMicrotaskQueue; | 16 class CustomElementAsyncImportMicrotaskQueue; |
| 17 class CustomElementMicrotaskStep; | 17 class CustomElementMicrotaskStep; |
| 18 class HTMLImportLoader; | 18 class HTMLImportLoader; |
| 19 | 19 |
| 20 class CustomElementMicrotaskRunQueue : public RefCounted<CustomElementMicrotaskR
unQueue> { | 20 class CustomElementMicrotaskRunQueue : public RefCounted<CustomElementMicrotaskR
unQueue> { |
| 21 public: | 21 public: |
| (...skipping 12 matching lines...) Expand all Loading... |
| 34 RefPtr<CustomElementSyncMicrotaskQueue> m_syncQueue; | 34 RefPtr<CustomElementSyncMicrotaskQueue> m_syncQueue; |
| 35 RefPtr<CustomElementAsyncImportMicrotaskQueue> m_asyncQueue; | 35 RefPtr<CustomElementAsyncImportMicrotaskQueue> m_asyncQueue; |
| 36 bool m_dispatchIsPending; | 36 bool m_dispatchIsPending; |
| 37 | 37 |
| 38 base::WeakPtrFactory<CustomElementMicrotaskRunQueue> m_weakFactory; | 38 base::WeakPtrFactory<CustomElementMicrotaskRunQueue> m_weakFactory; |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 } | 41 } |
| 42 | 42 |
| 43 #endif | 43 #endif |
| OLD | NEW |