| 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 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| 42 typedef size_t TokenPreloadScannerCheckpoint; | 42 typedef size_t TokenPreloadScannerCheckpoint; |
| 43 | 43 |
| 44 class HTMLParserOptions; | 44 class HTMLParserOptions; |
| 45 class HTMLTokenizer; | 45 class HTMLTokenizer; |
| 46 class SegmentedString; | 46 class SegmentedString; |
| 47 | 47 |
| 48 struct CORE_EXPORT CachedDocumentParameters { | 48 struct CORE_EXPORT CachedDocumentParameters { |
| 49 WTF_MAKE_FAST_ALLOCATED(CachedDocumentParameters); |
| 50 public: |
| 49 static PassOwnPtr<CachedDocumentParameters> create(Document* document, PassR
efPtrWillBeRawPtr<MediaValues> mediaValues = nullptr) | 51 static PassOwnPtr<CachedDocumentParameters> create(Document* document, PassR
efPtrWillBeRawPtr<MediaValues> mediaValues = nullptr) |
| 50 { | 52 { |
| 51 return adoptPtr(new CachedDocumentParameters(document, mediaValues)); | 53 return adoptPtr(new CachedDocumentParameters(document, mediaValues)); |
| 52 } | 54 } |
| 53 | 55 |
| 54 bool doHtmlPreloadScanning; | 56 bool doHtmlPreloadScanning; |
| 55 RefPtrWillBeCrossThreadPersistent<MediaValues> mediaValues; | 57 RefPtrWillBeCrossThreadPersistent<MediaValues> mediaValues; |
| 56 Length defaultViewportMinWidth; | 58 Length defaultViewportMinWidth; |
| 57 bool viewportMetaZeroValuesQuirk; | 59 bool viewportMetaZeroValuesQuirk; |
| 58 bool viewportMetaEnabled; | 60 bool viewportMetaEnabled; |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 private: | 158 private: |
| 157 TokenPreloadScanner m_scanner; | 159 TokenPreloadScanner m_scanner; |
| 158 SegmentedString m_source; | 160 SegmentedString m_source; |
| 159 HTMLToken m_token; | 161 HTMLToken m_token; |
| 160 OwnPtr<HTMLTokenizer> m_tokenizer; | 162 OwnPtr<HTMLTokenizer> m_tokenizer; |
| 161 }; | 163 }; |
| 162 | 164 |
| 163 } | 165 } |
| 164 | 166 |
| 165 #endif | 167 #endif |
| OLD | NEW |