| 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) 2010 Google Inc. All Rights Reserved. | 3 * Copyright (C) 2010 Google Inc. All Rights Reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #ifndef HTMLPreloadScanner_h | 27 #ifndef HTMLPreloadScanner_h |
| 28 #define HTMLPreloadScanner_h | 28 #define HTMLPreloadScanner_h |
| 29 | 29 |
| 30 #include "core/html/parser/CSSPreloadScanner.h" | 30 #include "core/html/parser/CSSPreloadScanner.h" |
| 31 #include "core/html/parser/CompactHTMLToken.h" | 31 #include "core/html/parser/CompactHTMLToken.h" |
| 32 #include "core/html/parser/HTMLToken.h" | 32 #include "core/html/parser/HTMLToken.h" |
| 33 #include "core/platform/text/SegmentedString.h" | 33 #include "core/platform/text/SegmentedString.h" |
| 34 #include <wtf/Vector.h> | 34 #include "wtf/Vector.h" |
| 35 | 35 |
| 36 namespace WebCore { | 36 namespace WebCore { |
| 37 | 37 |
| 38 typedef size_t TokenPreloadScannerCheckpoint; | 38 typedef size_t TokenPreloadScannerCheckpoint; |
| 39 | 39 |
| 40 class HTMLParserOptions; | 40 class HTMLParserOptions; |
| 41 class HTMLTokenizer; | 41 class HTMLTokenizer; |
| 42 class SegmentedString; | 42 class SegmentedString; |
| 43 | 43 |
| 44 class TokenPreloadScanner { | 44 class TokenPreloadScanner { |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 private: | 106 private: |
| 107 TokenPreloadScanner m_scanner; | 107 TokenPreloadScanner m_scanner; |
| 108 SegmentedString m_source; | 108 SegmentedString m_source; |
| 109 HTMLToken m_token; | 109 HTMLToken m_token; |
| 110 OwnPtr<HTMLTokenizer> m_tokenizer; | 110 OwnPtr<HTMLTokenizer> m_tokenizer; |
| 111 }; | 111 }; |
| 112 | 112 |
| 113 } | 113 } |
| 114 | 114 |
| 115 #endif | 115 #endif |
| OLD | NEW |