| 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 HTMLToken_h | 26 #ifndef HTMLToken_h |
| 27 #define HTMLToken_h | 27 #define HTMLToken_h |
| 28 | 28 |
| 29 #include "core/dom/Attribute.h" | 29 #include "core/dom/Attribute.h" |
| 30 #include "core/html/parser/HTMLParserIdioms.h" | 30 #include "core/html/parser/HTMLParserIdioms.h" |
| 31 #include "wtf/Forward.h" |
| 31 #include "wtf/PassOwnPtr.h" | 32 #include "wtf/PassOwnPtr.h" |
| 32 #include "wtf/RefCounted.h" | |
| 33 #include "wtf/RefPtr.h" | |
| 34 | 33 |
| 35 namespace blink { | 34 namespace blink { |
| 36 | 35 |
| 37 class DoctypeData { | 36 class DoctypeData { |
| 38 USING_FAST_MALLOC(DoctypeData); | 37 USING_FAST_MALLOC(DoctypeData); |
| 39 WTF_MAKE_NONCOPYABLE(DoctypeData); | 38 WTF_MAKE_NONCOPYABLE(DoctypeData); |
| 40 public: | 39 public: |
| 41 DoctypeData() | 40 DoctypeData() |
| 42 : m_hasPublicIdentifier(false) | 41 : m_hasPublicIdentifier(false) |
| 43 , m_hasSystemIdentifier(false) | 42 , m_hasSystemIdentifier(false) |
| (...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 // A pointer into m_attributes used during lexing. | 471 // A pointer into m_attributes used during lexing. |
| 473 Attribute* m_currentAttribute; | 472 Attribute* m_currentAttribute; |
| 474 | 473 |
| 475 // For DOCTYPE | 474 // For DOCTYPE |
| 476 OwnPtr<DoctypeData> m_doctypeData; | 475 OwnPtr<DoctypeData> m_doctypeData; |
| 477 }; | 476 }; |
| 478 | 477 |
| 479 } // namespace blink | 478 } // namespace blink |
| 480 | 479 |
| 481 #endif | 480 #endif |
| OLD | NEW |