Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Side by Side Diff: WebCore/xml/XSLStyleSheet.h

Issue 6474050: Revert 78101 - Merge r76728, crbug 68263 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « WebCore/css/CSSStyleSheet.cpp ('k') | WebCore/xml/XSLStyleSheetLibxslt.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 *
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 virtual bool parseString(const String &string, bool strict = true); 72 virtual bool parseString(const String &string, bool strict = true);
73 73
74 virtual bool isLoading(); 74 virtual bool isLoading();
75 virtual void checkLoaded(); 75 virtual void checkLoaded();
76 76
77 void loadChildSheets(); 77 void loadChildSheets();
78 void loadChildSheet(const String& href); 78 void loadChildSheet(const String& href);
79 79
80 CachedResourceLoader* cachedResourceLoader(); 80 CachedResourceLoader* cachedResourceLoader();
81 81
82 Document* ownerDocument(); 82 Document* ownerDocument() { return m_ownerDocument; }
83 XSLStyleSheet* parentStyleSheet() const { return m_parentStyleSheet; }
84 void setParentStyleSheet(XSLStyleSheet* parent); 83 void setParentStyleSheet(XSLStyleSheet* parent);
85 84
86 #if USE(QXMLQUERY) 85 #if USE(QXMLQUERY)
87 String sheetString() const { return m_sheetString; } 86 String sheetString() const { return m_sheetString; }
88 #else 87 #else
89 xmlDocPtr document(); 88 xmlDocPtr document();
90 xsltStylesheetPtr compileStyleSheet(); 89 xsltStylesheetPtr compileStyleSheet();
91 xmlDocPtr locateStylesheetSubResource(xmlDocPtr parentDoc, const xmlChar* ur i); 90 xmlDocPtr locateStylesheetSubResource(xmlDocPtr parentDoc, const xmlChar* ur i);
92 #endif 91 #endif
93 92
(...skipping 20 matching lines...) Expand all
114 #endif 113 #endif
115 114
116 XSLStyleSheet* m_parentStyleSheet; 115 XSLStyleSheet* m_parentStyleSheet;
117 }; 116 };
118 117
119 } // namespace WebCore 118 } // namespace WebCore
120 119
121 #endif // ENABLE(XSLT) 120 #endif // ENABLE(XSLT)
122 121
123 #endif // XSLStyleSheet_h 122 #endif // XSLStyleSheet_h
OLDNEW
« no previous file with comments | « WebCore/css/CSSStyleSheet.cpp ('k') | WebCore/xml/XSLStyleSheetLibxslt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698