| 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 "config.h" | 21 #include "config.h" |
| 22 #include "core/dom/ProcessingInstruction.h" | 22 #include "core/dom/ProcessingInstruction.h" |
| 23 | 23 |
| 24 #include "core/css/CSSStyleSheet.h" | 24 #include "core/css/CSSStyleSheet.h" |
| 25 #include "core/css/CSSStyleSheetResource.h" |
| 25 #include "core/css/MediaList.h" | 26 #include "core/css/MediaList.h" |
| 26 #include "core/css/StyleSheetContents.h" | 27 #include "core/css/StyleSheetContents.h" |
| 27 #include "core/dom/Document.h" | 28 #include "core/dom/Document.h" |
| 28 #include "core/dom/IncrementLoadEventDelayCount.h" | 29 #include "core/dom/IncrementLoadEventDelayCount.h" |
| 29 #include "core/dom/StyleEngine.h" | 30 #include "core/dom/StyleEngine.h" |
| 30 #include "core/fetch/CSSStyleSheetResource.h" | |
| 31 #include "core/fetch/FetchInitiatorTypeNames.h" | 31 #include "core/fetch/FetchInitiatorTypeNames.h" |
| 32 #include "core/fetch/FetchRequest.h" | 32 #include "core/fetch/FetchRequest.h" |
| 33 #include "core/fetch/ResourceFetcher.h" | 33 #include "core/fetch/ResourceFetcher.h" |
| 34 #include "core/fetch/XSLStyleSheetResource.h" | |
| 35 #include "core/xml/DocumentXSLT.h" | 34 #include "core/xml/DocumentXSLT.h" |
| 36 #include "core/xml/XSLStyleSheet.h" | 35 #include "core/xml/XSLStyleSheet.h" |
| 36 #include "core/xml/XSLStyleSheetResource.h" |
| 37 #include "core/xml/parser/XMLDocumentParser.h" // for parseAttributes() | 37 #include "core/xml/parser/XMLDocumentParser.h" // for parseAttributes() |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 inline ProcessingInstruction::ProcessingInstruction(Document& document, const St
ring& target, const String& data) | 41 inline ProcessingInstruction::ProcessingInstruction(Document& document, const St
ring& target, const String& data) |
| 42 : CharacterData(document, data, CreateOther) | 42 : CharacterData(document, data, CreateOther) |
| 43 , m_target(target) | 43 , m_target(target) |
| 44 , m_loading(false) | 44 , m_loading(false) |
| 45 , m_alternate(false) | 45 , m_alternate(false) |
| 46 , m_createdByParser(false) | 46 , m_createdByParser(false) |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 m_sheet.release()->clearOwnerNode(); | 315 m_sheet.release()->clearOwnerNode(); |
| 316 } | 316 } |
| 317 | 317 |
| 318 DEFINE_TRACE(ProcessingInstruction) | 318 DEFINE_TRACE(ProcessingInstruction) |
| 319 { | 319 { |
| 320 visitor->trace(m_sheet); | 320 visitor->trace(m_sheet); |
| 321 CharacterData::trace(visitor); | 321 CharacterData::trace(visitor); |
| 322 } | 322 } |
| 323 | 323 |
| 324 } // namespace | 324 } // namespace |
| OLD | NEW |