| 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 "ProcessingInstruction.h" | 22 #include "ProcessingInstruction.h" |
| 23 | 23 |
| 24 #include "CSSStyleSheet.h" | 24 #include "CSSStyleSheet.h" |
| 25 #include "CachedCSSStyleSheet.h" | |
| 26 #include "CachedResourceLoader.h" | |
| 27 #include "CachedResourceRequest.h" | |
| 28 #include "CachedXSLStyleSheet.h" | |
| 29 #include "Document.h" | 25 #include "Document.h" |
| 30 #include "DocumentStyleSheetCollection.h" | 26 #include "DocumentStyleSheetCollection.h" |
| 31 #include "ExceptionCode.h" | 27 #include "ExceptionCode.h" |
| 32 #include "Frame.h" | 28 #include "Frame.h" |
| 33 #include "MediaList.h" | 29 #include "MediaList.h" |
| 34 #include "StyleSheetContents.h" | 30 #include "StyleSheetContents.h" |
| 35 #include "XMLDocumentParser.h" // for parseAttributes() | 31 #include "XMLDocumentParser.h" // for parseAttributes() |
| 36 #include "XSLStyleSheet.h" | 32 #include "XSLStyleSheet.h" |
| 37 #include "core/loader/FrameLoader.h" | 33 #include "core/loader/FrameLoader.h" |
| 34 #include "core/loader/cache/CachedCSSStyleSheet.h" |
| 35 #include "core/loader/cache/CachedResourceLoader.h" |
| 36 #include "core/loader/cache/CachedResourceRequest.h" |
| 37 #include "core/loader/cache/CachedXSLStyleSheet.h" |
| 38 | 38 |
| 39 namespace WebCore { | 39 namespace WebCore { |
| 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 : Node(document, CreateOther) | 42 : Node(document, CreateOther) |
| 43 , m_target(target) | 43 , m_target(target) |
| 44 , m_data(data) | 44 , m_data(data) |
| 45 , m_cachedSheet(0) | 45 , m_cachedSheet(0) |
| 46 , m_loading(false) | 46 , m_loading(false) |
| 47 , m_alternate(false) | 47 , m_alternate(false) |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 document()->styleResolverChanged(DeferRecalcStyle); | 305 document()->styleResolverChanged(DeferRecalcStyle); |
| 306 } | 306 } |
| 307 | 307 |
| 308 void ProcessingInstruction::finishParsingChildren() | 308 void ProcessingInstruction::finishParsingChildren() |
| 309 { | 309 { |
| 310 m_createdByParser = false; | 310 m_createdByParser = false; |
| 311 Node::finishParsingChildren(); | 311 Node::finishParsingChildren(); |
| 312 } | 312 } |
| 313 | 313 |
| 314 } // namespace | 314 } // namespace |
| OLD | NEW |