| 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 HTMLImportTreeRoot_h | 5 #ifndef HTMLImportTreeRoot_h |
| 6 #define HTMLImportTreeRoot_h | 6 #define HTMLImportTreeRoot_h |
| 7 | 7 |
| 8 #include "core/html/imports/HTMLImport.h" | 8 #include "sky/engine/core/html/imports/HTMLImport.h" |
| 9 #include "platform/Timer.h" | 9 #include "sky/engine/platform/Timer.h" |
| 10 #include "wtf/PassOwnPtr.h" | 10 #include "sky/engine/wtf/PassOwnPtr.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class HTMLImportChild; | 14 class HTMLImportChild; |
| 15 | 15 |
| 16 class HTMLImportTreeRoot : public HTMLImport { | 16 class HTMLImportTreeRoot : public HTMLImport { |
| 17 public: | 17 public: |
| 18 static PassOwnPtr<HTMLImportTreeRoot> create(Document*); | 18 static PassOwnPtr<HTMLImportTreeRoot> create(Document*); |
| 19 | 19 |
| 20 virtual ~HTMLImportTreeRoot(); | 20 virtual ~HTMLImportTreeRoot(); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 41 // List of import which has been loaded or being loaded. | 41 // List of import which has been loaded or being loaded. |
| 42 typedef Vector<OwnPtr<HTMLImportChild> > ImportList; | 42 typedef Vector<OwnPtr<HTMLImportChild> > ImportList; |
| 43 ImportList m_imports; | 43 ImportList m_imports; |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 DEFINE_TYPE_CASTS(HTMLImportTreeRoot, HTMLImport, import, import->isRoot(), impo
rt.isRoot()); | 46 DEFINE_TYPE_CASTS(HTMLImportTreeRoot, HTMLImport, import, import->isRoot(), impo
rt.isRoot()); |
| 47 | 47 |
| 48 } | 48 } |
| 49 | 49 |
| 50 #endif | 50 #endif |
| OLD | NEW |