| 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 #include "config.h" | 5 #include "config.h" |
| 6 #include "core/html/HTMLImportElement.h" | 6 #include "core/html/HTMLImportElement.h" |
| 7 | 7 |
| 8 #include "core/dom/Document.h" | 8 #include "core/dom/Document.h" |
| 9 #include "core/fetch/FetchRequest.h" |
| 9 #include "core/html/imports/HTMLImportsController.h" | 10 #include "core/html/imports/HTMLImportsController.h" |
| 10 #include "core/html/imports/HTMLImportChild.h" | 11 #include "core/html/imports/HTMLImportChild.h" |
| 11 | 12 |
| 12 namespace blink { | 13 namespace blink { |
| 13 | 14 |
| 14 HTMLImportElement::HTMLImportElement(Document& document) | 15 HTMLImportElement::HTMLImportElement(Document& document) |
| 15 : HTMLElement(HTMLNames::importTag, document) | 16 : HTMLElement(HTMLNames::importTag, document) |
| 16 , m_child(nullptr) | 17 , m_child(nullptr) |
| 17 { | 18 { |
| 18 ScriptWrappable::init(this); | 19 ScriptWrappable::init(this); |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 { | 74 { |
| 74 return true; | 75 return true; |
| 75 } | 76 } |
| 76 | 77 |
| 77 Element* HTMLImportElement::link() | 78 Element* HTMLImportElement::link() |
| 78 { | 79 { |
| 79 return this; | 80 return this; |
| 80 } | 81 } |
| 81 | 82 |
| 82 } | 83 } |
| OLD | NEW |