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

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

Issue 2812013004: Rewrite references to "wtf/" to "platform/wtf/" in core/{dom,html,xml}. (Closed)
Patch Set: Created 3 years, 8 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
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 15 matching lines...) Expand all
26 #include "core/dom/DocumentEncodingData.h" 26 #include "core/dom/DocumentEncodingData.h"
27 #include "core/dom/DocumentFragment.h" 27 #include "core/dom/DocumentFragment.h"
28 #include "core/editing/serializers/Serialization.h" 28 #include "core/editing/serializers/Serialization.h"
29 #include "core/frame/FrameView.h" 29 #include "core/frame/FrameView.h"
30 #include "core/frame/LocalDOMWindow.h" 30 #include "core/frame/LocalDOMWindow.h"
31 #include "core/frame/LocalFrame.h" 31 #include "core/frame/LocalFrame.h"
32 #include "core/frame/LocalFrameClient.h" 32 #include "core/frame/LocalFrameClient.h"
33 #include "core/frame/csp/ContentSecurityPolicy.h" 33 #include "core/frame/csp/ContentSecurityPolicy.h"
34 #include "core/xml/DocumentXSLT.h" 34 #include "core/xml/DocumentXSLT.h"
35 #include "platform/weborigin/SecurityOrigin.h" 35 #include "platform/weborigin/SecurityOrigin.h"
36 #include "wtf/Assertions.h" 36 #include "platform/wtf/Assertions.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 static inline void TransformTextStringToXHTMLDocumentString(String& text) { 40 static inline void TransformTextStringToXHTMLDocumentString(String& text) {
41 // Modify the output so that it is a well-formed XHTML document with a <pre> 41 // Modify the output so that it is a well-formed XHTML document with a <pre>
42 // tag enclosing the text. 42 // tag enclosing the text.
43 text.Replace('&', "&amp;"); 43 text.Replace('&', "&amp;");
44 text.Replace('<', "&lt;"); 44 text.Replace('<', "&lt;");
45 text = 45 text =
46 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" 46 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 parameters_.Clear(); 167 parameters_.Clear();
168 } 168 }
169 169
170 DEFINE_TRACE(XSLTProcessor) { 170 DEFINE_TRACE(XSLTProcessor) {
171 visitor->Trace(stylesheet_); 171 visitor->Trace(stylesheet_);
172 visitor->Trace(stylesheet_root_node_); 172 visitor->Trace(stylesheet_root_node_);
173 visitor->Trace(document_); 173 visitor->Trace(document_);
174 } 174 }
175 175
176 } // namespace blink 176 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/xml/XSLTProcessor.h ('k') | third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698