Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h

Issue 1819593002: Preload scan external css for @import (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 25 matching lines...) Expand all
36 #include "platform/text/SegmentedString.h" 36 #include "platform/text/SegmentedString.h"
37 #include "wtf/RefCounted.h" 37 #include "wtf/RefCounted.h"
38 #include "wtf/Vector.h" 38 #include "wtf/Vector.h"
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 ResourcePreloader;
46 class SegmentedString; 47 class SegmentedString;
47 48
48 struct ViewportDescriptionWrapper { 49 struct ViewportDescriptionWrapper {
49 ViewportDescription description; 50 ViewportDescription description;
50 bool set; 51 bool set;
51 ViewportDescriptionWrapper() 52 ViewportDescriptionWrapper()
52 : set(false) 53 : set(false)
53 { 54 {
54 } 55 }
55 }; 56 };
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 163
163 TokenPreloadScanner m_scanner; 164 TokenPreloadScanner m_scanner;
164 SegmentedString m_source; 165 SegmentedString m_source;
165 HTMLToken m_token; 166 HTMLToken m_token;
166 OwnPtr<HTMLTokenizer> m_tokenizer; 167 OwnPtr<HTMLTokenizer> m_tokenizer;
167 }; 168 };
168 169
169 } // namespace blink 170 } // namespace blink
170 171
171 #endif 172 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698