| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of the XSL implementation. | 2 * This file is part of the XSL implementation. |
| 3 * | 3 * |
| 4 * Copyright (C) 2004, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| 11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
| 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
| 15 * | 15 * |
| 16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
| 17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
| 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 #include "core/xml/XSLStyleSheet.h" | 22 #include "core/xml/XSLStyleSheet.h" |
| 23 | 23 |
| 24 #include <libxml/uri.h> |
| 25 #include <libxslt/xsltutils.h> |
| 24 #include "core/dom/Document.h" | 26 #include "core/dom/Document.h" |
| 25 #include "core/dom/Node.h" | 27 #include "core/dom/Node.h" |
| 26 #include "core/dom/TransformSource.h" | 28 #include "core/dom/TransformSource.h" |
| 27 #include "core/frame/FrameHost.h" | 29 #include "core/frame/FrameHost.h" |
| 28 #include "core/frame/LocalFrame.h" | 30 #include "core/frame/LocalFrame.h" |
| 29 #include "core/xml/XSLImportRule.h" | 31 #include "core/xml/XSLImportRule.h" |
| 30 #include "core/xml/XSLTProcessor.h" | 32 #include "core/xml/XSLTProcessor.h" |
| 31 #include "core/xml/parser/XMLDocumentParserScope.h" | 33 #include "core/xml/parser/XMLDocumentParserScope.h" |
| 32 #include "core/xml/parser/XMLParserInput.h" | 34 #include "core/xml/parser/XMLParserInput.h" |
| 33 #include "wtf/text/CString.h" | 35 #include "wtf/text/CString.h" |
| 34 #include <libxml/uri.h> | |
| 35 #include <libxslt/xsltutils.h> | |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 XSLStyleSheet::XSLStyleSheet(XSLImportRule* parentRule, | 39 XSLStyleSheet::XSLStyleSheet(XSLImportRule* parentRule, |
| 40 const String& originalURL, | 40 const String& originalURL, |
| 41 const KURL& finalURL) | 41 const KURL& finalURL) |
| 42 : m_ownerNode(nullptr), | 42 : m_ownerNode(nullptr), |
| 43 m_originalURL(originalURL), | 43 m_originalURL(originalURL), |
| 44 m_finalURL(finalURL), | 44 m_finalURL(finalURL), |
| 45 m_isDisabled(false), | 45 m_isDisabled(false), |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 | 310 |
| 311 DEFINE_TRACE(XSLStyleSheet) { | 311 DEFINE_TRACE(XSLStyleSheet) { |
| 312 visitor->trace(m_ownerNode); | 312 visitor->trace(m_ownerNode); |
| 313 visitor->trace(m_children); | 313 visitor->trace(m_children); |
| 314 visitor->trace(m_parentStyleSheet); | 314 visitor->trace(m_parentStyleSheet); |
| 315 visitor->trace(m_ownerDocument); | 315 visitor->trace(m_ownerDocument); |
| 316 StyleSheet::trace(visitor); | 316 StyleSheet::trace(visitor); |
| 317 } | 317 } |
| 318 | 318 |
| 319 } // namespace blink | 319 } // namespace blink |
| OLD | NEW |