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

Side by Side Diff: Source/core/xml/XSLTProcessor.cpp

Issue 54053006: Move weborigin/ under platform/ so that it may someday call platform APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Stale refernence to weboriginexport in .gpyi Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/xml/XMLHttpRequest.cpp ('k') | Source/core/xml/XSLTProcessorLibxslt.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, 2005, 2006, 2007, 2008 Apple, Inc. All rights reserved. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple, Inc. All rights reserved.
5 * Copyright (C) 2005, 2006 Alexey Proskuryakov <ap@webkit.org> 5 * Copyright (C) 2005, 2006 Alexey Proskuryakov <ap@webkit.org>
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 12 matching lines...) Expand all
23 #include "config.h" 23 #include "config.h"
24 #include "core/xml/XSLTProcessor.h" 24 #include "core/xml/XSLTProcessor.h"
25 25
26 #include "core/dom/DOMImplementation.h" 26 #include "core/dom/DOMImplementation.h"
27 #include "core/dom/DocumentFragment.h" 27 #include "core/dom/DocumentFragment.h"
28 #include "core/editing/markup.h" 28 #include "core/editing/markup.h"
29 #include "core/frame/ContentSecurityPolicy.h" 29 #include "core/frame/ContentSecurityPolicy.h"
30 #include "core/frame/DOMWindow.h" 30 #include "core/frame/DOMWindow.h"
31 #include "core/frame/Frame.h" 31 #include "core/frame/Frame.h"
32 #include "core/frame/FrameView.h" 32 #include "core/frame/FrameView.h"
33 #include "weborigin/SecurityOrigin.h" 33 #include "platform/weborigin/SecurityOrigin.h"
34 #include "wtf/Assertions.h" 34 #include "wtf/Assertions.h"
35 #include "wtf/Vector.h" 35 #include "wtf/Vector.h"
36 36
37 namespace WebCore { 37 namespace WebCore {
38 38
39 static inline void transformTextStringToXHTMLDocumentString(String& text) 39 static inline void transformTextStringToXHTMLDocumentString(String& text)
40 { 40 {
41 // Modify the output so that it is a well-formed XHTML document with a <pre> tag enclosing the text. 41 // Modify the output so that it is a well-formed XHTML document with a <pre> tag enclosing the text.
42 text.replaceWithLiteral('&', "&amp;"); 42 text.replaceWithLiteral('&', "&amp;");
43 text.replaceWithLiteral('<', "&lt;"); 43 text.replaceWithLiteral('<', "&lt;");
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 } 148 }
149 149
150 void XSLTProcessor::reset() 150 void XSLTProcessor::reset()
151 { 151 {
152 m_stylesheet.clear(); 152 m_stylesheet.clear();
153 m_stylesheetRootNode.clear(); 153 m_stylesheetRootNode.clear();
154 m_parameters.clear(); 154 m_parameters.clear();
155 } 155 }
156 156
157 } // namespace WebCore 157 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/xml/XMLHttpRequest.cpp ('k') | Source/core/xml/XSLTProcessorLibxslt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698