OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
3 * Copyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/ | 3 * Copyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/ |
4 * Copyright (C) 2010 Google, Inc. All Rights Reserved. | 4 * Copyright (C) 2010 Google, Inc. All Rights Reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 11 matching lines...) Expand all Loading... |
22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 */ | 26 */ |
27 | 27 |
28 #include "config.h" | 28 #include "config.h" |
29 #include "HTMLTokenizer.h" | 29 #include "HTMLTokenizer.h" |
30 | 30 |
31 #include "HTMLEntityParser.h" | 31 #include "HTMLEntityParser.h" |
| 32 #include "HTMLNames.h" |
32 #include "HTMLToken.h" | 33 #include "HTMLToken.h" |
33 #include "HTMLTreeBuilder.h" | 34 #include "HTMLTreeBuilder.h" |
34 #include "HTMLNames.h" | |
35 #include "MarkupTokenizerInlines.h" | 35 #include "MarkupTokenizerInlines.h" |
36 #include "NotImplemented.h" | 36 #include "core/platform/NotImplemented.h" |
37 #include <wtf/ASCIICType.h> | 37 #include <wtf/ASCIICType.h> |
38 #include <wtf/CurrentTime.h> | 38 #include <wtf/CurrentTime.h> |
39 #include <wtf/UnusedParam.h> | |
40 #include <wtf/text/AtomicString.h> | 39 #include <wtf/text/AtomicString.h> |
41 #include <wtf/text/CString.h> | 40 #include <wtf/text/CString.h> |
42 #include <wtf/unicode/Unicode.h> | 41 #include <wtf/unicode/Unicode.h> |
| 42 #include <wtf/UnusedParam.h> |
43 | 43 |
44 using namespace WTF; | 44 using namespace WTF; |
45 | 45 |
46 namespace WebCore { | 46 namespace WebCore { |
47 | 47 |
48 using namespace HTMLNames; | 48 using namespace HTMLNames; |
49 | 49 |
50 // This has to go in a .cpp file, as the linker doesn't like it being included m
ore than once. | 50 // This has to go in a .cpp file, as the linker doesn't like it being included m
ore than once. |
51 // We don't have an HTMLToken.cpp though, so this is the next best place. | 51 // We don't have an HTMLToken.cpp though, so this is the next best place. |
52 QualifiedName AtomicHTMLToken::nameForAttribute(const HTMLToken::Attribute& attr
ibute) const | 52 QualifiedName AtomicHTMLToken::nameForAttribute(const HTMLToken::Attribute& attr
ibute) const |
(...skipping 1589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1642 | 1642 |
1643 return true; | 1643 return true; |
1644 } | 1644 } |
1645 | 1645 |
1646 inline void HTMLTokenizer::parseError() | 1646 inline void HTMLTokenizer::parseError() |
1647 { | 1647 { |
1648 notImplemented(); | 1648 notImplemented(); |
1649 } | 1649 } |
1650 | 1650 |
1651 } | 1651 } |
OLD | NEW |