OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google, Inc. All Rights Reserved. | 2 * Copyright (C) 2013 Google, Inc. All Rights Reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 10 matching lines...) Expand all Loading... |
21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #ifndef CompactHTMLToken_h | 26 #ifndef CompactHTMLToken_h |
27 #define CompactHTMLToken_h | 27 #define CompactHTMLToken_h |
28 | 28 |
29 #include "core/html/parser/HTMLIdentifier.h" | 29 #include "core/html/parser/HTMLIdentifier.h" |
30 #include "core/html/parser/HTMLToken.h" | 30 #include "core/html/parser/HTMLToken.h" |
31 #include <wtf/OwnPtr.h> | |
32 #include <wtf/PassOwnPtr.h> | |
33 #include <wtf/RefCounted.h> | |
34 #include <wtf/RefPtr.h> | |
35 #include <wtf/text/TextPosition.h> | 31 #include <wtf/text/TextPosition.h> |
36 #include <wtf/text/WTFString.h> | 32 #include <wtf/text/WTFString.h> |
37 #include <wtf/Vector.h> | 33 #include <wtf/Vector.h> |
38 | 34 |
39 namespace WebCore { | 35 namespace WebCore { |
40 | 36 |
41 class QualifiedName; | 37 class QualifiedName; |
42 | 38 |
43 class CompactHTMLToken { | 39 class CompactHTMLToken { |
44 public: | 40 public: |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 HTMLIdentifier m_data; // "name", "characters", or "data" depending on m_typ
e | 76 HTMLIdentifier m_data; // "name", "characters", or "data" depending on m_typ
e |
81 Vector<Attribute> m_attributes; | 77 Vector<Attribute> m_attributes; |
82 TextPosition m_textPosition; | 78 TextPosition m_textPosition; |
83 }; | 79 }; |
84 | 80 |
85 typedef Vector<CompactHTMLToken> CompactHTMLTokenStream; | 81 typedef Vector<CompactHTMLToken> CompactHTMLTokenStream; |
86 | 82 |
87 } | 83 } |
88 | 84 |
89 #endif | 85 #endif |
OLD | NEW |