| 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, 2006, 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2006, 2008 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 | 22 |
| 23 #ifndef XSLImportRule_h | 23 #ifndef XSLImportRule_h |
| 24 #define XSLImportRule_h | 24 #define XSLImportRule_h |
| 25 | 25 |
| 26 #include "RuntimeEnabledFeatures.h" | |
| 27 #include "core/fetch/ResourcePtr.h" | 26 #include "core/fetch/ResourcePtr.h" |
| 28 #include "core/fetch/StyleSheetResourceClient.h" | 27 #include "core/fetch/StyleSheetResourceClient.h" |
| 29 #include "core/xml/XSLStyleSheet.h" | 28 #include "core/xml/XSLStyleSheet.h" |
| 29 #include "platform/RuntimeEnabledFeatures.h" |
| 30 #include "wtf/PassOwnPtr.h" | 30 #include "wtf/PassOwnPtr.h" |
| 31 | 31 |
| 32 namespace WebCore { | 32 namespace WebCore { |
| 33 | 33 |
| 34 class XSLStyleSheetResource; | 34 class XSLStyleSheetResource; |
| 35 | 35 |
| 36 class XSLImportRule FINAL : public NoBaseWillBeGarbageCollectedFinalized<XSLImpo
rtRule>, private StyleSheetResourceClient { | 36 class XSLImportRule FINAL : public NoBaseWillBeGarbageCollectedFinalized<XSLImpo
rtRule>, private StyleSheetResourceClient { |
| 37 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | 37 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
| 38 public: | 38 public: |
| 39 static PassOwnPtrWillBeRawPtr<XSLImportRule> create(XSLStyleSheet* parentShe
et, const String& href) | 39 static PassOwnPtrWillBeRawPtr<XSLImportRule> create(XSLStyleSheet* parentShe
et, const String& href) |
| (...skipping 22 matching lines...) Expand all Loading... |
| 62 RawPtrWillBeMember<XSLStyleSheet> m_parentStyleSheet; | 62 RawPtrWillBeMember<XSLStyleSheet> m_parentStyleSheet; |
| 63 String m_strHref; | 63 String m_strHref; |
| 64 RefPtrWillBeMember<XSLStyleSheet> m_styleSheet; | 64 RefPtrWillBeMember<XSLStyleSheet> m_styleSheet; |
| 65 ResourcePtr<XSLStyleSheetResource> m_resource; | 65 ResourcePtr<XSLStyleSheetResource> m_resource; |
| 66 bool m_loading; | 66 bool m_loading; |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 } // namespace WebCore | 69 } // namespace WebCore |
| 70 | 70 |
| 71 #endif // XSLImportRule_h | 71 #endif // XSLImportRule_h |
| OLD | NEW |