| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 static PassOwnPtr<CachedDocumentParameters> create(Document* document, PassR
efPtr<MediaValues> mediaValues = nullptr) | 49 static PassOwnPtr<CachedDocumentParameters> create(Document* document, PassR
efPtr<MediaValues> mediaValues = nullptr) |
| 50 { | 50 { |
| 51 return adoptPtr(new CachedDocumentParameters(document, mediaValues)); | 51 return adoptPtr(new CachedDocumentParameters(document, mediaValues)); |
| 52 } | 52 } |
| 53 | 53 |
| 54 bool doHtmlPreloadScanning; |
| 54 RefPtr<MediaValues> mediaValues; | 55 RefPtr<MediaValues> mediaValues; |
| 55 Length defaultViewportMinWidth; | 56 Length defaultViewportMinWidth; |
| 56 bool viewportMetaZeroValuesQuirk; | 57 bool viewportMetaZeroValuesQuirk; |
| 57 bool viewportMetaEnabled; | 58 bool viewportMetaEnabled; |
| 58 | 59 |
| 59 private: | 60 private: |
| 60 CachedDocumentParameters(Document*, PassRefPtr<MediaValues>); | 61 CachedDocumentParameters(Document*, PassRefPtr<MediaValues>); |
| 61 }; | 62 }; |
| 62 | 63 |
| 63 class TokenPreloadScanner { | 64 class TokenPreloadScanner { |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 private: | 142 private: |
| 142 TokenPreloadScanner m_scanner; | 143 TokenPreloadScanner m_scanner; |
| 143 SegmentedString m_source; | 144 SegmentedString m_source; |
| 144 HTMLToken m_token; | 145 HTMLToken m_token; |
| 145 OwnPtr<HTMLTokenizer> m_tokenizer; | 146 OwnPtr<HTMLTokenizer> m_tokenizer; |
| 146 }; | 147 }; |
| 147 | 148 |
| 148 } | 149 } |
| 149 | 150 |
| 150 #endif | 151 #endif |
| OLD | NEW |