| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) | 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) |
| 3 * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved. | 3 * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
| 14 * | 14 * |
| 15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
| 16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
| 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
| 19 */ | 19 */ |
| 20 | 20 |
| 21 #include "core/dom/ProcessingInstruction.h" | 21 #include "core/dom/ProcessingInstruction.h" |
| 22 | 22 |
| 23 #include "core/css/CSSStyleSheet.h" | 23 #include "core/css/CSSStyleSheet.h" |
| 24 #include "core/css/MediaList.h" | 24 #include "core/css/MediaList.h" |
| 25 #include "core/css/StyleSheetContents.h" | 25 #include "core/css/StyleSheetContents.h" |
| 26 #include "core/dom/Document.h" | 26 #include "core/dom/Document.h" |
| 27 #include "core/dom/IncrementLoadEventDelayCount.h" | 27 #include "core/dom/IncrementLoadEventDelayCount.h" |
| 28 #include "core/dom/StyleEngine.h" | 28 #include "core/dom/StyleEngine.h" |
| 29 #include "core/fetch/CSSStyleSheetResource.h" | |
| 30 #include "core/fetch/FetchInitiatorTypeNames.h" | 29 #include "core/fetch/FetchInitiatorTypeNames.h" |
| 31 #include "core/fetch/FetchRequest.h" | 30 #include "core/fetch/FetchRequest.h" |
| 32 #include "core/fetch/ResourceFetcher.h" | 31 #include "core/fetch/ResourceFetcher.h" |
| 32 #include "core/loader/resource/CSSStyleSheetResource.h" |
| 33 #include "core/loader/resource/XSLStyleSheetResource.h" | 33 #include "core/loader/resource/XSLStyleSheetResource.h" |
| 34 #include "core/xml/DocumentXSLT.h" | 34 #include "core/xml/DocumentXSLT.h" |
| 35 #include "core/xml/XSLStyleSheet.h" | 35 #include "core/xml/XSLStyleSheet.h" |
| 36 #include "core/xml/parser/XMLDocumentParser.h" // for parseAttributes() | 36 #include "core/xml/parser/XMLDocumentParser.h" // for parseAttributes() |
| 37 #include <memory> | 37 #include <memory> |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 inline ProcessingInstruction::ProcessingInstruction(Document& document, | 41 inline ProcessingInstruction::ProcessingInstruction(Document& document, |
| 42 const String& target, | 42 const String& target, |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 } | 296 } |
| 297 | 297 |
| 298 DEFINE_TRACE(ProcessingInstruction) { | 298 DEFINE_TRACE(ProcessingInstruction) { |
| 299 visitor->trace(m_sheet); | 299 visitor->trace(m_sheet); |
| 300 visitor->trace(m_listenerForXSLT); | 300 visitor->trace(m_listenerForXSLT); |
| 301 CharacterData::trace(visitor); | 301 CharacterData::trace(visitor); |
| 302 ResourceOwner<StyleSheetResource>::trace(visitor); | 302 ResourceOwner<StyleSheetResource>::trace(visitor); |
| 303 } | 303 } |
| 304 | 304 |
| 305 } // namespace blink | 305 } // namespace blink |
| OLD | NEW |