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 26 matching lines...) Expand all Loading... |
37 #include "wtf/PtrUtil.h" | 37 #include "wtf/PtrUtil.h" |
38 #include "wtf/Vector.h" | 38 #include "wtf/Vector.h" |
39 #include <memory> | 39 #include <memory> |
40 | 40 |
41 namespace blink { | 41 namespace blink { |
42 | 42 |
43 typedef size_t TokenPreloadScannerCheckpoint; | 43 typedef size_t TokenPreloadScannerCheckpoint; |
44 | 44 |
45 class HTMLParserOptions; | 45 class HTMLParserOptions; |
46 class HTMLTokenizer; | 46 class HTMLTokenizer; |
| 47 class ResourcePreloader; |
47 class SegmentedString; | 48 class SegmentedString; |
48 | 49 |
49 struct ViewportDescriptionWrapper { | 50 struct ViewportDescriptionWrapper { |
50 ViewportDescription description; | 51 ViewportDescription description; |
51 bool set; | 52 bool set; |
52 ViewportDescriptionWrapper() | 53 ViewportDescriptionWrapper() |
53 : set(false) | 54 : set(false) |
54 { | 55 { |
55 } | 56 } |
56 }; | 57 }; |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 | 170 |
170 TokenPreloadScanner m_scanner; | 171 TokenPreloadScanner m_scanner; |
171 SegmentedString m_source; | 172 SegmentedString m_source; |
172 HTMLToken m_token; | 173 HTMLToken m_token; |
173 std::unique_ptr<HTMLTokenizer> m_tokenizer; | 174 std::unique_ptr<HTMLTokenizer> m_tokenizer; |
174 }; | 175 }; |
175 | 176 |
176 } // namespace blink | 177 } // namespace blink |
177 | 178 |
178 #endif | 179 #endif |
OLD | NEW |