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

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

Issue 347473002: Fix a few header order violations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Typo Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/parser/HTMLConstructionSite.cpp ('k') | no next file » | 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.
11 * 11 *
12 * This library is distributed in the hope that it will be useful, 12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details. 15 * Library General Public License for more details.
16 * 16 *
17 * You should have received a copy of the GNU Library General Public License 17 * You should have received a copy of the GNU Library General Public License
18 * along with this library; see the file COPYING.LIB. If not, write to 18 * along with this library; see the file COPYING.LIB. If not, write to
19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA. 20 * Boston, MA 02110-1301, USA.
21 */ 21 */
22 22
23 #include "config.h" 23 #include "config.h"
24 #include "core/xml/XSLTProcessor.h" 24 #include "core/xml/XSLTProcessor.h"
25 25
26 #include <libxslt/imports.h>
27 #include <libxslt/security.h>
28 #include <libxslt/variables.h>
29 #include <libxslt/xsltutils.h>
30 #include "core/FetchInitiatorTypeNames.h" 26 #include "core/FetchInitiatorTypeNames.h"
31 #include "core/dom/Document.h" 27 #include "core/dom/Document.h"
32 #include "core/dom/TransformSource.h" 28 #include "core/dom/TransformSource.h"
33 #include "core/editing/markup.h" 29 #include "core/editing/markup.h"
34 #include "core/fetch/Resource.h" 30 #include "core/fetch/Resource.h"
35 #include "core/fetch/ResourceFetcher.h" 31 #include "core/fetch/ResourceFetcher.h"
36 #include "core/frame/FrameConsole.h" 32 #include "core/frame/FrameConsole.h"
37 #include "core/frame/FrameHost.h" 33 #include "core/frame/FrameHost.h"
38 #include "core/frame/LocalFrame.h" 34 #include "core/frame/LocalFrame.h"
39 #include "core/xml/XSLStyleSheet.h" 35 #include "core/xml/XSLStyleSheet.h"
40 #include "core/xml/XSLTExtensions.h" 36 #include "core/xml/XSLTExtensions.h"
41 #include "core/xml/XSLTUnicodeSort.h" 37 #include "core/xml/XSLTUnicodeSort.h"
42 #include "core/xml/parser/XMLDocumentParser.h" 38 #include "core/xml/parser/XMLDocumentParser.h"
43 #include "platform/SharedBuffer.h" 39 #include "platform/SharedBuffer.h"
44 #include "platform/network/ResourceError.h" 40 #include "platform/network/ResourceError.h"
45 #include "platform/network/ResourceRequest.h" 41 #include "platform/network/ResourceRequest.h"
46 #include "platform/network/ResourceResponse.h" 42 #include "platform/network/ResourceResponse.h"
47 #include "platform/weborigin/SecurityOrigin.h" 43 #include "platform/weborigin/SecurityOrigin.h"
48 #include "wtf/Assertions.h" 44 #include "wtf/Assertions.h"
49 #include "wtf/Vector.h" 45 #include "wtf/Vector.h"
50 #include "wtf/text/CString.h" 46 #include "wtf/text/CString.h"
51 #include "wtf/text/StringBuffer.h" 47 #include "wtf/text/StringBuffer.h"
52 #include "wtf/unicode/UTF8.h" 48 #include "wtf/unicode/UTF8.h"
49 #include <libxslt/imports.h>
50 #include <libxslt/security.h>
51 #include <libxslt/variables.h>
52 #include <libxslt/xsltutils.h>
53 53
54 namespace WebCore { 54 namespace WebCore {
55 55
56 void XSLTProcessor::genericErrorFunc(void*, const char*, ...) 56 void XSLTProcessor::genericErrorFunc(void*, const char*, ...)
57 { 57 {
58 // It would be nice to do something with this error message. 58 // It would be nice to do something with this error message.
59 } 59 }
60 60
61 void XSLTProcessor::parseErrorFunc(void* userData, xmlError* error) 61 void XSLTProcessor::parseErrorFunc(void* userData, xmlError* error)
62 { 62 {
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 338
339 sheet->method = origMethod; 339 sheet->method = origMethod;
340 setXSLTLoadCallBack(0, 0, 0); 340 setXSLTLoadCallBack(0, 0, 0);
341 xsltFreeStylesheet(sheet); 341 xsltFreeStylesheet(sheet);
342 m_stylesheet = nullptr; 342 m_stylesheet = nullptr;
343 343
344 return success; 344 return success;
345 } 345 }
346 346
347 } // namespace WebCore 347 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/parser/HTMLConstructionSite.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698