| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 RefPtr<MediaValues> mediaValues; | 54 RefPtr<MediaValues> mediaValues; |
| 55 Length defaultViewportMinWidth; | 55 Length defaultViewportMinWidth; |
| 56 bool viewportMetaZeroValuesQuirk; | 56 bool viewportMetaZeroValuesQuirk; |
| 57 bool viewportMetaEnabled; |
| 57 | 58 |
| 58 private: | 59 private: |
| 59 CachedDocumentParameters(Document*, PassRefPtr<MediaValues>); | 60 CachedDocumentParameters(Document*, PassRefPtr<MediaValues>); |
| 60 }; | 61 }; |
| 61 | 62 |
| 62 class TokenPreloadScanner { | 63 class TokenPreloadScanner { |
| 63 WTF_MAKE_NONCOPYABLE(TokenPreloadScanner); WTF_MAKE_FAST_ALLOCATED(TokenPrel
oadScanner); | 64 WTF_MAKE_NONCOPYABLE(TokenPreloadScanner); WTF_MAKE_FAST_ALLOCATED(TokenPrel
oadScanner); |
| 64 public: | 65 public: |
| 65 TokenPreloadScanner(const KURL& documentURL, PassOwnPtr<CachedDocumentParame
ters>); | 66 TokenPreloadScanner(const KURL& documentURL, PassOwnPtr<CachedDocumentParame
ters>); |
| 66 ~TokenPreloadScanner(); | 67 ~TokenPreloadScanner(); |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 private: | 141 private: |
| 141 TokenPreloadScanner m_scanner; | 142 TokenPreloadScanner m_scanner; |
| 142 SegmentedString m_source; | 143 SegmentedString m_source; |
| 143 HTMLToken m_token; | 144 HTMLToken m_token; |
| 144 OwnPtr<HTMLTokenizer> m_tokenizer; | 145 OwnPtr<HTMLTokenizer> m_tokenizer; |
| 145 }; | 146 }; |
| 146 | 147 |
| 147 } | 148 } |
| 148 | 149 |
| 149 #endif | 150 #endif |
| OLD | NEW |